GE Lua Documentation

Press F to search!

create

Definition


-- @/lua/ge/extensions/core/jobsystem.lua:43

-- create a job, maxdt is in milliseconds
local function create(fct, maxdt, ...)
  if disableBackgroundTasks then
    -- runs things in the foreground
    fct({yield = function() end, sleep = function() end}, unpack({...}))
    return
  end
  local res =  {
    fct = fct,
    t = coroutine.create(fct),
    maxdt = maxdt or 0.01,
    args = {...},
    hp = hptimer(),
  }
  runningFct[fct] = true
  res.yield = function()
    if coroutine.running() == nil then return end -- not running in a coroutine, do not try to yield
    local dt = res.hp:stop() / 1000
    if dt > res.maxdt then
      --print(" *** yield taken ***: " .. tostring(dt))
      coroutine.yield()
      res.hp:reset()
    else
      --print("*** yield skipped: " .. tostring(dt))
    end
  end
  res.sleep = function(secs)
    if coroutine.running() == nil then return end -- not running in a coroutine
    res.hp:reset()
    repeat
      coroutine.yield()
      local dt = res.hp:stop() / 1000
      if dt >= secs then break end
    until false
  end

  res.setExitCallback = function(fct)
    res.exitcbl = fct
  end

  res.running = true

  table.insert(coroutines, res)
  -- return an object they can work with
  return res
end

Callers

@/lua/ge/extensions/gameplay/markers/driftLineMarker.lua

local function create(...)
  local o = {}
@/lua/ge/extensions/editor/dynamicDecals/settings.lua
    -- for some reason we need to delay getting the shape names for the vehicle, otherwise they aren't ready
    core_jobsystem.create(updateShapeMeshesJob, 1)
  end
@/lua/ge/extensions/editor/gen/world.lua
	end
	core_jobsystem.create(cb, nil, nil, nil, nil)
end
@/inspector/Views/InlineSwatch.js

            this._valueEditor.codeMirror = WI.CodeMirrorEditor.create(this._valueEditor.element, {
                mode: "css",
@/lua/ge/extensions/editor/assetDeduplicator.lua
      jobData.jobLaunchedThisSession = jobLaunchedThisSession
      generateLinksJob = extensions.core_jobsystem.create(generateLinks, 1, jobData)
      im.CloseCurrentPopup()
      jobData.gameVersion = gameVersion
      generateCacheJob = extensions.core_jobsystem.create(generateCache, 1, jobData)
      jobLaunchedThisSession = true
        jobData.mode = selectedMode[0]
        compareFilesJob = extensions.core_jobsystem.create(compareFiles, 1, jobData)
      end
@/lua/ge/extensions/gameplay/drift/display.lua
local function onDriftSpotCompleted(data)
  core_jobsystem.create(function(job)
    rtMessage(string.format(data.newRecord and "New record! Score: %i" or "Drift zone finished! Score: %i", data.score))
local function onDriftSpotFailed(data)
  core_jobsystem.create(function(job)
    rtMessage(data.reason.msg)
@/lua/ge/extensions/util/resaveMaterials.lua
  settings.setValue("WinConsoleLogBlacklist", "DA")
  extensions.core_jobsystem.create(work, 1) -- yield every second, good for background tasks
end
@/lua/ge/extensions/ui/appSelector/general.lua
-- Instances
local displayDataInstance = displayDataModule.create("/settings/appSelectorData.json", defaultDisplayDataOptions, updateDisplayData, backendName, 1)
local buttonInstance = buttonModule.create()
local displayDataInstance = displayDataModule.create("/settings/appSelectorData.json", defaultDisplayDataOptions, updateDisplayData, backendName, 1)
local buttonInstance = buttonModule.create()
  -- Initialize filters with the app data
  local filterInstance = filterModule.create(createFilters, {}, rangeFilters, {},backendName, passesFiltersFunction)
  filterInstance.initializeFilters(apps)
@/lua/vehicle/extensions/dynamicVehicleData.lua
  workerCoroutine =
    coroutine.create(
    function()
@/lua/ge/extensions/editor/mainMenu.lua
  if editor.safeMode then
    --core_jobsystem.create(openSafeModePopupJob)
    openSafeModePopup = true
@/lua/vehicle/extensions/tech/tyreBarrier.lua

local function create(data)
@/inspector/Views/URLBreakpointPopover.js

        this._codeMirror = WI.CodeMirrorEditor.create(editorElement, {
            lineWrapping: false,
@/lua/ge/extensions/gameplay/markers/zoneMarker.lua

local function create(...)
  local o = {}
@/lua/vehicle/controller/sbrGauges.lua
    if htmlPath then
      htmlTexture.create(gaugesScreenName, htmlPath, width, height, updateFPS, "automatic")
      htmlTexture.call(gaugesScreenName, "setUnits", {unitType = unitType})
@/lua/ge/extensions/editor/sitesEditor/parkingSpots.lua
  end
  local ps = data.list:create()

function C:create(pos)
  editor.history:commitAction("Create Parking Spot",
@/inspector/Views/DashboardView.js

    static create(representedObject)
    {
@/lua/ge/extensions/editor/flowgraphEditor.lua

  main = require('/lua/ge/extensions/editor/flowgraph/main').create(M)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/overview').create(M))
  main = require('/lua/ge/extensions/editor/flowgraph/main').create(M)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/overview').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/stateView').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/overview').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/stateView').create(M))
  eventView = require('/lua/ge/extensions/editor/flowgraph/events').create(M)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/stateView').create(M))
  eventView = require('/lua/ge/extensions/editor/flowgraph/events').create(M)
  table.insert(windows, eventView)
  table.insert(windows, eventView)
  local examples = require('/lua/ge/extensions/editor/flowgraph/examples').create(M)
  table.insert(windows, examples)
  table.insert(windows, examples)
  properties = require('/lua/ge/extensions/editor/flowgraph/properties').create(M)
  table.insert(windows, properties)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/variables').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/projectSettings').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/variables').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/projectSettings').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/history').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/projectSettings').create(M))
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/history').create(M))
  welcome = require('/lua/ge/extensions/editor/flowgraph/welcome').create(M)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/history').create(M))
  welcome = require('/lua/ge/extensions/editor/flowgraph/welcome').create(M)
  welcome.examples = examples

  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/nodelibrary').create(M))
  executionView = require('/lua/ge/extensions/editor/flowgraph/execution').create(M)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/nodelibrary').create(M))
  executionView = require('/lua/ge/extensions/editor/flowgraph/execution').create(M)
  table.insert(windows, executionView )
  table.insert(windows, executionView )
  search = require('/lua/ge/extensions/editor/flowgraph/search').create(M)
  table.insert(windows, search)
  table.insert(windows, search)
  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/references').create(M))
  table.sort( windows, function (a,b) return a.windowDescription < b.windowDescription end)

  M.nodelib = require('/lua/ge/extensions/editor/flowgraph/nodelibrary').create(M)
  M.nodelib:setStatic()
  M.nodelib:setStatic()
  M.nodePreviewPopup = require('/lua/ge/extensions/editor/flowgraph/nodePreview').create(M)

  table.insert(windows, require('/lua/ge/extensions/editor/flowgraph/garbageDebug').create(M))
@/inspector/Views/SourceCodeTextEditor.js

            let codeMirror = WI.CodeMirrorEditor.create(wrapper, {
                mode: "text/javascript",
@/ui/ui-vue/src/services/tempStorage.js
const
  tempStore = Object.create(null),
  freeIds = []
@/lua/ge/extensions/editor/assetManagementTool.lua
    editor.openModalWindow(searchAllDuplicatesDlg)
    core_jobsystem.create(searchGameForAllDuplicatesJob)
  end
    editor.openModalWindow(searchDuplicatesDlg)
    core_jobsystem.create(searchDuplicatesForList)
  end
      editor.openModalWindow(migrationDlg)
      core_jobsystem.create(migrateAssetsJob)
    end
    editor.openModalWindow(checkForInvalidLinksDlg)
    core_jobsystem.create(checkForInvalidLinksJob)
  end
      editor.openModalWindow(tryFixingInvalidLinksDlg)
      core_jobsystem.create(tryFixingInvalidLinks)
    end
    editor.openModalWindow(checkForInvalidFilenamesDlg)
    core_jobsystem.create(checkForInvalidFilenamesJob)
  end
    editor.openModalWindow(delinkerDlg)
    core_jobsystem.create(delinkerJob)
  end
    editor.openModalWindow(relinkerDlg)
    core_jobsystem.create(relinkerJob)
  end
@/lua/ge/extensions/gameplay/crashTest/scenarioManager.lua
local function goToNextStep()
  core_jobsystem.create(fadeToBlack, 1, callbackOne, callbackTwo)
end

  core_jobsystem.create(delayedShowStepScoreJob)
end
@/inspector/External/three.js/OrbitControls.js

THREE.OrbitControls.prototype = Object.create( THREE.EventDispatcher.prototype );
THREE.OrbitControls.prototype.constructor = THREE.OrbitControls;
@/lua/ge/extensions/ui/gridSelectorUtils/filterModule.lua
-- Constructor function
function M.create(createFiltersFunction, commonFilters, rangeFilters, dictFilters, backendName, customPassesFiltersFunction)
  local instance = {}
@/lua/ge/extensions/editor/raceEditor/startPositions.lua
      function(data)
        local sp = data.self.path.startPositions:create(nil, data.spid or nil)
        sp:set(data.mouseInfo._downPos,
          function(data)
            local sp = data.self.path.startPositions:create(nil, data.old.oldId or nil)
            sp:onDeserialized(data.old)
@/lua/ge/extensions/gameplay/drift/freeroam/driftSpots.lua
  -- we need to delay the updateTaskList call otherwise it doesn't show
  core_jobsystem.create(delayedUpdateTaskList, 1)
end
local function properEnd()
  core_jobsystem.create(function(job)
    isInTheConcludingPhase = true

  core_jobsystem.create(function(job)
    isInTheConcludingPhase = true
@/lua/ge/extensions/flowgraph/modules/missionReplayModule.lua

  core_jobsystem.create(function(job)
    job.sleep(0.1)
@/lua/ge/extensions/ui/gridSelectorUtils/displayDataModule.lua
-- Constructor function
function M.create(dataFile, displayDataOptions, updateDisplayDataFunction, backendName, targetVersion)
  local instance = {}
@/lua/ge/extensions/gameplay/markers/invisibleTrigger.lua

local function create(...)
  local o = {}
@/lua/ge/extensions/core/funstuff.lua
  -- Create a job to remove the planet after 1 second
  core_jobsystem.create(function(job, dtTable)
    be:queueAllObjectLua(command)
@/inspector/External/three.js/three.js

    Texture.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

    WebGLRenderTarget.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

    WebGLRenderTargetCube.prototype = Object.create( WebGLRenderTarget.prototype );
    WebGLRenderTargetCube.prototype.constructor = WebGLRenderTargetCube;

    DataTexture.prototype = Object.create( Texture.prototype );
    DataTexture.prototype.constructor = DataTexture;

    Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

    Camera.prototype = Object.assign( Object.create( Object3D.prototype ), {

    OrthographicCamera.prototype = Object.assign( Object.create( Camera.prototype ), {

    Geometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

             var geometry = Object.create( this.constructor.prototype );
             this.constructor.apply( geometry, values );

    Int8BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Int8BufferAttribute.prototype.constructor = Int8BufferAttribute;

    Uint8BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Uint8BufferAttribute.prototype.constructor = Uint8BufferAttribute;

    Uint8ClampedBufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Uint8ClampedBufferAttribute.prototype.constructor = Uint8ClampedBufferAttribute;

    Int16BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Int16BufferAttribute.prototype.constructor = Int16BufferAttribute;

    Uint16BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Uint16BufferAttribute.prototype.constructor = Uint16BufferAttribute;

    Int32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Int32BufferAttribute.prototype.constructor = Int32BufferAttribute;

    Uint32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Uint32BufferAttribute.prototype.constructor = Uint32BufferAttribute;

    Float32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Float32BufferAttribute.prototype.constructor = Float32BufferAttribute;

    Float64BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
    Float64BufferAttribute.prototype.constructor = Float64BufferAttribute;

    BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

             var geometry = Object.create( this.constructor.prototype );
             this.constructor.apply( geometry, values );

    BoxGeometry.prototype = Object.create( Geometry.prototype );
    BoxGeometry.prototype.constructor = BoxGeometry;

    BoxBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    BoxBufferGeometry.prototype.constructor = BoxBufferGeometry;

    PlaneGeometry.prototype = Object.create( Geometry.prototype );
    PlaneGeometry.prototype.constructor = PlaneGeometry;

    PlaneBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    PlaneBufferGeometry.prototype.constructor = PlaneBufferGeometry;

    Material.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {

    MeshBasicMaterial.prototype = Object.create( Material.prototype );
    MeshBasicMaterial.prototype.constructor = MeshBasicMaterial;

    ShaderMaterial.prototype = Object.create( Material.prototype );
    ShaderMaterial.prototype.constructor = ShaderMaterial;

    Mesh.prototype = Object.assign( Object.create( Object3D.prototype ), {

    CubeTexture.prototype = Object.create( Texture.prototype );
    CubeTexture.prototype.constructor = CubeTexture;

    MeshDepthMaterial.prototype = Object.create( Material.prototype );
    MeshDepthMaterial.prototype.constructor = MeshDepthMaterial;

    MeshDistanceMaterial.prototype = Object.create( Material.prototype );
    MeshDistanceMaterial.prototype.constructor = MeshDistanceMaterial;

    CanvasTexture.prototype = Object.create( Texture.prototype );
    CanvasTexture.prototype.constructor = CanvasTexture;

    Group.prototype = Object.assign( Object.create( Object3D.prototype ), {

    PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ), {

    ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {

    Scene.prototype = Object.assign( Object.create( Object3D.prototype ), {

    SpriteMaterial.prototype = Object.create( Material.prototype );
    SpriteMaterial.prototype.constructor = SpriteMaterial;

    Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {

    LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {

    Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {

    SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {

    LineBasicMaterial.prototype = Object.create( Material.prototype );
    LineBasicMaterial.prototype.constructor = LineBasicMaterial;

    Line.prototype = Object.assign( Object.create( Object3D.prototype ), {

    LineSegments.prototype = Object.assign( Object.create( Line.prototype ), {

    LineLoop.prototype = Object.assign( Object.create( Line.prototype ), {

    PointsMaterial.prototype = Object.create( Material.prototype );
    PointsMaterial.prototype.constructor = PointsMaterial;

    Points.prototype = Object.assign( Object.create( Object3D.prototype ), {

    VideoTexture.prototype = Object.assign( Object.create( Texture.prototype ), {

    CompressedTexture.prototype = Object.create( Texture.prototype );
    CompressedTexture.prototype.constructor = CompressedTexture;

    DepthTexture.prototype = Object.create( Texture.prototype );
    DepthTexture.prototype.constructor = DepthTexture;

    WireframeGeometry.prototype = Object.create( BufferGeometry.prototype );
    WireframeGeometry.prototype.constructor = WireframeGeometry;

    ParametricGeometry.prototype = Object.create( Geometry.prototype );
    ParametricGeometry.prototype.constructor = ParametricGeometry;

    ParametricBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    ParametricBufferGeometry.prototype.constructor = ParametricBufferGeometry;

    PolyhedronGeometry.prototype = Object.create( Geometry.prototype );
    PolyhedronGeometry.prototype.constructor = PolyhedronGeometry;

    PolyhedronBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    PolyhedronBufferGeometry.prototype.constructor = PolyhedronBufferGeometry;

    TetrahedronGeometry.prototype = Object.create( Geometry.prototype );
    TetrahedronGeometry.prototype.constructor = TetrahedronGeometry;

    TetrahedronBufferGeometry.prototype = Object.create( PolyhedronBufferGeometry.prototype );
    TetrahedronBufferGeometry.prototype.constructor = TetrahedronBufferGeometry;

    OctahedronGeometry.prototype = Object.create( Geometry.prototype );
    OctahedronGeometry.prototype.constructor = OctahedronGeometry;

    OctahedronBufferGeometry.prototype = Object.create( PolyhedronBufferGeometry.prototype );
    OctahedronBufferGeometry.prototype.constructor = OctahedronBufferGeometry;

    IcosahedronGeometry.prototype = Object.create( Geometry.prototype );
    IcosahedronGeometry.prototype.constructor = IcosahedronGeometry;

    IcosahedronBufferGeometry.prototype = Object.create( PolyhedronBufferGeometry.prototype );
    IcosahedronBufferGeometry.prototype.constructor = IcosahedronBufferGeometry;

    DodecahedronGeometry.prototype = Object.create( Geometry.prototype );
    DodecahedronGeometry.prototype.constructor = DodecahedronGeometry;

    DodecahedronBufferGeometry.prototype = Object.create( PolyhedronBufferGeometry.prototype );
    DodecahedronBufferGeometry.prototype.constructor = DodecahedronBufferGeometry;

    TubeGeometry.prototype = Object.create( Geometry.prototype );
    TubeGeometry.prototype.constructor = TubeGeometry;

    TubeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    TubeBufferGeometry.prototype.constructor = TubeBufferGeometry;

    TorusKnotGeometry.prototype = Object.create( Geometry.prototype );
    TorusKnotGeometry.prototype.constructor = TorusKnotGeometry;

    TorusKnotBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    TorusKnotBufferGeometry.prototype.constructor = TorusKnotBufferGeometry;

    TorusGeometry.prototype = Object.create( Geometry.prototype );
    TorusGeometry.prototype.constructor = TorusGeometry;

    TorusBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    TorusBufferGeometry.prototype.constructor = TorusBufferGeometry;

    ExtrudeGeometry.prototype = Object.create( Geometry.prototype );
    ExtrudeGeometry.prototype.constructor = ExtrudeGeometry;

    ExtrudeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    ExtrudeBufferGeometry.prototype.constructor = ExtrudeBufferGeometry;

    TextGeometry.prototype = Object.create( Geometry.prototype );
    TextGeometry.prototype.constructor = TextGeometry;

    TextBufferGeometry.prototype = Object.create( ExtrudeBufferGeometry.prototype );
    TextBufferGeometry.prototype.constructor = TextBufferGeometry;

    SphereGeometry.prototype = Object.create( Geometry.prototype );
    SphereGeometry.prototype.constructor = SphereGeometry;

    SphereBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    SphereBufferGeometry.prototype.constructor = SphereBufferGeometry;

    RingGeometry.prototype = Object.create( Geometry.prototype );
    RingGeometry.prototype.constructor = RingGeometry;

    RingBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    RingBufferGeometry.prototype.constructor = RingBufferGeometry;

    LatheGeometry.prototype = Object.create( Geometry.prototype );
    LatheGeometry.prototype.constructor = LatheGeometry;

    LatheBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    LatheBufferGeometry.prototype.constructor = LatheBufferGeometry;

    ShapeGeometry.prototype = Object.create( Geometry.prototype );
    ShapeGeometry.prototype.constructor = ShapeGeometry;

    ShapeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    ShapeBufferGeometry.prototype.constructor = ShapeBufferGeometry;

    EdgesGeometry.prototype = Object.create( BufferGeometry.prototype );
    EdgesGeometry.prototype.constructor = EdgesGeometry;

    CylinderGeometry.prototype = Object.create( Geometry.prototype );
    CylinderGeometry.prototype.constructor = CylinderGeometry;

    CylinderBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    CylinderBufferGeometry.prototype.constructor = CylinderBufferGeometry;

    ConeGeometry.prototype = Object.create( CylinderGeometry.prototype );
    ConeGeometry.prototype.constructor = ConeGeometry;

    ConeBufferGeometry.prototype = Object.create( CylinderBufferGeometry.prototype );
    ConeBufferGeometry.prototype.constructor = ConeBufferGeometry;

    CircleGeometry.prototype = Object.create( Geometry.prototype );
    CircleGeometry.prototype.constructor = CircleGeometry;

    CircleBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
    CircleBufferGeometry.prototype.constructor = CircleBufferGeometry;

    ShadowMaterial.prototype = Object.create( Material.prototype );
    ShadowMaterial.prototype.constructor = ShadowMaterial;

    RawShaderMaterial.prototype = Object.create( ShaderMaterial.prototype );
    RawShaderMaterial.prototype.constructor = RawShaderMaterial;

    MeshStandardMaterial.prototype = Object.create( Material.prototype );
    MeshStandardMaterial.prototype.constructor = MeshStandardMaterial;

    MeshPhysicalMaterial.prototype = Object.create( MeshStandardMaterial.prototype );
    MeshPhysicalMaterial.prototype.constructor = MeshPhysicalMaterial;

    MeshPhongMaterial.prototype = Object.create( Material.prototype );
    MeshPhongMaterial.prototype.constructor = MeshPhongMaterial;

    MeshToonMaterial.prototype = Object.create( MeshPhongMaterial.prototype );
    MeshToonMaterial.prototype.constructor = MeshToonMaterial;

    MeshNormalMaterial.prototype = Object.create( Material.prototype );
    MeshNormalMaterial.prototype.constructor = MeshNormalMaterial;

    MeshLambertMaterial.prototype = Object.create( Material.prototype );
    MeshLambertMaterial.prototype.constructor = MeshLambertMaterial;

    LineDashedMaterial.prototype = Object.create( LineBasicMaterial.prototype );
    LineDashedMaterial.prototype.constructor = LineDashedMaterial;

    EllipseCurve.prototype = Object.create( Curve.prototype );
    EllipseCurve.prototype.constructor = EllipseCurve;

    ArcCurve.prototype = Object.create( EllipseCurve.prototype );
    ArcCurve.prototype.constructor = ArcCurve;

    CatmullRomCurve3.prototype = Object.create( Curve.prototype );
    CatmullRomCurve3.prototype.constructor = CatmullRomCurve3;

    CubicBezierCurve.prototype = Object.create( Curve.prototype );
    CubicBezierCurve.prototype.constructor = CubicBezierCurve;

    CubicBezierCurve3.prototype = Object.create( Curve.prototype );
    CubicBezierCurve3.prototype.constructor = CubicBezierCurve3;

    LineCurve.prototype = Object.create( Curve.prototype );
    LineCurve.prototype.constructor = LineCurve;

    LineCurve3.prototype = Object.create( Curve.prototype );
    LineCurve3.prototype.constructor = LineCurve3;

    QuadraticBezierCurve.prototype = Object.create( Curve.prototype );
    QuadraticBezierCurve.prototype.constructor = QuadraticBezierCurve;

    QuadraticBezierCurve3.prototype = Object.create( Curve.prototype );
    QuadraticBezierCurve3.prototype.constructor = QuadraticBezierCurve3;

    SplineCurve.prototype = Object.create( Curve.prototype );
    SplineCurve.prototype.constructor = SplineCurve;

    CurvePath.prototype = Object.assign( Object.create( Curve.prototype ), {

    Path.prototype = Object.assign( Object.create( CurvePath.prototype ), {

    Shape.prototype = Object.assign( Object.create( Path.prototype ), {

    Light.prototype = Object.assign( Object.create( Object3D.prototype ), {

    HemisphereLight.prototype = Object.assign( Object.create( Light.prototype ), {

    SpotLightShadow.prototype = Object.assign( Object.create( LightShadow.prototype ), {

    SpotLight.prototype = Object.assign( Object.create( Light.prototype ), {

    PointLight.prototype = Object.assign( Object.create( Light.prototype ), {

    DirectionalLightShadow.prototype = Object.assign( Object.create( LightShadow.prototype ), {

    DirectionalLight.prototype = Object.assign( Object.create( Light.prototype ), {

    AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), {

    RectAreaLight.prototype = Object.assign( Object.create( Light.prototype ), {

    StringKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    BooleanKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    QuaternionLinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {

    QuaternionKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    ColorKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    NumberKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {

    LinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {

    DiscreteInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {

    VectorKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {

    CubeCamera.prototype = Object.create( Object3D.prototype );
    CubeCamera.prototype.constructor = CubeCamera;

    AudioListener.prototype = Object.assign( Object.create( Object3D.prototype ), {

    Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {

    PositionalAudio.prototype = Object.assign( Object.create( Audio.prototype ), {

    AnimationMixer.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {
                    binding = new PropertyMixer(
                        PropertyBinding.create( root, trackName, path ),
                        track.ValueTypeName, track.getValueSize() );

    InstancedBufferGeometry.prototype = Object.assign( Object.create( BufferGeometry.prototype ), {

    InstancedInterleavedBuffer.prototype = Object.assign( Object.create( InterleavedBuffer.prototype ), {

    InstancedBufferAttribute.prototype = Object.assign( Object.create( BufferAttribute.prototype ), {

    ImmediateRenderObject.prototype = Object.create( Object3D.prototype );
    ImmediateRenderObject.prototype.constructor = ImmediateRenderObject;

    VertexNormalsHelper.prototype = Object.create( LineSegments.prototype );
    VertexNormalsHelper.prototype.constructor = VertexNormalsHelper;

    SpotLightHelper.prototype = Object.create( Object3D.prototype );
    SpotLightHelper.prototype.constructor = SpotLightHelper;

    SkeletonHelper.prototype = Object.create( LineSegments.prototype );
    SkeletonHelper.prototype.constructor = SkeletonHelper;

    PointLightHelper.prototype = Object.create( Mesh.prototype );
    PointLightHelper.prototype.constructor = PointLightHelper;

    RectAreaLightHelper.prototype = Object.create( Object3D.prototype );
    RectAreaLightHelper.prototype.constructor = RectAreaLightHelper;

    HemisphereLightHelper.prototype = Object.create( Object3D.prototype );
    HemisphereLightHelper.prototype.constructor = HemisphereLightHelper;

    GridHelper.prototype = Object.create( LineSegments.prototype );
    GridHelper.prototype.constructor = GridHelper;

    PolarGridHelper.prototype = Object.create( LineSegments.prototype );
    PolarGridHelper.prototype.constructor = PolarGridHelper;

    FaceNormalsHelper.prototype = Object.create( LineSegments.prototype );
    FaceNormalsHelper.prototype.constructor = FaceNormalsHelper;

    DirectionalLightHelper.prototype = Object.create( Object3D.prototype );
    DirectionalLightHelper.prototype.constructor = DirectionalLightHelper;

    CameraHelper.prototype = Object.create( LineSegments.prototype );
    CameraHelper.prototype.constructor = CameraHelper;

    BoxHelper.prototype = Object.create( LineSegments.prototype );
    BoxHelper.prototype.constructor = BoxHelper;

    Box3Helper.prototype = Object.create( LineSegments.prototype );
    Box3Helper.prototype.constructor = Box3Helper;

    PlaneHelper.prototype = Object.create( Line.prototype );
    PlaneHelper.prototype.constructor = PlaneHelper;

    ArrowHelper.prototype = Object.create( Object3D.prototype );
    ArrowHelper.prototype.constructor = ArrowHelper;

    AxesHelper.prototype = Object.create( LineSegments.prototype );
    AxesHelper.prototype.constructor = AxesHelper;

        console.log( 'THREE.Curve.create() has been deprecated' );

        construct.prototype = Object.create( Curve.prototype );
        construct.prototype.constructor = construct;

    ClosedSplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );

    SplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );

    Spline.prototype = Object.create( CatmullRomCurve3.prototype );
@/lua/ge/extensions/editor/rallyEditor/pacenotes.lua

        local newPacenote = self.path.pacenotes:create(nil, nil)
        newPacenote.sortOrder = sortOrder
        newPacenote.sortOrder = sortOrder
        local wp_cs = newPacenote.pacenoteWaypoints:create('corner start', point_cs.pos)
        local wp_ce = newPacenote.pacenoteWaypoints:create('corner end', point_ce.pos)
        local wp_cs = newPacenote.pacenoteWaypoints:create('corner start', point_cs.pos)
        local wp_ce = newPacenote.pacenoteWaypoints:create('corner end', point_ce.pos)

  local newPacenote = self.path.pacenotes:create("Pacenote "..tostring(nextNum))
  self.path:sortPacenotesByName()
@/inspector/External/CodeMirror/codemirror.js
  if (Object.create) {
    inst = Object.create(base)
  } else {
@/ui/lib/ext/spine-canvas.js
  function __() { this.constructor = d; }
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
@/lua/ge/extensions/editor/api/camera.lua
  camVars.camEndPos = center + rot * vec3(0, -viewRadius, 0)
  core_jobsystem.create(cameraSmoothMoveJob, 1, camVars)
end
@/lua/ge/extensions/ui/bindingsLegend.lua
local function onDeserialized(data)
  core_jobsystem.create(function(job)
    boundModifierActions = nil
@/ui/lib/ext/vue3/vue.global.js
  function makeMap(str, expectsLowerCase) {
      const map = Object.create(null);
      const list = str.split(',');
  const cacheStringFunction = (fn) => {
      const cache = Object.create(null);
      return ((str) => {
      def(attrs, InternalObjectKey, 1);
      instance.propsDefaults = Object.create(null);
      setFullProps(instance, rawProps, props, attrs);
      if (!leavingVNodesCache) {
          leavingVNodesCache = Object.create(null);
          leavingVNodes.set(vnode.type, leavingVNodesCache);
          directives: {},
          provides: Object.create(null)
      };
          if (parentProvides === provides) {
              provides = currentInstance.provides = Object.create(parentProvides);
          }
  function createDuplicateChecker() {
      const cache = Object.create(null);
      return (type, key) => {
  };
  const publicPropertiesMap = extend(Object.create(null), {
      $: i => i,
          effects: null,
          provides: parent ? parent.provides : Object.create(appContext.provides),
          accessCache: null,
      // 0. create render proxy property access cache
      instance.accessCache = Object.create(null);
      // 1. create public instance / render proxy
          cached: 0,
          identifiers: Object.create(null),
          scopes: {
  }
  const compileCache = Object.create(null);
  function compileToFunction(template, options) {
@/ui/ui-vue/src/services/uiNavHandlers.js
  // use the passed uiNavHandler, or build one using descriptor and handler
  let uiNavHandler = handler ? create(uiNavHandlerOrDescriptor, handler, originalElement, domElement) : uiNavHandlerOrDescriptor
  domElement.addEventListener(DOM_UI_NAVIGATION_EVENT, uiNavHandler)
@/lua/vehicle/extensions/escMeasurement.lua
  workerCoroutine =
    coroutine.create(
    function()
@/lua/ge/extensions/gameplay/speedTraps.lua
              lightObj.isEnabled = true
              core_jobsystem.create(redLightLightJob, 1, lightObj, 10 / math.max(vehSpeed, 0.01))
            end
              lightObj.isEnabled = true
              core_jobsystem.create(speedCamLightJob, 1, lightObj)
            end
@/lua/ge/extensions/editor/assetBrowser.lua
      else
        core_jobsystem.create(createMeshPreviewJob, 1, file)
      end
  for _,asset in ipairs(var.filteredAssets) do
    core_jobsystem.create(createAssetDataJob, 1, asset)
    coroutine.yield()
  if not asset.inspectorData then
    core_jobsystem.create(createAssetDataJob, 1, editor.selection["asset"])
  end
    (dir.files and dir.processed == false) and (createNoAssetData == nil or createNoAssetData == false) then
    core_jobsystem.create(createAssetDataOfWholeDirJob, 1, dir)
  end
      fn = function(dir)
        core_jobsystem.create(createAssetDataOfWholeDirJob, 1, dir, true)
      end
      fn = function(dir)
        core_jobsystem.create(function()
          getDirsAndFiles(dir)
  -- Create/get thumbnails for the current selected directory.
  core_jobsystem.create(createAssetDataOfWholeDirJob, 1, var.selectedDirectory)
  var.vehicles = nil
  core_jobsystem.create(setupJob, 1)
end
      -- subscribe our setup function to the jobsystem
      core_jobsystem.create(setupJob, 1)
      setupWasDone = true
@/ui/ui-vue/dist/index.js
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;i
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;i
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;i
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,svgNS=`http://www.w3.org/2000/svg`,mathmlNS=`http://www.w3.org/1998/Math/MathML`,doc=typeof document<`u`?document:null,templateContainer=doc&&doc.createElement(`template`),nodeOps={insert:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;ix.type!==3);return children.length===1&&children[0].type===1&&!isSlotOutlet(children[0])?children[0]:null}function walk(node,parent,context,doNotHoistNode=!1,inFor=!1){let{children}=node,toCache=[];for(let i=0;i0){if(constantType>=2){child.codegenNode.patchFlag=-1,toCache.push(child);continue}}else{let codegenNode=child.codegenNode;if(codegenNode.type===13){let flag=codegenNode.patchFlag;if((flag===void 0||flag===512||flag===1)&&getGeneratedPropsConstantType(child,context)>=2){let props=getNodeProps(child);props&&(codegenNode.props=context.hoist(props))}codegenNode.dynamicProps&&=context.hoist(codegenNode.dynamicProps)}}}else if(child.type===12&&(doNotHoistNode?0:getConstantType(child,context))>=2){child.codegenNode.type===14&&child.codegenNode.arguments.length>0&&child.codegenNode.arguments.push(`-1`),toCache.push(child);continue}if(child.type===1){let isComponent$1=child.tagType===1;isComponent$1&&context.scopes.vSlot++,walk(child,node,context,!1,inFor),isComponent$1&&context.scopes.vSlot--}else if(child.type===11)walk(child,node,context,child.children.length===1,!0);else if(child.type===9)for(let i2=0;i2p$1.key===name||p$1.key.content===name);return slot&&slot.value}}toCache.length&&context.transformHoist&&context.transformHoist(children,context,node)}function getConstantType(node,context){let{constantCache}=context;switch(node.type){case 1:if(node.tagType!==0)return 0;let cached=constantCache.get(node);if(cached!==void 0)return cached;let codegenNode=node.codegenNode;if(codegenNode.type!==13||codegenNode.isBlock&&node.tag!==`svg`&&node.tag!==`foreignObject`&&node.tag!==`math`)return 0;if(codegenNode.patchFlag===void 0){let returnType2=3,generatedPropsType=getGeneratedPropsConstantType(node,context);if(generatedPropsType===0)return constantCache.set(node,0),0;generatedPropsType1)for(let i=0;iremovalIndex&&(context.childIndex--,context.onNodeRemoved()),context.parent.children.splice(removalIndex,1)},onNodeRemoved:NOOP,addIdentifiers(exp){},removeIdentifiers(exp){},hoist(exp){isString$1(exp)&&(exp=createSimpleExpression(exp)),context.hoists.push(exp);let identifier=createSimpleExpression(`_hoisted_${context.hoists.length}`,!1,exp.loc,2);return identifier.hoisted=exp,identifier},cache(exp,isVNode$1=!1,inVOnce=!1){let cacheExp=createCacheExpression(context.cached.length,exp,isVNode$1,inVOnce);return context.cached.push(cacheExp),cacheExp}};return context.filters=new Set,context}function transform$1(root,options){let context=createTransformContext(root,options);traverseNode$1(root,context),options.hoistStatic&&cacheStatic(root,context),options.ssr||createRootCodegen(root,context),root.helpers=new Set([...context.helpers.keys()]),root.components=[...context.components],root.directives=[...context.directives],root.imports=context.imports,root.hoists=context.hoists,root.temps=context.temps,root.cached=context.cached,root.transformed=!0,root.filters=[...context.filters]}function createRootCodegen(root,context){let{helper}=context,{children}=root;if(children.length===1){let singleElementRootChild=getSingleElementRoot(root);if(singleElementRootChild&&singleElementRootChild.codegenNode){let codegenNode=singleElementRootChild.codegenNode;codegenNode.type===13&&convertToBlock(codegenNode,context),root.codegenNode=codegenNode}else root.codegenNode=children[0]}else children.length>1&&(root.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,root.children,64,void 0,void 0,!0,void 0,!1))}function traverseChildren(parent,context){let i=0,nodeRemoved=()=>{i--};for(;in===name:n=>name.test(n);return(node,context)=>{if(node.type===1){let{props}=node;if(node.tagType===3&&props.some(isVSlot))return;let exitFns=[];for(let i=0;i`${helperNameMap[s]}: _${helperNameMap[s]}`;function createCodegenContext(ast,{mode=`function`,prefixIdentifiers=mode===`module`,sourceMap=!1,filename=`template.vue.html`,scopeId=null,optimizeImports=!1,runtimeGlobalName=`Vue`,runtimeModuleName=`vue`,ssrRuntimeModuleName=`vue/server-renderer`,ssr=!1,isTS=!1,inSSR=!1}){let context={mode,prefixIdentifiers,sourceMap,filename,scopeId,optimizeImports,runtimeGlobalName,runtimeModuleName,ssrRuntimeModuleName,ssr,isTS,inSSR,source:ast.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(key){return`_${helperNameMap[key]}`},push(code,newlineIndex=-2,node){context.code+=code},indent(){newline(++context.indentLevel)},deindent(withoutNewLine=!1){withoutNewLine?--context.indentLevel:newline(--context.indentLevel)},newline(){newline(context.indentLevel)}};function newline(n){context.push(`
`+`  `.repeat(n),0)}return context}function generate$1(ast,options={}){let context=createCodegenContext(ast,options);options.onContextCreated&&options.onContextCreated(context);let{mode,push,prefixIdentifiers,indent,deindent,newline,scopeId,ssr}=context,helpers=Array.from(ast.helpers),hasHelpers=helpers.length>0,useWithBlock=!prefixIdentifiers&&mode!==`module`;if(genFunctionPreamble(ast,context),push(`function ${ssr?`ssrRender`:`render`}(${(ssr?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),indent(),useWithBlock&&(push(`with (_ctx) {`),indent(),hasHelpers&&(push(`const { ${helpers.map(aliasHelper).join(`, `)} } = _Vue
`,-1),ast.hoists.length&&push(`const { ${[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(helper=>helpers.includes(helper)).map(aliasHelper).join(`, `)} } = _Vue
`,-1)),genHoists(ast.hoists,context),newline(),push(`return `)}function genAssets(assets,type,{helper,push,newline,isTS}){let resolver=helper(type===`filter`?RESOLVE_FILTER:type===`component`?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let i=0;i3||!1;context.push(`[`),multilines&&context.indent(),genNodeList(nodes,context,multilines),multilines&&context.deindent(),context.push(`]`)}function genNodeList(nodes,context,multilines=!1,comma=!0){let{push,newline}=context;for(let i=0;iarg||`null`)}function genCallExpression(node,context){let{push,helper,pure}=context,callee=isString$1(node.callee)?node.callee:helper(node.callee);pure&&push(PURE_ANNOTATION),push(callee+`(`,-2,node),genNodeList(node.arguments,context),push(`)`)}function genObjectExpression(node,context){let{push,indent,deindent,newline}=context,{properties}=node;if(!properties.length){push(`{}`,-2,node);return}let multilines=properties.length>1||!1;push(multilines?`{`:`{ `),multilines&&indent();for(let i=0;i `),(newline||body)&&(push(`{`),indent()),returns?(newline&&push(`return `),isArray$2(returns)?genNodeListAsArray(returns,context):genNode(returns,context)):body&&genNode(body,context),(newline||body)&&(deindent(),push(`}`)),isSlot&&(node.isNonScopedSlot&&push(`, undefined, true`),push(`)`))}function genConditionalExpression(node,context){let{test,consequent,alternate,newline:needNewline}=node,{push,indent,deindent,newline}=context;if(test.type===4){let needsParens=!isSimpleIdentifier(test.content);needsParens&&push(`(`),genExpression(test,context),needsParens&&push(`)`)}else push(`(`),genNode(test,context),push(`)`);needNewline&&indent(),context.indentLevel++,needNewline||push(` `),push(`? `),genNode(consequent,context),context.indentLevel--,needNewline&&newline(),needNewline||push(` `),push(`: `);let isNested=alternate.type===19;isNested||context.indentLevel++,genNode(alternate,context),isNested||context.indentLevel--,needNewline&&deindent(!0)}function genCacheExpression(node,context){let{push,helper,indent,deindent,newline}=context,{needPauseTracking,needArraySpread}=node;needArraySpread&&push(`[...(`),push(`_cache[${node.index}] || (`),needPauseTracking&&(indent(),push(`${helper(SET_BLOCK_TRACKING)}(-1`),node.inVOnce&&push(`, true`),push(`),`),newline(),push(`(`)),push(`_cache[${node.index}] = `),genNode(node.value,context),needPauseTracking&&(push(`).cacheIndex = ${node.index},`),newline(),push(`${helper(SET_BLOCK_TRACKING)}(1),`),newline(),push(`_cache[${node.index}]`),deindent()),push(`)`),needArraySpread&&push(`)]`)}``+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`);var transformIf=createStructuralDirectiveTransform(/^(?:if|else|else-if)$/,(node,dir,context)=>processIf(node,dir,context,(ifNode,branch,isRoot)=>{let siblings=context.parent.children,i=siblings.indexOf(ifNode),key=0;for(;i-->=0;){let sibling=siblings[i];sibling&&sibling.type===9&&(key+=sibling.branches.length)}return()=>{if(isRoot)ifNode.codegenNode=createCodegenNodeForBranch(branch,key,context);else{let parentCondition=getParentCondition(ifNode.codegenNode);parentCondition.alternate=createCodegenNodeForBranch(branch,key+ifNode.branches.length-1,context)}}}));function processIf(node,dir,context,processCodegen){if(dir.name!==`else`&&(!dir.exp||!dir.exp.content.trim())){let loc=dir.exp?dir.exp.loc:node.loc;context.onError(createCompilerError(28,dir.loc)),dir.exp=createSimpleExpression(`true`,!1,loc)}if(dir.name===`if`){let branch=createIfBranch(node,dir),ifNode={type:9,loc:cloneLoc(node.loc),branches:[branch]};if(context.replaceNode(ifNode),processCodegen)return processCodegen(ifNode,branch,!0)}else{let siblings=context.parent.children,i=siblings.indexOf(node);for(;i-->=-1;){let sibling=siblings[i];if(sibling&&sibling.type===3){context.removeNode(sibling);continue}if(sibling&&sibling.type===2&&!sibling.content.trim().length){context.removeNode(sibling);continue}if(sibling&&sibling.type===9){(dir.name===`else-if`||dir.name===`else`)&&sibling.branches[sibling.branches.length-1].condition===void 0&&context.onError(createCompilerError(30,node.loc)),context.removeNode();let branch=createIfBranch(node,dir);sibling.branches.push(branch);let onExit=processCodegen&&processCodegen(sibling,branch,!1);traverseNode$1(branch,context),onExit&&onExit(),context.currentNode=null}else context.onError(createCompilerError(30,node.loc));break}}}function createIfBranch(node,dir){let isTemplateIf=node.tagType===3;return{type:10,loc:node.loc,condition:dir.name===`else`?void 0:dir.exp,children:isTemplateIf&&!findDir(node,`for`)?node.children:[node],userKey:findProp(node,`key`),isTemplateIf}}function createCodegenNodeForBranch(branch,keyIndex,context){return branch.condition?createConditionalExpression(branch.condition,createChildrenCodegenNode(branch,keyIndex,context),createCallExpression(context.helper(CREATE_COMMENT),[`""`,`true`])):createChildrenCodegenNode(branch,keyIndex,context)}function createChildrenCodegenNode(branch,keyIndex,context){let{helper}=context,keyProperty=createObjectProperty(`key`,createSimpleExpression(`${keyIndex}`,!1,locStub,2)),{children}=branch,firstChild=children[0];if(children.length!==1||firstChild.type!==1)if(children.length===1&&firstChild.type===11){let vnodeCall=firstChild.codegenNode;return injectProp(vnodeCall,keyProperty,context),vnodeCall}else return createVNodeCall(context,helper(FRAGMENT),createObjectExpression([keyProperty]),children,64,void 0,void 0,!0,!1,!1,branch.loc);else{let ret=firstChild.codegenNode,vnodeCall=getMemoedVNodeCall(ret);return vnodeCall.type===13&&convertToBlock(vnodeCall,context),injectProp(vnodeCall,keyProperty,context),ret}}function getParentCondition(node){for(;;)if(node.type===19)if(node.alternate.type===19)node=node.alternate;else return node;else node.type===20&&(node=node.value)}var transformFor=createStructuralDirectiveTransform(`for`,(node,dir,context)=>{let{helper,removeHelper}=context;return processFor(node,dir,context,forNode=>{let renderExp=createCallExpression(helper(RENDER_LIST),[forNode.source]),isTemplate=isTemplateNode(node),memo=findDir(node,`memo`),keyProp=findProp(node,`key`,!1,!0);keyProp&&keyProp.type;let keyExp=keyProp&&(keyProp.type===6?keyProp.value?createSimpleExpression(keyProp.value.content,!0):void 0:keyProp.exp),keyProperty=keyProp&&keyExp?createObjectProperty(`key`,keyExp):null,isStableFragment=forNode.source.type===4&&forNode.source.constType>0,fragmentFlag=isStableFragment?64:keyProp?128:256;return forNode.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,renderExp,fragmentFlag,void 0,void 0,!0,!isStableFragment,!1,node.loc),()=>{let childBlock,{children}=forNode,needFragmentWrapper=children.length!==1||children[0].type!==1,slotOutlet=isSlotOutlet(node)?node:isTemplate&&node.children.length===1&&isSlotOutlet(node.children[0])?node.children[0]:null;if(slotOutlet?(childBlock=slotOutlet.codegenNode,isTemplate&&keyProperty&&injectProp(childBlock,keyProperty,context)):needFragmentWrapper?childBlock=createVNodeCall(context,helper(FRAGMENT),keyProperty?createObjectExpression([keyProperty]):void 0,node.children,64,void 0,void 0,!0,void 0,!1):(childBlock=children[0].codegenNode,isTemplate&&keyProperty&&injectProp(childBlock,keyProperty,context),childBlock.isBlock!==!isStableFragment&&(childBlock.isBlock?(removeHelper(OPEN_BLOCK),removeHelper(getVNodeBlockHelper(context.inSSR,childBlock.isComponent))):removeHelper(getVNodeHelper(context.inSSR,childBlock.isComponent))),childBlock.isBlock=!isStableFragment,childBlock.isBlock?(helper(OPEN_BLOCK),helper(getVNodeBlockHelper(context.inSSR,childBlock.isComponent))):helper(getVNodeHelper(context.inSSR,childBlock.isComponent))),memo){let loop=createFunctionExpression(createForLoopParams(forNode.parseResult,[createSimpleExpression(`_cached`)]));loop.body=createBlockStatement([createCompoundExpression([`const _memo = (`,memo.exp,`)`]),createCompoundExpression([`if (_cached`,...keyExp?[` && _cached.key === `,keyExp]:[],` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression([`const _item = `,childBlock]),createSimpleExpression(`_item.memo = _memo`),createSimpleExpression(`return _item`)]),renderExp.arguments.push(loop,createSimpleExpression(`_cache`),createSimpleExpression(String(context.cached.length))),context.cached.push(null)}else renderExp.arguments.push(createFunctionExpression(createForLoopParams(forNode.parseResult),childBlock,!0))}})});function processFor(node,dir,context,processCodegen){if(!dir.exp){context.onError(createCompilerError(31,dir.loc));return}let parseResult=dir.forParseResult;if(!parseResult){context.onError(createCompilerError(32,dir.loc));return}finalizeForParseResult(parseResult,context);let{addIdentifiers,removeIdentifiers,scopes}=context,{source,value,key,index}=parseResult,forNode={type:11,loc:dir.loc,source,valueAlias:value,keyAlias:key,objectIndexAlias:index,parseResult,children:isTemplateNode(node)?node.children:[node]};context.replaceNode(forNode),scopes.vFor++;let onExit=processCodegen&&processCodegen(forNode);return()=>{scopes.vFor--,onExit&&onExit()}}function finalizeForParseResult(result,context){result.finalized||=!0}function createForLoopParams({value,key,index},memoArgs=[]){return createParamsList([value,key,index,...memoArgs])}function createParamsList(args){let i=args.length;for(;i--&&!args[i];);return args.slice(0,i+1).map((arg,i2)=>arg||createSimpleExpression(`_`.repeat(i2+1),!1))}var defaultFallback=createSimpleExpression(`undefined`,!1),trackSlotScopes=(node,context)=>{if(node.type===1&&(node.tagType===1||node.tagType===3)){let vSlot=findDir(node,`slot`);if(vSlot)return vSlot.exp,context.scopes.vSlot++,()=>{context.scopes.vSlot--}}},buildClientSlotFn=(props,_vForExp,children,loc)=>createFunctionExpression(props,children,!1,!0,children.length?children[0].loc:loc);function buildSlots(node,context,buildSlotFn=buildClientSlotFn){context.helper(WITH_CTX);let{children,loc}=node,slotsProperties=[],dynamicSlots=[],hasDynamicSlots=context.scopes.vSlot>0||context.scopes.vFor>0,onComponentSlot=findDir(node,`slot`,!0);if(onComponentSlot){let{arg,exp}=onComponentSlot;arg&&!isStaticExp(arg)&&(hasDynamicSlots=!0),slotsProperties.push(createObjectProperty(arg||createSimpleExpression(`default`,!0),buildSlotFn(exp,void 0,children,loc)))}let hasTemplateSlots=!1,hasNamedDefaultSlot=!1,implicitDefaultChildren=[],seenSlotNames=new Set,conditionalBranchIndex=0;for(let i=0;i{let fn=buildSlotFn(props,void 0,children2,loc);return context.compatConfig&&(fn.isNonScopedSlot=!0),createObjectProperty(`default`,fn)};hasTemplateSlots?implicitDefaultChildren.length&&implicitDefaultChildren.some(node2=>isNonWhitespaceContent(node2))&&(hasNamedDefaultSlot?context.onError(createCompilerError(39,implicitDefaultChildren[0].loc)):slotsProperties.push(buildDefaultSlotProperty(void 0,implicitDefaultChildren))):slotsProperties.push(buildDefaultSlotProperty(void 0,children))}let slotFlag=hasDynamicSlots?2:hasForwardedSlots(node.children)?3:1,slots=createObjectExpression(slotsProperties.concat(createObjectProperty(`_`,createSimpleExpression(slotFlag+``,!1))),loc);return dynamicSlots.length&&(slots=createCallExpression(context.helper(CREATE_SLOTS),[slots,createArrayExpression(dynamicSlots)])),{slots,hasDynamicSlots}}function buildDynamicSlot(name,fn,index){let props=[createObjectProperty(`name`,name),createObjectProperty(`fn`,fn)];return index!=null&&props.push(createObjectProperty(`key`,createSimpleExpression(String(index),!0))),createObjectExpression(props)}function hasForwardedSlots(children){for(let i=0;ifunction(){if(node=context.currentNode,!(node.type===1&&(node.tagType===0||node.tagType===1)))return;let{tag,props}=node,isComponent$1=node.tagType===1,vnodeTag=isComponent$1?resolveComponentType(node,context):`"${tag}"`,isDynamicComponent=isObject$1(vnodeTag)&&vnodeTag.callee===RESOLVE_DYNAMIC_COMPONENT,vnodeProps,vnodeChildren,patchFlag=0,vnodeDynamicProps,dynamicPropNames,vnodeDirectives,shouldUseBlock=isDynamicComponent||vnodeTag===TELEPORT||vnodeTag===SUSPENSE||!isComponent$1&&(tag===`svg`||tag===`foreignObject`||tag===`math`);if(props.length>0){let propsBuildResult=buildProps(node,context,void 0,isComponent$1,isDynamicComponent);vnodeProps=propsBuildResult.props,patchFlag=propsBuildResult.patchFlag,dynamicPropNames=propsBuildResult.dynamicPropNames;let directives=propsBuildResult.directives;vnodeDirectives=directives&&directives.length?createArrayExpression(directives.map(dir=>buildDirectiveArgs(dir,context))):void 0,propsBuildResult.shouldUseBlock&&(shouldUseBlock=!0)}if(node.children.length>0)if(vnodeTag===KEEP_ALIVE&&(shouldUseBlock=!0,patchFlag|=1024),isComponent$1&&vnodeTag!==TELEPORT&&vnodeTag!==KEEP_ALIVE){let{slots,hasDynamicSlots}=buildSlots(node,context);vnodeChildren=slots,hasDynamicSlots&&(patchFlag|=1024)}else if(node.children.length===1&&vnodeTag!==TELEPORT){let child=node.children[0],type=child.type,hasDynamicTextChild=type===5||type===8;hasDynamicTextChild&&getConstantType(child,context)===0&&(patchFlag|=1),vnodeChildren=hasDynamicTextChild||type===2?child:node.children}else vnodeChildren=node.children;dynamicPropNames&&dynamicPropNames.length&&(vnodeDynamicProps=stringifyDynamicPropNames(dynamicPropNames)),node.codegenNode=createVNodeCall(context,vnodeTag,vnodeProps,vnodeChildren,patchFlag===0?void 0:patchFlag,vnodeDynamicProps,vnodeDirectives,!!shouldUseBlock,!1,isComponent$1,node.loc)};function resolveComponentType(node,context,ssr=!1){let{tag}=node,isExplicitDynamic=isComponentTag(tag),isProp=findProp(node,`is`,!1,!0);if(isProp)if(isExplicitDynamic||isCompatEnabled(`COMPILER_IS_ON_ELEMENT`,context)){let exp;if(isProp.type===6?exp=isProp.value&&createSimpleExpression(isProp.value.content,!0):(exp=isProp.exp,exp||=createSimpleExpression(`is`,!1,isProp.arg.loc)),exp)return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT),[exp])}else isProp.type===6&&isProp.value.content.startsWith(`vue:`)&&(tag=isProp.value.content.slice(4));let builtIn=isCoreComponent(tag)||context.isBuiltInComponent(tag);return builtIn?(ssr||context.helper(builtIn),builtIn):(context.helper(RESOLVE_COMPONENT),context.components.add(tag),toValidAssetId(tag,`component`))}function buildProps(node,context,props=node.props,isComponent$1,isDynamicComponent,ssr=!1){let{tag,loc:elementLoc,children}=node,properties=[],mergeArgs=[],runtimeDirectives=[],hasChildren=children.length>0,shouldUseBlock=!1,patchFlag=0,hasRef=!1,hasClassBinding=!1,hasStyleBinding=!1,hasHydrationEventBinding=!1,hasDynamicKeys=!1,hasVnodeHook=!1,dynamicPropNames=[],pushMergeArg=arg=>{properties.length&&(mergeArgs.push(createObjectExpression(dedupeProperties(properties),elementLoc)),properties=[]),arg&&mergeArgs.push(arg)},pushRefVForMarker=()=>{context.scopes.vFor>0&&properties.push(createObjectProperty(createSimpleExpression(`ref_for`,!0),createSimpleExpression(`true`)))},analyzePatchFlag=({key,value})=>{if(isStaticExp(key)){let name=key.content,isEventHandler=isOn(name);if(isEventHandler&&(!isComponent$1||isDynamicComponent)&&name.toLowerCase()!==`onclick`&&name!==`onUpdate:modelValue`&&!isReservedProp(name)&&(hasHydrationEventBinding=!0),isEventHandler&&isReservedProp(name)&&(hasVnodeHook=!0),isEventHandler&&value.type===14&&(value=value.arguments[0]),value.type===20||(value.type===4||value.type===8)&&getConstantType(value,context)>0)return;name===`ref`?hasRef=!0:name===`class`?hasClassBinding=!0:name===`style`?hasStyleBinding=!0:name!==`key`&&!dynamicPropNames.includes(name)&&dynamicPropNames.push(name),isComponent$1&&(name===`class`||name===`style`)&&!dynamicPropNames.includes(name)&&dynamicPropNames.push(name)}else hasDynamicKeys=!0};for(let i=0;imod.content===`prop`)&&(patchFlag|=32);let directiveTransform=context.directiveTransforms[name];if(directiveTransform){let{props:props2,needRuntime}=directiveTransform(prop,node,context);!ssr&&props2.forEach(analyzePatchFlag),isVOn&&arg&&!isStaticExp(arg)?pushMergeArg(createObjectExpression(props2,elementLoc)):properties.push(...props2),needRuntime&&(runtimeDirectives.push(prop),isSymbol(needRuntime)&&directiveImportMap.set(prop,needRuntime))}else isBuiltInDirective(name)||(runtimeDirectives.push(prop),hasChildren&&(shouldUseBlock=!0))}}let propsExpression;if(mergeArgs.length?(pushMergeArg(),propsExpression=mergeArgs.length>1?createCallExpression(context.helper(MERGE_PROPS),mergeArgs,elementLoc):mergeArgs[0]):properties.length&&(propsExpression=createObjectExpression(dedupeProperties(properties),elementLoc)),hasDynamicKeys?patchFlag|=16:(hasClassBinding&&!isComponent$1&&(patchFlag|=2),hasStyleBinding&&!isComponent$1&&(patchFlag|=4),dynamicPropNames.length&&(patchFlag|=8),hasHydrationEventBinding&&(patchFlag|=32)),!shouldUseBlock&&(patchFlag===0||patchFlag===32)&&(hasRef||hasVnodeHook||runtimeDirectives.length>0)&&(patchFlag|=512),!context.inSSR&&propsExpression)switch(propsExpression.type){case 15:let classKeyIndex=-1,styleKeyIndex=-1,hasDynamicKey=!1;for(let i=0;icreateObjectProperty(modifier,trueExpression)),loc))}return createArrayExpression(dirArgs,dir.loc)}function stringifyDynamicPropNames(props){let propsNamesString=`[`;for(let i=0,l=props.length;i{if(isSlotOutlet(node)){let{children,loc}=node,{slotName,slotProps}=processSlotOutlet(node,context),slotArgs=[context.prefixIdentifiers?`_ctx.$slots`:`$slots`,slotName,`{}`,`undefined`,`true`],expectedLen=2;slotProps&&(slotArgs[2]=slotProps,expectedLen=3),children.length&&(slotArgs[3]=createFunctionExpression([],children,!1,!1,loc),expectedLen=4),context.scopeId&&!context.slotted&&(expectedLen=5),slotArgs.splice(expectedLen),node.codegenNode=createCallExpression(context.helper(RENDER_SLOT),slotArgs,loc)}};function processSlotOutlet(node,context){let slotName=`"default"`,slotProps,nonNameProps=[];for(let i=0;i0){let{props,directives}=buildProps(node,context,nonNameProps,!1,!1);slotProps=props,directives.length&&context.onError(createCompilerError(36,directives[0].loc))}return{slotName,slotProps}}var transformOn=(dir,node,context,augmentor)=>{let{loc,modifiers,arg}=dir;!dir.exp&&!modifiers.length&&context.onError(createCompilerError(35,loc));let eventName;if(arg.type===4)if(arg.isStatic){let rawName=arg.content;rawName.startsWith(`vue:`)&&(rawName=`vnode-${rawName.slice(4)}`),eventName=createSimpleExpression(node.tagType!==0||rawName.startsWith(`vnode`)||!/[A-Z]/.test(rawName)?toHandlerKey(camelize(rawName)):`on:${rawName}`,!0,arg.loc)}else eventName=createCompoundExpression([`${context.helperString(TO_HANDLER_KEY)}(`,arg,`)`]);else eventName=arg,eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`),eventName.children.push(`)`);let exp=dir.exp;exp&&!exp.content.trim()&&(exp=void 0);let shouldCache=context.cacheHandlers&&!exp&&!context.inVOnce;if(exp){let isMemberExp=isMemberExpression(exp),isInlineStatement=!(isMemberExp||isFnExpression(exp)),hasMultipleStatements=exp.content.includes(`;`);(isInlineStatement||shouldCache&&isMemberExp)&&(exp=createCompoundExpression([`${isInlineStatement?`$event`:`(...args)`} => ${hasMultipleStatements?`{`:`(`}`,exp,hasMultipleStatements?`}`:`)`]))}let ret={props:[createObjectProperty(eventName,exp||createSimpleExpression(`() => {}`,!1,loc))]};return augmentor&&(ret=augmentor(ret)),shouldCache&&(ret.props[0].value=context.cache(ret.props[0].value)),ret.props.forEach(p$1=>p$1.key.isHandlerKey=!0),ret},transformBind=(dir,_node,context)=>{let{modifiers,loc}=dir,arg=dir.arg,{exp}=dir;return exp&&exp.type===4&&!exp.content.trim()&&(exp=void 0),arg.type===4?arg.isStatic||(arg.content=arg.content?`${arg.content} || ""`:`""`):(arg.children.unshift(`(`),arg.children.push(`) || ""`)),modifiers.some(mod=>mod.content===`camel`)&&(arg.type===4?arg.isStatic?arg.content=camelize(arg.content):arg.content=`${context.helperString(CAMELIZE)}(${arg.content})`:(arg.children.unshift(`${context.helperString(CAMELIZE)}(`),arg.children.push(`)`))),context.inSSR||(modifiers.some(mod=>mod.content===`prop`)&&injectPrefix(arg,`.`),modifiers.some(mod=>mod.content===`attr`)&&injectPrefix(arg,`^`)),{props:[createObjectProperty(arg,exp)]}},injectPrefix=(arg,prefix$1)=>{arg.type===4?arg.isStatic?arg.content=prefix$1+arg.content:arg.content=`\`${prefix$1}\${${arg.content}}\``:(arg.children.unshift(`'${prefix$1}' + (`),arg.children.push(`)`))},transformText=(node,context)=>{if(node.type===0||node.type===1||node.type===11||node.type===10)return()=>{let children=node.children,currentContainer,hasText=!1;for(let i=0;ip$1.type===7&&!context.directiveTransforms[p$1.name])&&node.tag!==`template`)))for(let i=0;i{if(node.type===1&&findDir(node,`once`,!0))return seen$1.has(node)||context.inVOnce||context.inSSR?void 0:(seen$1.add(node),context.inVOnce=!0,context.helper(SET_BLOCK_TRACKING),()=>{context.inVOnce=!1;let cur=context.currentNode;cur.codegenNode&&=context.cache(cur.codegenNode,!0,!0)})},transformModel=(dir,node,context)=>{let{exp,arg}=dir;if(!exp)return context.onError(createCompilerError(41,dir.loc)),createTransformProps();let rawExp=exp.loc.source.trim(),expString=exp.type===4?exp.content:rawExp,bindingType=context.bindingMetadata[rawExp];if(bindingType===`props`||bindingType===`props-aliased`)return context.onError(createCompilerError(44,exp.loc)),createTransformProps();if(!expString.trim()||!isMemberExpression(exp))return context.onError(createCompilerError(42,exp.loc)),createTransformProps();let propName=arg||createSimpleExpression(`modelValue`,!0),eventName=arg?isStaticExp(arg)?`onUpdate:${camelize(arg.content)}`:createCompoundExpression([`"onUpdate:" + `,arg]):`onUpdate:modelValue`,assignmentExp;assignmentExp=createCompoundExpression([`${context.isTS?`($event: any)`:`$event`} => ((`,exp,`) = $event)`]);let props=[createObjectProperty(propName,dir.exp),createObjectProperty(eventName,assignmentExp)];if(dir.modifiers.length&&node.tagType===1){let modifiers=dir.modifiers.map(m=>m.content).map(m=>(isSimpleIdentifier(m)?m:JSON.stringify(m))+`: true`).join(`, `),modifiersKey=arg?isStaticExp(arg)?`${arg.content}Modifiers`:createCompoundExpression([arg,` + "Modifiers"`]):`modelModifiers`;props.push(createObjectProperty(modifiersKey,createSimpleExpression(`{ ${modifiers} }`,!1,dir.loc,2)))}return createTransformProps(props)};function createTransformProps(props=[]){return{props}}var validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(node,context)=>{isCompatEnabled(`COMPILER_FILTERS`,context)&&(node.type===5?rewriteFilter(node.content,context):node.type===1&&node.props.forEach(prop=>{prop.type===7&&prop.name!==`for`&&prop.exp&&rewriteFilter(prop.exp,context)}))};function rewriteFilter(node,context){if(node.type===4)parseFilter(node,context);else for(let i=0;i=0&&(p$1=exp.charAt(j),p$1===` `);j--);(!p$1||!validDivisionCharRE.test(p$1))&&(inRegex=!0)}}expression===void 0?expression=exp.slice(0,i).trim():lastFilterIndex!==0&&pushFilter();function pushFilter(){filters.push(exp.slice(lastFilterIndex,i).trim()),lastFilterIndex=i+1}if(filters.length){for(i=0;i{if(node.type===1){let dir=findDir(node,`memo`);return!dir||seen$2.has(node)||context.inSSR?void 0:(seen$2.add(node),()=>{let codegenNode=node.codegenNode||context.currentNode.codegenNode;codegenNode&&codegenNode.type===13&&(node.tagType!==1&&convertToBlock(codegenNode,context),node.codegenNode=createCallExpression(context.helper(WITH_MEMO),[dir.exp,createFunctionExpression(void 0,codegenNode),`_cache`,String(context.cached.length)]),context.cached.push(null))})}},transformVBindShorthand=(node,context)=>{if(node.type===1){for(let prop of node.props)if(prop.type===7&&prop.name===`bind`&&!prop.exp){let arg=prop.arg;if(arg.type!==4||!arg.isStatic)context.onError(createCompilerError(52,arg.loc)),prop.exp=createSimpleExpression(``,!0,arg.loc);else{let propName=camelize(arg.content);(validFirstIdentCharRE.test(propName[0])||propName[0]===`-`)&&(prop.exp=createSimpleExpression(propName,!1,arg.loc))}}}};function getBaseTransformPreset(prefixIdentifiers){return[[transformVBindShorthand,transformOnce,transformIf,transformMemo,transformFor,...[transformFilter],...[],transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn,bind:transformBind,model:transformModel}]}function baseCompile$2(source,options={}){let onError=options.onError||defaultOnError$1,isModuleMode=options.mode===`module`;options.prefixIdentifiers===!0?onError(createCompilerError(47)):isModuleMode&&onError(createCompilerError(48));let prefixIdentifiers=!1;options.cacheHandlers&&onError(createCompilerError(49)),options.scopeId&&!isModuleMode&&onError(createCompilerError(50));let resolvedOptions=extend({},options,{prefixIdentifiers:!1}),ast=isString$1(source)?baseParse(source,resolvedOptions):source,[nodeTransforms,directiveTransforms]=getBaseTransformPreset();return transform$1(ast,extend({},resolvedOptions,{nodeTransforms:[...nodeTransforms,...options.nodeTransforms||[]],directiveTransforms:extend({},directiveTransforms,options.directiveTransforms||{})})),generate$1(ast,resolvedOptions)}var noopDirectiveTransform=()=>({props:[]}),V_MODEL_RADIO=Symbol(``),V_MODEL_CHECKBOX=Symbol(``),V_MODEL_TEXT=Symbol(``),V_MODEL_SELECT=Symbol(``),V_MODEL_DYNAMIC=Symbol(``),V_ON_WITH_MODIFIERS=Symbol(``),V_ON_WITH_KEYS=Symbol(``),V_SHOW=Symbol(``),TRANSITION=Symbol(``),TRANSITION_GROUP=Symbol(``);registerRuntimeHelpers({[V_MODEL_RADIO]:`vModelRadio`,[V_MODEL_CHECKBOX]:`vModelCheckbox`,[V_MODEL_TEXT]:`vModelText`,[V_MODEL_SELECT]:`vModelSelect`,[V_MODEL_DYNAMIC]:`vModelDynamic`,[V_ON_WITH_MODIFIERS]:`withModifiers`,[V_ON_WITH_KEYS]:`withKeys`,[V_SHOW]:`vShow`,[TRANSITION]:`Transition`,[TRANSITION_GROUP]:`TransitionGroup`});var decoder;function decodeHtmlBrowser(raw,asAttr=!1){return decoder||=document.createElement(`div`),asAttr?(decoder.innerHTML=`
`,decoder.children[0].getAttribute(`foo`)):(decoder.innerHTML=raw,decoder.textContent)}var parserOptions={parseMode:`html`,isVoidTag,isNativeTag:tag=>isHTMLTag(tag)||isSVGTag(tag)||isMathMLTag(tag),isPreTag:tag=>tag===`pre`,isIgnoreNewlineTag:tag=>tag===`pre`||tag===`textarea`,decodeEntities:decodeHtmlBrowser,isBuiltInComponent:tag=>{if(tag===`Transition`||tag===`transition`)return TRANSITION;if(tag===`TransitionGroup`||tag===`transition-group`)return TRANSITION_GROUP},getNamespace(tag,parent,rootNamespace){let ns=parent?parent.ns:rootNamespace;if(parent&&ns===2)if(parent.tag===`annotation-xml`){if(tag===`svg`)return 1;parent.props.some(a$1=>a$1.type===6&&a$1.name===`encoding`&&a$1.value!=null&&(a$1.value.content===`text/html`||a$1.value.content===`application/xhtml+xml`))&&(ns=0)}else /^m(?:[ions]|text)$/.test(parent.tag)&&tag!==`mglyph`&&tag!==`malignmark`&&(ns=0);else parent&&ns===1&&(parent.tag===`foreignObject`||parent.tag===`desc`||parent.tag===`title`)&&(ns=0);if(ns===0){if(tag===`svg`)return 1;if(tag===`math`)return 2}return ns}},transformStyle=node=>{node.type===1&&node.props.forEach((p$1,i)=>{p$1.type===6&&p$1.name===`style`&&p$1.value&&(node.props[i]={type:7,name:`bind`,arg:createSimpleExpression(`style`,!0,p$1.loc),exp:parseInlineCSS(p$1.value.content,p$1.loc),modifiers:[],loc:p$1.loc})})},parseInlineCSS=(cssText,loc)=>{let normalized=parseStringStyle(cssText);return createSimpleExpression(JSON.stringify(normalized),!1,loc,3)};function createDOMCompilerError(code,loc){return createCompilerError(code,loc,void 0)}var transformVHtml=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(53,loc)),node.children.length&&(context.onError(createDOMCompilerError(54,loc)),node.children.length=0),{props:[createObjectProperty(createSimpleExpression(`innerHTML`,!0,loc),exp||createSimpleExpression(``,!0))]}},transformVText=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(55,loc)),node.children.length&&(context.onError(createDOMCompilerError(56,loc)),node.children.length=0),{props:[createObjectProperty(createSimpleExpression(`textContent`,!0),exp?getConstantType(exp,context)>0?exp:createCallExpression(context.helperString(TO_DISPLAY_STRING),[exp],loc):createSimpleExpression(``,!0))]}},transformModel$1=(dir,node,context)=>{let baseResult=transformModel(dir,node,context);if(!baseResult.props.length||node.tagType===1)return baseResult;dir.arg&&context.onError(createDOMCompilerError(58,dir.arg.loc));let{tag}=node,isCustomElement=context.isCustomElement(tag);if(tag===`input`||tag===`textarea`||tag===`select`||isCustomElement){let directiveToUse=V_MODEL_TEXT,isInvalidType=!1;if(tag===`input`||isCustomElement){let type=findProp(node,`type`);if(type){if(type.type===7)directiveToUse=V_MODEL_DYNAMIC;else if(type.value)switch(type.value.content){case`radio`:directiveToUse=V_MODEL_RADIO;break;case`checkbox`:directiveToUse=V_MODEL_CHECKBOX;break;case`file`:isInvalidType=!0,context.onError(createDOMCompilerError(59,dir.loc));break;default:break}}else hasDynamicKeyVBind(node)&&(directiveToUse=V_MODEL_DYNAMIC)}else tag===`select`&&(directiveToUse=V_MODEL_SELECT);isInvalidType||(baseResult.needRuntime=context.helper(directiveToUse))}else context.onError(createDOMCompilerError(57,dir.loc));return baseResult.props=baseResult.props.filter(p$1=>!(p$1.key.type===4&&p$1.key.content===`modelValue`)),baseResult},isEventOptionModifier=makeMap(`passive,once,capture`),isNonKeyModifier=makeMap(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),maybeKeyModifier=makeMap(`left,right`),isKeyboardEvent=makeMap(`onkeyup,onkeydown,onkeypress`),resolveModifiers=(key,modifiers,context,loc)=>{let keyModifiers=[],nonKeyModifiers=[],eventOptionModifiers=[];for(let i=0;iisStaticExp(key)&&key.content.toLowerCase()===`onclick`?createSimpleExpression(event,!0):key.type===4?key:createCompoundExpression([`(`,key,`) === "onClick" ? "${event}" : (`,key,`)`]),transformOn$1=(dir,node,context)=>transformOn(dir,node,context,baseResult=>{let{modifiers}=dir;if(!modifiers.length)return baseResult;let{key,value:handlerExp}=baseResult.props[0],{keyModifiers,nonKeyModifiers,eventOptionModifiers}=resolveModifiers(key,modifiers,context,dir.loc);if(nonKeyModifiers.includes(`right`)&&(key=transformClick(key,`onContextmenu`)),nonKeyModifiers.includes(`middle`)&&(key=transformClick(key,`onMouseup`)),nonKeyModifiers.length&&(handlerExp=createCallExpression(context.helper(V_ON_WITH_MODIFIERS),[handlerExp,JSON.stringify(nonKeyModifiers)])),keyModifiers.length&&(!isStaticExp(key)||isKeyboardEvent(key.content.toLowerCase()))&&(handlerExp=createCallExpression(context.helper(V_ON_WITH_KEYS),[handlerExp,JSON.stringify(keyModifiers)])),eventOptionModifiers.length){let modifierPostfix=eventOptionModifiers.map(capitalize$1).join(``);key=isStaticExp(key)?createSimpleExpression(`${key.content}${modifierPostfix}`,!0):createCompoundExpression([`(`,key,`) + "${modifierPostfix}"`])}return{props:[createObjectProperty(key,handlerExp)]}}),transformShow=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(61,loc)),{props:[],needRuntime:context.helper(V_SHOW)}},ignoreSideEffectTags=(node,context)=>{node.type===1&&node.tagType===0&&(node.tag===`script`||node.tag===`style`)&&context.removeNode()},DOMNodeTransforms=[transformStyle,...[]],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel$1,on:transformOn$1,show:transformShow};function compile$1(src,options={}){return baseCompile$2(src,extend({},parserOptions,options,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...options.nodeTransforms||[]],directiveTransforms:extend({},DOMDirectiveTransforms,options.directiveTransforms||{}),transformHoist:null}))}var vue_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,compile:()=>compileToFunction,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),compileCache$1=Object.create(null);function compileToFunction(template,options){if(!isString$1(template))if(template.nodeType)template=template.innerHTML;else return NOOP;let key=genCacheKey(template,options),cached=compileCache$1[key];if(cached)return cached;if(template[0]===`#`){let el=document.querySelector(template);template=el?el.innerHTML:``}let opts=extend({hoistStatic:!0,onError:void 0,onWarn:NOOP},options);!opts.isCustomElement&&typeof customElements<`u`&&(opts.isCustomElement=tag=>!!customElements.get(tag));let{code}=compile$1(template,opts),render$1=Function(`Vue`,code)(runtime_dom_esm_bundler_exports);return render$1._rc=!0,compileCache$1[key]=render$1}registerRuntimeCompiler(compileToFunction);var activePinia,setActivePinia=pinia$1=>activePinia=pinia$1,piniaSymbol=Symbol();function isPlainObject$1(o){return o&&typeof o==`object`&&Object.prototype.toString.call(o)===`[object Object]`&&typeof o.toJSON!=`function`}var MutationType;(function(MutationType$1){MutationType$1.direct=`direct`,MutationType$1.patchObject=`patch object`,MutationType$1.patchFunction=`patch function`})(MutationType||={});var IS_CLIENT=typeof window<`u`,_global=(()=>typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null})();function bom(blob,{autoBom=!1}={}){return autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)?new Blob([``,blob],{type:blob.type}):blob}function download(url,name,opts){let xhr=new XMLHttpRequest;xhr.open(`GET`,url),xhr.responseType=`blob`,xhr.onload=function(){saveAs(xhr.response,name,opts)},xhr.onerror=function(){console.error(`could not download file`)},xhr.send()}function corsEnabled(url){let xhr=new XMLHttpRequest;xhr.open(`HEAD`,url,!1);try{xhr.send()}catch{}return xhr.status>=200&&xhr.status<=299}function click(node){try{node.dispatchEvent(new MouseEvent(`click`))}catch{let evt=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});node.dispatchEvent(evt)}}var _navigator=typeof navigator==`object`?navigator:{userAgent:``},isMacOSWebView=(()=>/Macintosh/.test(_navigator.userAgent)&&/AppleWebKit/.test(_navigator.userAgent)&&!/Safari/.test(_navigator.userAgent))(),saveAs=IS_CLIENT?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!isMacOSWebView?downloadSaveAs:`msSaveOrOpenBlob`in _navigator?msSaveAs:fileSaverSaveAs:()=>{};function downloadSaveAs(blob,name=`download`,opts){let a$1=document.createElement(`a`);a$1.download=name,a$1.rel=`noopener`,typeof blob==`string`?(a$1.href=blob,a$1.origin===location.origin?click(a$1):corsEnabled(a$1.href)?download(blob,name,opts):(a$1.target=`_blank`,click(a$1))):(a$1.href=URL.createObjectURL(blob),setTimeout(function(){URL.revokeObjectURL(a$1.href)},4e4),setTimeout(function(){click(a$1)},0))}function msSaveAs(blob,name=`download`,opts){if(typeof blob==`string`)if(corsEnabled(blob))download(blob,name,opts);else{let a$1=document.createElement(`a`);a$1.href=blob,a$1.target=`_blank`,setTimeout(function(){click(a$1)})}else navigator.msSaveOrOpenBlob(bom(blob,opts),name)}function fileSaverSaveAs(blob,name,opts,popup){if(popup||=open(``,`_blank`),popup&&(popup.document.title=popup.document.body.innerText=`downloading...`),typeof blob==`string`)return download(blob,name,opts);let force=blob.type===`application/octet-stream`,isSafari=/constructor/i.test(String(_global.HTMLElement))||`safari`in _global,isChromeIOS=/CriOS\/[\d]+/.test(navigator.userAgent);if((isChromeIOS||force&&isSafari||isMacOSWebView)&&typeof FileReader<`u`){let reader=new FileReader;reader.onloadend=function(){let url=reader.result;if(typeof url!=`string`)throw popup=null,Error(`Wrong reader.result type`);url=isChromeIOS?url:url.replace(/^data:[^;]*;/,`data:attachment/file;`),popup?popup.location.href=url:location.assign(url),popup=null},reader.readAsDataURL(blob)}else{let url=URL.createObjectURL(blob);popup?popup.location.assign(url):location.href=url,popup=null,setTimeout(function(){URL.revokeObjectURL(url)},4e4)}}var{assign:assign$1$1}=Object;function createPinia(){let scope$1=effectScope(!0),state=scope$1.run(()=>ref({})),_p=[],toBeInstalled=[],pinia$1=markRaw({install(app$1){setActivePinia(pinia$1),pinia$1._a=app$1,app$1.provide(piniaSymbol,pinia$1),app$1.config.globalProperties.$pinia=pinia$1,toBeInstalled.forEach(plugin=>_p.push(plugin)),toBeInstalled=[]},use(plugin){return this._a?_p.push(plugin):toBeInstalled.push(plugin),this},_p,_a:null,_e:scope$1,_s:new Map,state});return pinia$1}var noop$2=()=>{};function addSubscription(subscriptions,callback,detached,onCleanup=noop$2){subscriptions.push(callback);let removeSubscription=()=>{let idx=subscriptions.indexOf(callback);idx>-1&&(subscriptions.splice(idx,1),onCleanup())};return!detached&&getCurrentScope()&&onScopeDispose(removeSubscription),removeSubscription}function triggerSubscriptions(subscriptions,...args){subscriptions.slice().forEach(callback=>{callback(...args)})}var fallbackRunWithContext=fn=>fn(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(target,patchToApply){for(let key in target instanceof Map&&patchToApply instanceof Map?patchToApply.forEach((value,key)=>target.set(key,value)):target instanceof Set&&patchToApply instanceof Set&&patchToApply.forEach(target.add,target),patchToApply){if(!patchToApply.hasOwnProperty(key))continue;let subPatch=patchToApply[key],targetValue=target[key];isPlainObject$1(targetValue)&&isPlainObject$1(subPatch)&&target.hasOwnProperty(key)&&!isRef(subPatch)&&!isReactive(subPatch)?target[key]=mergeReactiveObjects(targetValue,subPatch):target[key]=subPatch}return target}var skipHydrateSymbol=Symbol();function shouldHydrate(obj){return!isPlainObject$1(obj)||!Object.prototype.hasOwnProperty.call(obj,skipHydrateSymbol)}var{assign:assign$2}=Object;function isComputed(o){return!!(isRef(o)&&o.effect)}function createOptionsStore(id,options,pinia$1,hot){let{state,actions,getters}=options,initialState=pinia$1.state.value[id],store$1;function setup$3(){return initialState||(pinia$1.state.value[id]=state?state():{}),assign$2(toRefs(pinia$1.state.value[id]),actions,Object.keys(getters||{}).reduce((computedGetters,name)=>(computedGetters[name]=markRaw(computed(()=>{setActivePinia(pinia$1);let store$2=pinia$1._s.get(id);return getters[name].call(store$2,store$2)})),computedGetters),{}))}return store$1=createSetupStore(id,setup$3,options,pinia$1,hot,!0),store$1}function createSetupStore($id,setup$3,options={},pinia$1,hot,isOptionsStore){let scope$1,optionsForPlugin=assign$2({actions:{}},options),$subscribeOptions={deep:!0},isListening,isSyncListening,subscriptions=[],actionSubscriptions=[],debuggerEvents,initialState=pinia$1.state.value[$id];!isOptionsStore&&!initialState&&(pinia$1.state.value[$id]={}),ref({});let activeListener;function $patch(partialStateOrMutator){let subscriptionMutation;isListening=isSyncListening=!1,typeof partialStateOrMutator==`function`?(partialStateOrMutator(pinia$1.state.value[$id]),subscriptionMutation={type:MutationType.patchFunction,storeId:$id,events:void 0}):(mergeReactiveObjects(pinia$1.state.value[$id],partialStateOrMutator),subscriptionMutation={type:MutationType.patchObject,payload:partialStateOrMutator,storeId:$id,events:void 0});let myListenerId=activeListener=Symbol();nextTick().then(()=>{activeListener===myListenerId&&(isListening=!0)}),isSyncListening=!0,triggerSubscriptions(subscriptions,subscriptionMutation,pinia$1.state.value[$id])}let $reset=isOptionsStore?function(){let{state}=options,newState=state?state():{};this.$patch($state=>{assign$2($state,newState)})}:noop$2;function $dispose(){scope$1.stop(),subscriptions=[],actionSubscriptions=[],pinia$1._s.delete($id)}let action=(fn,name=``)=>{if(ACTION_MARKER in fn)return fn[ACTION_NAME]=name,fn;let wrappedAction=function(){setActivePinia(pinia$1);let args=Array.from(arguments),afterCallbackList=[],onErrorCallbackList=[];function after(callback){afterCallbackList.push(callback)}function onError(callback){onErrorCallbackList.push(callback)}triggerSubscriptions(actionSubscriptions,{args,name:wrappedAction[ACTION_NAME],store:store$1,after,onError});let ret;try{ret=fn.apply(this&&this.$id===$id?this:store$1,args)}catch(error){throw triggerSubscriptions(onErrorCallbackList,error),error}return ret instanceof Promise?ret.then(value=>(triggerSubscriptions(afterCallbackList,value),value)).catch(error=>(triggerSubscriptions(onErrorCallbackList,error),Promise.reject(error))):(triggerSubscriptions(afterCallbackList,ret),ret)};return wrappedAction[ACTION_MARKER]=!0,wrappedAction[ACTION_NAME]=name,wrappedAction},store$1=reactive({_p:pinia$1,$id,$onAction:addSubscription.bind(null,actionSubscriptions),$patch,$reset,$subscribe(callback,options$1={}){let removeSubscription=addSubscription(subscriptions,callback,options$1.detached,()=>stopWatcher()),stopWatcher=scope$1.run(()=>watch(()=>pinia$1.state.value[$id],state=>{(options$1.flush===`sync`?isSyncListening:isListening)&&callback({storeId:$id,type:MutationType.direct,events:void 0},state)},assign$2({},$subscribeOptions,options$1)));return removeSubscription},$dispose});pinia$1._s.set($id,store$1);let setupStore=(pinia$1._a&&pinia$1._a.runWithContext||fallbackRunWithContext)(()=>pinia$1._e.run(()=>(scope$1=effectScope()).run(()=>setup$3({action}))));for(let key in setupStore){let prop=setupStore[key];isRef(prop)&&!isComputed(prop)||isReactive(prop)?isOptionsStore||(initialState&&shouldHydrate(prop)&&(isRef(prop)?prop.value=initialState[key]:mergeReactiveObjects(prop,initialState[key])),pinia$1.state.value[$id][key]=prop):typeof prop==`function`&&(setupStore[key]=action(prop,key),optionsForPlugin.actions[key]=prop)}return assign$2(store$1,setupStore),assign$2(toRaw(store$1),setupStore),Object.defineProperty(store$1,`$state`,{get:()=>pinia$1.state.value[$id],set:state=>{$patch($state=>{assign$2($state,state)})}}),pinia$1._p.forEach(extender=>{assign$2(store$1,scope$1.run(()=>extender({store:store$1,app:pinia$1._a,pinia:pinia$1,options:optionsForPlugin})))}),initialState&&isOptionsStore&&options.hydrate&&options.hydrate(store$1.$state,initialState),isListening=!0,isSyncListening=!0,store$1}function defineStore(id,setup$3,setupOptions){let options,isSetupStore=typeof setup$3==`function`;options=isSetupStore?setupOptions:setup$3;function useStore$1(pinia$1,hot){let hasContext=hasInjectionContext();return pinia$1||=hasContext?inject(piniaSymbol,null):null,pinia$1&&setActivePinia(pinia$1),pinia$1=activePinia,pinia$1._s.has(id)||(isSetupStore?createSetupStore(id,setup$3,options,pinia$1):createOptionsStore(id,options,pinia$1)),pinia$1._s.get(id)}return useStore$1.$id=id,useStore$1}function storeToRefs(store$1){let rawStore=toRaw(store$1),refs={};for(let key in rawStore){let value=rawStore[key];value.effect?refs[key]=computed({get:()=>store$1[key],set(value$1){store$1[key]=value$1}}):(isRef(value)||isReactive(value))&&(refs[key]=toRef(store$1,key))}return refs}var require_eventemitter3=__commonJSMin(((exports,module)=>{var has=Object.prototype.hasOwnProperty,prefix=`~`;function Events(){}Object.create&&(Events.prototype=Object.create(null),new Events().__proto__||(prefix=!1));function EE(fn,context,once){this.fn=fn,this.context=context,this.once=once||!1}function addListener(emitter,event,fn,context,once){if(typeof fn!=`function`)throw TypeError(`The listener must be a function`);var listener=new EE(fn,context||emitter,once),evt=prefix?prefix+event:event;return emitter._events[evt]?emitter._events[evt].fn?emitter._events[evt]=[emitter._events[evt],listener]:emitter._events[evt].push(listener):(emitter._events[evt]=listener,emitter._eventsCount++),emitter}function clearEvent(emitter,evt){--emitter._eventsCount===0?emitter._events=new Events:delete emitter._events[evt]}function EventEmitter$1(){this._events=new Events,this._eventsCount=0}EventEmitter$1.prototype.eventNames=function(){var names=[],events$3,name;if(this._eventsCount===0)return names;for(name in events$3=this._events)has.call(events$3,name)&&names.push(prefix?name.slice(1):name);return Object.getOwnPropertySymbols?names.concat(Object.getOwnPropertySymbols(events$3)):names},EventEmitter$1.prototype.listeners=function(event){var evt=prefix?prefix+event:event,handlers$1=this._events[evt];if(!handlers$1)return[];if(handlers$1.fn)return[handlers$1.fn];for(var i=0,l=handlers$1.length,ee=Array(l);ithis.onBNGAPICallback(idx,result))}onBNGAPICallback(idx,result){idx in this.apiCallbacks&&(this.apiCallbacks[idx](result),delete this.apiCallbacks[idx])}engineScript(cmd,callback){if(!callback){beamNG$1.sendGameEngine(cmd);return}this.apiCallbacks[++this.callbackId]=callback,cmd.charAt(cmd.length-1)==`;`&&(cmd=cmd.substr(0,cmd.length-1)),beamNG$1.sendGameEngine(`queueHookJS("onBNGAPICallback","["@`+this.callbackId+`@","@strreplace(`+cmd+`,"\\"","\\\\\\"")@"]");`)}activeObjectLua(cmd,callback){if(!callback){beamNG$1.sendActiveObjectLua(cmd);return}if(!cmd){console.error(`activeObjectLua cmd null`,arguments);return}this.apiCallbacks[++this.callbackId]=callback,beamNG$1.sendActiveObjectLua(`guihooks.trigger("onBNGAPICallback",`+this.callbackId+`,`+cmd+`)`)}subscribeToEvents(data){beamNG$1.subscribeToEvents(data)}engineLua(cmd,callback){if(beamNG$1){if(!callback){beamNG$1.sendEngineLua(cmd);return}cmd||=`nop`,this.apiCallbacks[++this.callbackId]=callback,beamNG$1.sendEngineLua(`guihooks.trigger("onBNGAPICallback",`+this.callbackId+`,`+cmd+`)`)}}queueAllObjectLua(cmd){beamNG$1.queueAllObjectLua(cmd)}serializeToLuaCheck(text){let encoded=encodeURIComponent(text);this.engineLua(` nop([[
`,-1),ast.hoists.length&&push(`const { ${[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(helper=>helpers.includes(helper)).map(aliasHelper).join(`, `)} } = _Vue
`,-1)),genHoists(ast.hoists,context),newline(),push(`return `)}function genAssets(assets,type,{helper,push,newline,isTS}){let resolver=helper(type===`filter`?RESOLVE_FILTER:type===`component`?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let i=0;i3||!1;context.push(`[`),multilines&&context.indent(),genNodeList(nodes,context,multilines),multilines&&context.deindent(),context.push(`]`)}function genNodeList(nodes,context,multilines=!1,comma=!0){let{push,newline}=context;for(let i=0;iarg||`null`)}function genCallExpression(node,context){let{push,helper,pure}=context,callee=isString$1(node.callee)?node.callee:helper(node.callee);pure&&push(PURE_ANNOTATION),push(callee+`(`,-2,node),genNodeList(node.arguments,context),push(`)`)}function genObjectExpression(node,context){let{push,indent,deindent,newline}=context,{properties}=node;if(!properties.length){push(`{}`,-2,node);return}let multilines=properties.length>1||!1;push(multilines?`{`:`{ `),multilines&&indent();for(let i=0;i `),(newline||body)&&(push(`{`),indent()),returns?(newline&&push(`return `),isArray$2(returns)?genNodeListAsArray(returns,context):genNode(returns,context)):body&&genNode(body,context),(newline||body)&&(deindent(),push(`}`)),isSlot&&(node.isNonScopedSlot&&push(`, undefined, true`),push(`)`))}function genConditionalExpression(node,context){let{test,consequent,alternate,newline:needNewline}=node,{push,indent,deindent,newline}=context;if(test.type===4){let needsParens=!isSimpleIdentifier(test.content);needsParens&&push(`(`),genExpression(test,context),needsParens&&push(`)`)}else push(`(`),genNode(test,context),push(`)`);needNewline&&indent(),context.indentLevel++,needNewline||push(` `),push(`? `),genNode(consequent,context),context.indentLevel--,needNewline&&newline(),needNewline||push(` `),push(`: `);let isNested=alternate.type===19;isNested||context.indentLevel++,genNode(alternate,context),isNested||context.indentLevel--,needNewline&&deindent(!0)}function genCacheExpression(node,context){let{push,helper,indent,deindent,newline}=context,{needPauseTracking,needArraySpread}=node;needArraySpread&&push(`[...(`),push(`_cache[${node.index}] || (`),needPauseTracking&&(indent(),push(`${helper(SET_BLOCK_TRACKING)}(-1`),node.inVOnce&&push(`, true`),push(`),`),newline(),push(`(`)),push(`_cache[${node.index}] = `),genNode(node.value,context),needPauseTracking&&(push(`).cacheIndex = ${node.index},`),newline(),push(`${helper(SET_BLOCK_TRACKING)}(1),`),newline(),push(`_cache[${node.index}]`),deindent()),push(`)`),needArraySpread&&push(`)]`)}``+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`);var transformIf=createStructuralDirectiveTransform(/^(?:if|else|else-if)$/,(node,dir,context)=>processIf(node,dir,context,(ifNode,branch,isRoot)=>{let siblings=context.parent.children,i=siblings.indexOf(ifNode),key=0;for(;i-->=0;){let sibling=siblings[i];sibling&&sibling.type===9&&(key+=sibling.branches.length)}return()=>{if(isRoot)ifNode.codegenNode=createCodegenNodeForBranch(branch,key,context);else{let parentCondition=getParentCondition(ifNode.codegenNode);parentCondition.alternate=createCodegenNodeForBranch(branch,key+ifNode.branches.length-1,context)}}}));function processIf(node,dir,context,processCodegen){if(dir.name!==`else`&&(!dir.exp||!dir.exp.content.trim())){let loc=dir.exp?dir.exp.loc:node.loc;context.onError(createCompilerError(28,dir.loc)),dir.exp=createSimpleExpression(`true`,!1,loc)}if(dir.name===`if`){let branch=createIfBranch(node,dir),ifNode={type:9,loc:cloneLoc(node.loc),branches:[branch]};if(context.replaceNode(ifNode),processCodegen)return processCodegen(ifNode,branch,!0)}else{let siblings=context.parent.children,i=siblings.indexOf(node);for(;i-->=-1;){let sibling=siblings[i];if(sibling&&sibling.type===3){context.removeNode(sibling);continue}if(sibling&&sibling.type===2&&!sibling.content.trim().length){context.removeNode(sibling);continue}if(sibling&&sibling.type===9){(dir.name===`else-if`||dir.name===`else`)&&sibling.branches[sibling.branches.length-1].condition===void 0&&context.onError(createCompilerError(30,node.loc)),context.removeNode();let branch=createIfBranch(node,dir);sibling.branches.push(branch);let onExit=processCodegen&&processCodegen(sibling,branch,!1);traverseNode$1(branch,context),onExit&&onExit(),context.currentNode=null}else context.onError(createCompilerError(30,node.loc));break}}}function createIfBranch(node,dir){let isTemplateIf=node.tagType===3;return{type:10,loc:node.loc,condition:dir.name===`else`?void 0:dir.exp,children:isTemplateIf&&!findDir(node,`for`)?node.children:[node],userKey:findProp(node,`key`),isTemplateIf}}function createCodegenNodeForBranch(branch,keyIndex,context){return branch.condition?createConditionalExpression(branch.condition,createChildrenCodegenNode(branch,keyIndex,context),createCallExpression(context.helper(CREATE_COMMENT),[`""`,`true`])):createChildrenCodegenNode(branch,keyIndex,context)}function createChildrenCodegenNode(branch,keyIndex,context){let{helper}=context,keyProperty=createObjectProperty(`key`,createSimpleExpression(`${keyIndex}`,!1,locStub,2)),{children}=branch,firstChild=children[0];if(children.length!==1||firstChild.type!==1)if(children.length===1&&firstChild.type===11){let vnodeCall=firstChild.codegenNode;return injectProp(vnodeCall,keyProperty,context),vnodeCall}else return createVNodeCall(context,helper(FRAGMENT),createObjectExpression([keyProperty]),children,64,void 0,void 0,!0,!1,!1,branch.loc);else{let ret=firstChild.codegenNode,vnodeCall=getMemoedVNodeCall(ret);return vnodeCall.type===13&&convertToBlock(vnodeCall,context),injectProp(vnodeCall,keyProperty,context),ret}}function getParentCondition(node){for(;;)if(node.type===19)if(node.alternate.type===19)node=node.alternate;else return node;else node.type===20&&(node=node.value)}var transformFor=createStructuralDirectiveTransform(`for`,(node,dir,context)=>{let{helper,removeHelper}=context;return processFor(node,dir,context,forNode=>{let renderExp=createCallExpression(helper(RENDER_LIST),[forNode.source]),isTemplate=isTemplateNode(node),memo=findDir(node,`memo`),keyProp=findProp(node,`key`,!1,!0);keyProp&&keyProp.type;let keyExp=keyProp&&(keyProp.type===6?keyProp.value?createSimpleExpression(keyProp.value.content,!0):void 0:keyProp.exp),keyProperty=keyProp&&keyExp?createObjectProperty(`key`,keyExp):null,isStableFragment=forNode.source.type===4&&forNode.source.constType>0,fragmentFlag=isStableFragment?64:keyProp?128:256;return forNode.codegenNode=createVNodeCall(context,helper(FRAGMENT),void 0,renderExp,fragmentFlag,void 0,void 0,!0,!isStableFragment,!1,node.loc),()=>{let childBlock,{children}=forNode,needFragmentWrapper=children.length!==1||children[0].type!==1,slotOutlet=isSlotOutlet(node)?node:isTemplate&&node.children.length===1&&isSlotOutlet(node.children[0])?node.children[0]:null;if(slotOutlet?(childBlock=slotOutlet.codegenNode,isTemplate&&keyProperty&&injectProp(childBlock,keyProperty,context)):needFragmentWrapper?childBlock=createVNodeCall(context,helper(FRAGMENT),keyProperty?createObjectExpression([keyProperty]):void 0,node.children,64,void 0,void 0,!0,void 0,!1):(childBlock=children[0].codegenNode,isTemplate&&keyProperty&&injectProp(childBlock,keyProperty,context),childBlock.isBlock!==!isStableFragment&&(childBlock.isBlock?(removeHelper(OPEN_BLOCK),removeHelper(getVNodeBlockHelper(context.inSSR,childBlock.isComponent))):removeHelper(getVNodeHelper(context.inSSR,childBlock.isComponent))),childBlock.isBlock=!isStableFragment,childBlock.isBlock?(helper(OPEN_BLOCK),helper(getVNodeBlockHelper(context.inSSR,childBlock.isComponent))):helper(getVNodeHelper(context.inSSR,childBlock.isComponent))),memo){let loop=createFunctionExpression(createForLoopParams(forNode.parseResult,[createSimpleExpression(`_cached`)]));loop.body=createBlockStatement([createCompoundExpression([`const _memo = (`,memo.exp,`)`]),createCompoundExpression([`if (_cached`,...keyExp?[` && _cached.key === `,keyExp]:[],` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression([`const _item = `,childBlock]),createSimpleExpression(`_item.memo = _memo`),createSimpleExpression(`return _item`)]),renderExp.arguments.push(loop,createSimpleExpression(`_cache`),createSimpleExpression(String(context.cached.length))),context.cached.push(null)}else renderExp.arguments.push(createFunctionExpression(createForLoopParams(forNode.parseResult),childBlock,!0))}})});function processFor(node,dir,context,processCodegen){if(!dir.exp){context.onError(createCompilerError(31,dir.loc));return}let parseResult=dir.forParseResult;if(!parseResult){context.onError(createCompilerError(32,dir.loc));return}finalizeForParseResult(parseResult,context);let{addIdentifiers,removeIdentifiers,scopes}=context,{source,value,key,index}=parseResult,forNode={type:11,loc:dir.loc,source,valueAlias:value,keyAlias:key,objectIndexAlias:index,parseResult,children:isTemplateNode(node)?node.children:[node]};context.replaceNode(forNode),scopes.vFor++;let onExit=processCodegen&&processCodegen(forNode);return()=>{scopes.vFor--,onExit&&onExit()}}function finalizeForParseResult(result,context){result.finalized||=!0}function createForLoopParams({value,key,index},memoArgs=[]){return createParamsList([value,key,index,...memoArgs])}function createParamsList(args){let i=args.length;for(;i--&&!args[i];);return args.slice(0,i+1).map((arg,i2)=>arg||createSimpleExpression(`_`.repeat(i2+1),!1))}var defaultFallback=createSimpleExpression(`undefined`,!1),trackSlotScopes=(node,context)=>{if(node.type===1&&(node.tagType===1||node.tagType===3)){let vSlot=findDir(node,`slot`);if(vSlot)return vSlot.exp,context.scopes.vSlot++,()=>{context.scopes.vSlot--}}},buildClientSlotFn=(props,_vForExp,children,loc)=>createFunctionExpression(props,children,!1,!0,children.length?children[0].loc:loc);function buildSlots(node,context,buildSlotFn=buildClientSlotFn){context.helper(WITH_CTX);let{children,loc}=node,slotsProperties=[],dynamicSlots=[],hasDynamicSlots=context.scopes.vSlot>0||context.scopes.vFor>0,onComponentSlot=findDir(node,`slot`,!0);if(onComponentSlot){let{arg,exp}=onComponentSlot;arg&&!isStaticExp(arg)&&(hasDynamicSlots=!0),slotsProperties.push(createObjectProperty(arg||createSimpleExpression(`default`,!0),buildSlotFn(exp,void 0,children,loc)))}let hasTemplateSlots=!1,hasNamedDefaultSlot=!1,implicitDefaultChildren=[],seenSlotNames=new Set,conditionalBranchIndex=0;for(let i=0;i{let fn=buildSlotFn(props,void 0,children2,loc);return context.compatConfig&&(fn.isNonScopedSlot=!0),createObjectProperty(`default`,fn)};hasTemplateSlots?implicitDefaultChildren.length&&implicitDefaultChildren.some(node2=>isNonWhitespaceContent(node2))&&(hasNamedDefaultSlot?context.onError(createCompilerError(39,implicitDefaultChildren[0].loc)):slotsProperties.push(buildDefaultSlotProperty(void 0,implicitDefaultChildren))):slotsProperties.push(buildDefaultSlotProperty(void 0,children))}let slotFlag=hasDynamicSlots?2:hasForwardedSlots(node.children)?3:1,slots=createObjectExpression(slotsProperties.concat(createObjectProperty(`_`,createSimpleExpression(slotFlag+``,!1))),loc);return dynamicSlots.length&&(slots=createCallExpression(context.helper(CREATE_SLOTS),[slots,createArrayExpression(dynamicSlots)])),{slots,hasDynamicSlots}}function buildDynamicSlot(name,fn,index){let props=[createObjectProperty(`name`,name),createObjectProperty(`fn`,fn)];return index!=null&&props.push(createObjectProperty(`key`,createSimpleExpression(String(index),!0))),createObjectExpression(props)}function hasForwardedSlots(children){for(let i=0;ifunction(){if(node=context.currentNode,!(node.type===1&&(node.tagType===0||node.tagType===1)))return;let{tag,props}=node,isComponent$1=node.tagType===1,vnodeTag=isComponent$1?resolveComponentType(node,context):`"${tag}"`,isDynamicComponent=isObject$1(vnodeTag)&&vnodeTag.callee===RESOLVE_DYNAMIC_COMPONENT,vnodeProps,vnodeChildren,patchFlag=0,vnodeDynamicProps,dynamicPropNames,vnodeDirectives,shouldUseBlock=isDynamicComponent||vnodeTag===TELEPORT||vnodeTag===SUSPENSE||!isComponent$1&&(tag===`svg`||tag===`foreignObject`||tag===`math`);if(props.length>0){let propsBuildResult=buildProps(node,context,void 0,isComponent$1,isDynamicComponent);vnodeProps=propsBuildResult.props,patchFlag=propsBuildResult.patchFlag,dynamicPropNames=propsBuildResult.dynamicPropNames;let directives=propsBuildResult.directives;vnodeDirectives=directives&&directives.length?createArrayExpression(directives.map(dir=>buildDirectiveArgs(dir,context))):void 0,propsBuildResult.shouldUseBlock&&(shouldUseBlock=!0)}if(node.children.length>0)if(vnodeTag===KEEP_ALIVE&&(shouldUseBlock=!0,patchFlag|=1024),isComponent$1&&vnodeTag!==TELEPORT&&vnodeTag!==KEEP_ALIVE){let{slots,hasDynamicSlots}=buildSlots(node,context);vnodeChildren=slots,hasDynamicSlots&&(patchFlag|=1024)}else if(node.children.length===1&&vnodeTag!==TELEPORT){let child=node.children[0],type=child.type,hasDynamicTextChild=type===5||type===8;hasDynamicTextChild&&getConstantType(child,context)===0&&(patchFlag|=1),vnodeChildren=hasDynamicTextChild||type===2?child:node.children}else vnodeChildren=node.children;dynamicPropNames&&dynamicPropNames.length&&(vnodeDynamicProps=stringifyDynamicPropNames(dynamicPropNames)),node.codegenNode=createVNodeCall(context,vnodeTag,vnodeProps,vnodeChildren,patchFlag===0?void 0:patchFlag,vnodeDynamicProps,vnodeDirectives,!!shouldUseBlock,!1,isComponent$1,node.loc)};function resolveComponentType(node,context,ssr=!1){let{tag}=node,isExplicitDynamic=isComponentTag(tag),isProp=findProp(node,`is`,!1,!0);if(isProp)if(isExplicitDynamic||isCompatEnabled(`COMPILER_IS_ON_ELEMENT`,context)){let exp;if(isProp.type===6?exp=isProp.value&&createSimpleExpression(isProp.value.content,!0):(exp=isProp.exp,exp||=createSimpleExpression(`is`,!1,isProp.arg.loc)),exp)return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT),[exp])}else isProp.type===6&&isProp.value.content.startsWith(`vue:`)&&(tag=isProp.value.content.slice(4));let builtIn=isCoreComponent(tag)||context.isBuiltInComponent(tag);return builtIn?(ssr||context.helper(builtIn),builtIn):(context.helper(RESOLVE_COMPONENT),context.components.add(tag),toValidAssetId(tag,`component`))}function buildProps(node,context,props=node.props,isComponent$1,isDynamicComponent,ssr=!1){let{tag,loc:elementLoc,children}=node,properties=[],mergeArgs=[],runtimeDirectives=[],hasChildren=children.length>0,shouldUseBlock=!1,patchFlag=0,hasRef=!1,hasClassBinding=!1,hasStyleBinding=!1,hasHydrationEventBinding=!1,hasDynamicKeys=!1,hasVnodeHook=!1,dynamicPropNames=[],pushMergeArg=arg=>{properties.length&&(mergeArgs.push(createObjectExpression(dedupeProperties(properties),elementLoc)),properties=[]),arg&&mergeArgs.push(arg)},pushRefVForMarker=()=>{context.scopes.vFor>0&&properties.push(createObjectProperty(createSimpleExpression(`ref_for`,!0),createSimpleExpression(`true`)))},analyzePatchFlag=({key,value})=>{if(isStaticExp(key)){let name=key.content,isEventHandler=isOn(name);if(isEventHandler&&(!isComponent$1||isDynamicComponent)&&name.toLowerCase()!==`onclick`&&name!==`onUpdate:modelValue`&&!isReservedProp(name)&&(hasHydrationEventBinding=!0),isEventHandler&&isReservedProp(name)&&(hasVnodeHook=!0),isEventHandler&&value.type===14&&(value=value.arguments[0]),value.type===20||(value.type===4||value.type===8)&&getConstantType(value,context)>0)return;name===`ref`?hasRef=!0:name===`class`?hasClassBinding=!0:name===`style`?hasStyleBinding=!0:name!==`key`&&!dynamicPropNames.includes(name)&&dynamicPropNames.push(name),isComponent$1&&(name===`class`||name===`style`)&&!dynamicPropNames.includes(name)&&dynamicPropNames.push(name)}else hasDynamicKeys=!0};for(let i=0;imod.content===`prop`)&&(patchFlag|=32);let directiveTransform=context.directiveTransforms[name];if(directiveTransform){let{props:props2,needRuntime}=directiveTransform(prop,node,context);!ssr&&props2.forEach(analyzePatchFlag),isVOn&&arg&&!isStaticExp(arg)?pushMergeArg(createObjectExpression(props2,elementLoc)):properties.push(...props2),needRuntime&&(runtimeDirectives.push(prop),isSymbol(needRuntime)&&directiveImportMap.set(prop,needRuntime))}else isBuiltInDirective(name)||(runtimeDirectives.push(prop),hasChildren&&(shouldUseBlock=!0))}}let propsExpression;if(mergeArgs.length?(pushMergeArg(),propsExpression=mergeArgs.length>1?createCallExpression(context.helper(MERGE_PROPS),mergeArgs,elementLoc):mergeArgs[0]):properties.length&&(propsExpression=createObjectExpression(dedupeProperties(properties),elementLoc)),hasDynamicKeys?patchFlag|=16:(hasClassBinding&&!isComponent$1&&(patchFlag|=2),hasStyleBinding&&!isComponent$1&&(patchFlag|=4),dynamicPropNames.length&&(patchFlag|=8),hasHydrationEventBinding&&(patchFlag|=32)),!shouldUseBlock&&(patchFlag===0||patchFlag===32)&&(hasRef||hasVnodeHook||runtimeDirectives.length>0)&&(patchFlag|=512),!context.inSSR&&propsExpression)switch(propsExpression.type){case 15:let classKeyIndex=-1,styleKeyIndex=-1,hasDynamicKey=!1;for(let i=0;icreateObjectProperty(modifier,trueExpression)),loc))}return createArrayExpression(dirArgs,dir.loc)}function stringifyDynamicPropNames(props){let propsNamesString=`[`;for(let i=0,l=props.length;i{if(isSlotOutlet(node)){let{children,loc}=node,{slotName,slotProps}=processSlotOutlet(node,context),slotArgs=[context.prefixIdentifiers?`_ctx.$slots`:`$slots`,slotName,`{}`,`undefined`,`true`],expectedLen=2;slotProps&&(slotArgs[2]=slotProps,expectedLen=3),children.length&&(slotArgs[3]=createFunctionExpression([],children,!1,!1,loc),expectedLen=4),context.scopeId&&!context.slotted&&(expectedLen=5),slotArgs.splice(expectedLen),node.codegenNode=createCallExpression(context.helper(RENDER_SLOT),slotArgs,loc)}};function processSlotOutlet(node,context){let slotName=`"default"`,slotProps,nonNameProps=[];for(let i=0;i0){let{props,directives}=buildProps(node,context,nonNameProps,!1,!1);slotProps=props,directives.length&&context.onError(createCompilerError(36,directives[0].loc))}return{slotName,slotProps}}var transformOn=(dir,node,context,augmentor)=>{let{loc,modifiers,arg}=dir;!dir.exp&&!modifiers.length&&context.onError(createCompilerError(35,loc));let eventName;if(arg.type===4)if(arg.isStatic){let rawName=arg.content;rawName.startsWith(`vue:`)&&(rawName=`vnode-${rawName.slice(4)}`),eventName=createSimpleExpression(node.tagType!==0||rawName.startsWith(`vnode`)||!/[A-Z]/.test(rawName)?toHandlerKey(camelize(rawName)):`on:${rawName}`,!0,arg.loc)}else eventName=createCompoundExpression([`${context.helperString(TO_HANDLER_KEY)}(`,arg,`)`]);else eventName=arg,eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`),eventName.children.push(`)`);let exp=dir.exp;exp&&!exp.content.trim()&&(exp=void 0);let shouldCache=context.cacheHandlers&&!exp&&!context.inVOnce;if(exp){let isMemberExp=isMemberExpression(exp),isInlineStatement=!(isMemberExp||isFnExpression(exp)),hasMultipleStatements=exp.content.includes(`;`);(isInlineStatement||shouldCache&&isMemberExp)&&(exp=createCompoundExpression([`${isInlineStatement?`$event`:`(...args)`} => ${hasMultipleStatements?`{`:`(`}`,exp,hasMultipleStatements?`}`:`)`]))}let ret={props:[createObjectProperty(eventName,exp||createSimpleExpression(`() => {}`,!1,loc))]};return augmentor&&(ret=augmentor(ret)),shouldCache&&(ret.props[0].value=context.cache(ret.props[0].value)),ret.props.forEach(p$1=>p$1.key.isHandlerKey=!0),ret},transformBind=(dir,_node,context)=>{let{modifiers,loc}=dir,arg=dir.arg,{exp}=dir;return exp&&exp.type===4&&!exp.content.trim()&&(exp=void 0),arg.type===4?arg.isStatic||(arg.content=arg.content?`${arg.content} || ""`:`""`):(arg.children.unshift(`(`),arg.children.push(`) || ""`)),modifiers.some(mod=>mod.content===`camel`)&&(arg.type===4?arg.isStatic?arg.content=camelize(arg.content):arg.content=`${context.helperString(CAMELIZE)}(${arg.content})`:(arg.children.unshift(`${context.helperString(CAMELIZE)}(`),arg.children.push(`)`))),context.inSSR||(modifiers.some(mod=>mod.content===`prop`)&&injectPrefix(arg,`.`),modifiers.some(mod=>mod.content===`attr`)&&injectPrefix(arg,`^`)),{props:[createObjectProperty(arg,exp)]}},injectPrefix=(arg,prefix$1)=>{arg.type===4?arg.isStatic?arg.content=prefix$1+arg.content:arg.content=`\`${prefix$1}\${${arg.content}}\``:(arg.children.unshift(`'${prefix$1}' + (`),arg.children.push(`)`))},transformText=(node,context)=>{if(node.type===0||node.type===1||node.type===11||node.type===10)return()=>{let children=node.children,currentContainer,hasText=!1;for(let i=0;ip$1.type===7&&!context.directiveTransforms[p$1.name])&&node.tag!==`template`)))for(let i=0;i{if(node.type===1&&findDir(node,`once`,!0))return seen$1.has(node)||context.inVOnce||context.inSSR?void 0:(seen$1.add(node),context.inVOnce=!0,context.helper(SET_BLOCK_TRACKING),()=>{context.inVOnce=!1;let cur=context.currentNode;cur.codegenNode&&=context.cache(cur.codegenNode,!0,!0)})},transformModel=(dir,node,context)=>{let{exp,arg}=dir;if(!exp)return context.onError(createCompilerError(41,dir.loc)),createTransformProps();let rawExp=exp.loc.source.trim(),expString=exp.type===4?exp.content:rawExp,bindingType=context.bindingMetadata[rawExp];if(bindingType===`props`||bindingType===`props-aliased`)return context.onError(createCompilerError(44,exp.loc)),createTransformProps();if(!expString.trim()||!isMemberExpression(exp))return context.onError(createCompilerError(42,exp.loc)),createTransformProps();let propName=arg||createSimpleExpression(`modelValue`,!0),eventName=arg?isStaticExp(arg)?`onUpdate:${camelize(arg.content)}`:createCompoundExpression([`"onUpdate:" + `,arg]):`onUpdate:modelValue`,assignmentExp;assignmentExp=createCompoundExpression([`${context.isTS?`($event: any)`:`$event`} => ((`,exp,`) = $event)`]);let props=[createObjectProperty(propName,dir.exp),createObjectProperty(eventName,assignmentExp)];if(dir.modifiers.length&&node.tagType===1){let modifiers=dir.modifiers.map(m=>m.content).map(m=>(isSimpleIdentifier(m)?m:JSON.stringify(m))+`: true`).join(`, `),modifiersKey=arg?isStaticExp(arg)?`${arg.content}Modifiers`:createCompoundExpression([arg,` + "Modifiers"`]):`modelModifiers`;props.push(createObjectProperty(modifiersKey,createSimpleExpression(`{ ${modifiers} }`,!1,dir.loc,2)))}return createTransformProps(props)};function createTransformProps(props=[]){return{props}}var validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(node,context)=>{isCompatEnabled(`COMPILER_FILTERS`,context)&&(node.type===5?rewriteFilter(node.content,context):node.type===1&&node.props.forEach(prop=>{prop.type===7&&prop.name!==`for`&&prop.exp&&rewriteFilter(prop.exp,context)}))};function rewriteFilter(node,context){if(node.type===4)parseFilter(node,context);else for(let i=0;i=0&&(p$1=exp.charAt(j),p$1===` `);j--);(!p$1||!validDivisionCharRE.test(p$1))&&(inRegex=!0)}}expression===void 0?expression=exp.slice(0,i).trim():lastFilterIndex!==0&&pushFilter();function pushFilter(){filters.push(exp.slice(lastFilterIndex,i).trim()),lastFilterIndex=i+1}if(filters.length){for(i=0;i{if(node.type===1){let dir=findDir(node,`memo`);return!dir||seen$2.has(node)||context.inSSR?void 0:(seen$2.add(node),()=>{let codegenNode=node.codegenNode||context.currentNode.codegenNode;codegenNode&&codegenNode.type===13&&(node.tagType!==1&&convertToBlock(codegenNode,context),node.codegenNode=createCallExpression(context.helper(WITH_MEMO),[dir.exp,createFunctionExpression(void 0,codegenNode),`_cache`,String(context.cached.length)]),context.cached.push(null))})}},transformVBindShorthand=(node,context)=>{if(node.type===1){for(let prop of node.props)if(prop.type===7&&prop.name===`bind`&&!prop.exp){let arg=prop.arg;if(arg.type!==4||!arg.isStatic)context.onError(createCompilerError(52,arg.loc)),prop.exp=createSimpleExpression(``,!0,arg.loc);else{let propName=camelize(arg.content);(validFirstIdentCharRE.test(propName[0])||propName[0]===`-`)&&(prop.exp=createSimpleExpression(propName,!1,arg.loc))}}}};function getBaseTransformPreset(prefixIdentifiers){return[[transformVBindShorthand,transformOnce,transformIf,transformMemo,transformFor,...[transformFilter],...[],transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn,bind:transformBind,model:transformModel}]}function baseCompile$2(source,options={}){let onError=options.onError||defaultOnError$1,isModuleMode=options.mode===`module`;options.prefixIdentifiers===!0?onError(createCompilerError(47)):isModuleMode&&onError(createCompilerError(48));let prefixIdentifiers=!1;options.cacheHandlers&&onError(createCompilerError(49)),options.scopeId&&!isModuleMode&&onError(createCompilerError(50));let resolvedOptions=extend({},options,{prefixIdentifiers:!1}),ast=isString$1(source)?baseParse(source,resolvedOptions):source,[nodeTransforms,directiveTransforms]=getBaseTransformPreset();return transform$1(ast,extend({},resolvedOptions,{nodeTransforms:[...nodeTransforms,...options.nodeTransforms||[]],directiveTransforms:extend({},directiveTransforms,options.directiveTransforms||{})})),generate$1(ast,resolvedOptions)}var noopDirectiveTransform=()=>({props:[]}),V_MODEL_RADIO=Symbol(``),V_MODEL_CHECKBOX=Symbol(``),V_MODEL_TEXT=Symbol(``),V_MODEL_SELECT=Symbol(``),V_MODEL_DYNAMIC=Symbol(``),V_ON_WITH_MODIFIERS=Symbol(``),V_ON_WITH_KEYS=Symbol(``),V_SHOW=Symbol(``),TRANSITION=Symbol(``),TRANSITION_GROUP=Symbol(``);registerRuntimeHelpers({[V_MODEL_RADIO]:`vModelRadio`,[V_MODEL_CHECKBOX]:`vModelCheckbox`,[V_MODEL_TEXT]:`vModelText`,[V_MODEL_SELECT]:`vModelSelect`,[V_MODEL_DYNAMIC]:`vModelDynamic`,[V_ON_WITH_MODIFIERS]:`withModifiers`,[V_ON_WITH_KEYS]:`withKeys`,[V_SHOW]:`vShow`,[TRANSITION]:`Transition`,[TRANSITION_GROUP]:`TransitionGroup`});var decoder;function decodeHtmlBrowser(raw,asAttr=!1){return decoder||=document.createElement(`div`),asAttr?(decoder.innerHTML=`
`,decoder.children[0].getAttribute(`foo`)):(decoder.innerHTML=raw,decoder.textContent)}var parserOptions={parseMode:`html`,isVoidTag,isNativeTag:tag=>isHTMLTag(tag)||isSVGTag(tag)||isMathMLTag(tag),isPreTag:tag=>tag===`pre`,isIgnoreNewlineTag:tag=>tag===`pre`||tag===`textarea`,decodeEntities:decodeHtmlBrowser,isBuiltInComponent:tag=>{if(tag===`Transition`||tag===`transition`)return TRANSITION;if(tag===`TransitionGroup`||tag===`transition-group`)return TRANSITION_GROUP},getNamespace(tag,parent,rootNamespace){let ns=parent?parent.ns:rootNamespace;if(parent&&ns===2)if(parent.tag===`annotation-xml`){if(tag===`svg`)return 1;parent.props.some(a$1=>a$1.type===6&&a$1.name===`encoding`&&a$1.value!=null&&(a$1.value.content===`text/html`||a$1.value.content===`application/xhtml+xml`))&&(ns=0)}else /^m(?:[ions]|text)$/.test(parent.tag)&&tag!==`mglyph`&&tag!==`malignmark`&&(ns=0);else parent&&ns===1&&(parent.tag===`foreignObject`||parent.tag===`desc`||parent.tag===`title`)&&(ns=0);if(ns===0){if(tag===`svg`)return 1;if(tag===`math`)return 2}return ns}},transformStyle=node=>{node.type===1&&node.props.forEach((p$1,i)=>{p$1.type===6&&p$1.name===`style`&&p$1.value&&(node.props[i]={type:7,name:`bind`,arg:createSimpleExpression(`style`,!0,p$1.loc),exp:parseInlineCSS(p$1.value.content,p$1.loc),modifiers:[],loc:p$1.loc})})},parseInlineCSS=(cssText,loc)=>{let normalized=parseStringStyle(cssText);return createSimpleExpression(JSON.stringify(normalized),!1,loc,3)};function createDOMCompilerError(code,loc){return createCompilerError(code,loc,void 0)}var transformVHtml=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(53,loc)),node.children.length&&(context.onError(createDOMCompilerError(54,loc)),node.children.length=0),{props:[createObjectProperty(createSimpleExpression(`innerHTML`,!0,loc),exp||createSimpleExpression(``,!0))]}},transformVText=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(55,loc)),node.children.length&&(context.onError(createDOMCompilerError(56,loc)),node.children.length=0),{props:[createObjectProperty(createSimpleExpression(`textContent`,!0),exp?getConstantType(exp,context)>0?exp:createCallExpression(context.helperString(TO_DISPLAY_STRING),[exp],loc):createSimpleExpression(``,!0))]}},transformModel$1=(dir,node,context)=>{let baseResult=transformModel(dir,node,context);if(!baseResult.props.length||node.tagType===1)return baseResult;dir.arg&&context.onError(createDOMCompilerError(58,dir.arg.loc));let{tag}=node,isCustomElement=context.isCustomElement(tag);if(tag===`input`||tag===`textarea`||tag===`select`||isCustomElement){let directiveToUse=V_MODEL_TEXT,isInvalidType=!1;if(tag===`input`||isCustomElement){let type=findProp(node,`type`);if(type){if(type.type===7)directiveToUse=V_MODEL_DYNAMIC;else if(type.value)switch(type.value.content){case`radio`:directiveToUse=V_MODEL_RADIO;break;case`checkbox`:directiveToUse=V_MODEL_CHECKBOX;break;case`file`:isInvalidType=!0,context.onError(createDOMCompilerError(59,dir.loc));break;default:break}}else hasDynamicKeyVBind(node)&&(directiveToUse=V_MODEL_DYNAMIC)}else tag===`select`&&(directiveToUse=V_MODEL_SELECT);isInvalidType||(baseResult.needRuntime=context.helper(directiveToUse))}else context.onError(createDOMCompilerError(57,dir.loc));return baseResult.props=baseResult.props.filter(p$1=>!(p$1.key.type===4&&p$1.key.content===`modelValue`)),baseResult},isEventOptionModifier=makeMap(`passive,once,capture`),isNonKeyModifier=makeMap(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),maybeKeyModifier=makeMap(`left,right`),isKeyboardEvent=makeMap(`onkeyup,onkeydown,onkeypress`),resolveModifiers=(key,modifiers,context,loc)=>{let keyModifiers=[],nonKeyModifiers=[],eventOptionModifiers=[];for(let i=0;iisStaticExp(key)&&key.content.toLowerCase()===`onclick`?createSimpleExpression(event,!0):key.type===4?key:createCompoundExpression([`(`,key,`) === "onClick" ? "${event}" : (`,key,`)`]),transformOn$1=(dir,node,context)=>transformOn(dir,node,context,baseResult=>{let{modifiers}=dir;if(!modifiers.length)return baseResult;let{key,value:handlerExp}=baseResult.props[0],{keyModifiers,nonKeyModifiers,eventOptionModifiers}=resolveModifiers(key,modifiers,context,dir.loc);if(nonKeyModifiers.includes(`right`)&&(key=transformClick(key,`onContextmenu`)),nonKeyModifiers.includes(`middle`)&&(key=transformClick(key,`onMouseup`)),nonKeyModifiers.length&&(handlerExp=createCallExpression(context.helper(V_ON_WITH_MODIFIERS),[handlerExp,JSON.stringify(nonKeyModifiers)])),keyModifiers.length&&(!isStaticExp(key)||isKeyboardEvent(key.content.toLowerCase()))&&(handlerExp=createCallExpression(context.helper(V_ON_WITH_KEYS),[handlerExp,JSON.stringify(keyModifiers)])),eventOptionModifiers.length){let modifierPostfix=eventOptionModifiers.map(capitalize$1).join(``);key=isStaticExp(key)?createSimpleExpression(`${key.content}${modifierPostfix}`,!0):createCompoundExpression([`(`,key,`) + "${modifierPostfix}"`])}return{props:[createObjectProperty(key,handlerExp)]}}),transformShow=(dir,node,context)=>{let{exp,loc}=dir;return exp||context.onError(createDOMCompilerError(61,loc)),{props:[],needRuntime:context.helper(V_SHOW)}},ignoreSideEffectTags=(node,context)=>{node.type===1&&node.tagType===0&&(node.tag===`script`||node.tag===`style`)&&context.removeNode()},DOMNodeTransforms=[transformStyle,...[]],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel$1,on:transformOn$1,show:transformShow};function compile$1(src,options={}){return baseCompile$2(src,extend({},parserOptions,options,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...options.nodeTransforms||[]],directiveTransforms:extend({},DOMDirectiveTransforms,options.directiveTransforms||{}),transformHoist:null}))}var vue_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,compile:()=>compileToFunction,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),compileCache$1=Object.create(null);function compileToFunction(template,options){if(!isString$1(template))if(template.nodeType)template=template.innerHTML;else return NOOP;let key=genCacheKey(template,options),cached=compileCache$1[key];if(cached)return cached;if(template[0]===`#`){let el=document.querySelector(template);template=el?el.innerHTML:``}let opts=extend({hoistStatic:!0,onError:void 0,onWarn:NOOP},options);!opts.isCustomElement&&typeof customElements<`u`&&(opts.isCustomElement=tag=>!!customElements.get(tag));let{code}=compile$1(template,opts),render$1=Function(`Vue`,code)(runtime_dom_esm_bundler_exports);return render$1._rc=!0,compileCache$1[key]=render$1}registerRuntimeCompiler(compileToFunction);var activePinia,setActivePinia=pinia$1=>activePinia=pinia$1,piniaSymbol=Symbol();function isPlainObject$1(o){return o&&typeof o==`object`&&Object.prototype.toString.call(o)===`[object Object]`&&typeof o.toJSON!=`function`}var MutationType;(function(MutationType$1){MutationType$1.direct=`direct`,MutationType$1.patchObject=`patch object`,MutationType$1.patchFunction=`patch function`})(MutationType||={});var IS_CLIENT=typeof window<`u`,_global=(()=>typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null})();function bom(blob,{autoBom=!1}={}){return autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)?new Blob([``,blob],{type:blob.type}):blob}function download(url,name,opts){let xhr=new XMLHttpRequest;xhr.open(`GET`,url),xhr.responseType=`blob`,xhr.onload=function(){saveAs(xhr.response,name,opts)},xhr.onerror=function(){console.error(`could not download file`)},xhr.send()}function corsEnabled(url){let xhr=new XMLHttpRequest;xhr.open(`HEAD`,url,!1);try{xhr.send()}catch{}return xhr.status>=200&&xhr.status<=299}function click(node){try{node.dispatchEvent(new MouseEvent(`click`))}catch{let evt=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});node.dispatchEvent(evt)}}var _navigator=typeof navigator==`object`?navigator:{userAgent:``},isMacOSWebView=(()=>/Macintosh/.test(_navigator.userAgent)&&/AppleWebKit/.test(_navigator.userAgent)&&!/Safari/.test(_navigator.userAgent))(),saveAs=IS_CLIENT?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!isMacOSWebView?downloadSaveAs:`msSaveOrOpenBlob`in _navigator?msSaveAs:fileSaverSaveAs:()=>{};function downloadSaveAs(blob,name=`download`,opts){let a$1=document.createElement(`a`);a$1.download=name,a$1.rel=`noopener`,typeof blob==`string`?(a$1.href=blob,a$1.origin===location.origin?click(a$1):corsEnabled(a$1.href)?download(blob,name,opts):(a$1.target=`_blank`,click(a$1))):(a$1.href=URL.createObjectURL(blob),setTimeout(function(){URL.revokeObjectURL(a$1.href)},4e4),setTimeout(function(){click(a$1)},0))}function msSaveAs(blob,name=`download`,opts){if(typeof blob==`string`)if(corsEnabled(blob))download(blob,name,opts);else{let a$1=document.createElement(`a`);a$1.href=blob,a$1.target=`_blank`,setTimeout(function(){click(a$1)})}else navigator.msSaveOrOpenBlob(bom(blob,opts),name)}function fileSaverSaveAs(blob,name,opts,popup){if(popup||=open(``,`_blank`),popup&&(popup.document.title=popup.document.body.innerText=`downloading...`),typeof blob==`string`)return download(blob,name,opts);let force=blob.type===`application/octet-stream`,isSafari=/constructor/i.test(String(_global.HTMLElement))||`safari`in _global,isChromeIOS=/CriOS\/[\d]+/.test(navigator.userAgent);if((isChromeIOS||force&&isSafari||isMacOSWebView)&&typeof FileReader<`u`){let reader=new FileReader;reader.onloadend=function(){let url=reader.result;if(typeof url!=`string`)throw popup=null,Error(`Wrong reader.result type`);url=isChromeIOS?url:url.replace(/^data:[^;]*;/,`data:attachment/file;`),popup?popup.location.href=url:location.assign(url),popup=null},reader.readAsDataURL(blob)}else{let url=URL.createObjectURL(blob);popup?popup.location.assign(url):location.href=url,popup=null,setTimeout(function(){URL.revokeObjectURL(url)},4e4)}}var{assign:assign$1$1}=Object;function createPinia(){let scope$1=effectScope(!0),state=scope$1.run(()=>ref({})),_p=[],toBeInstalled=[],pinia$1=markRaw({install(app$1){setActivePinia(pinia$1),pinia$1._a=app$1,app$1.provide(piniaSymbol,pinia$1),app$1.config.globalProperties.$pinia=pinia$1,toBeInstalled.forEach(plugin=>_p.push(plugin)),toBeInstalled=[]},use(plugin){return this._a?_p.push(plugin):toBeInstalled.push(plugin),this},_p,_a:null,_e:scope$1,_s:new Map,state});return pinia$1}var noop$2=()=>{};function addSubscription(subscriptions,callback,detached,onCleanup=noop$2){subscriptions.push(callback);let removeSubscription=()=>{let idx=subscriptions.indexOf(callback);idx>-1&&(subscriptions.splice(idx,1),onCleanup())};return!detached&&getCurrentScope()&&onScopeDispose(removeSubscription),removeSubscription}function triggerSubscriptions(subscriptions,...args){subscriptions.slice().forEach(callback=>{callback(...args)})}var fallbackRunWithContext=fn=>fn(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(target,patchToApply){for(let key in target instanceof Map&&patchToApply instanceof Map?patchToApply.forEach((value,key)=>target.set(key,value)):target instanceof Set&&patchToApply instanceof Set&&patchToApply.forEach(target.add,target),patchToApply){if(!patchToApply.hasOwnProperty(key))continue;let subPatch=patchToApply[key],targetValue=target[key];isPlainObject$1(targetValue)&&isPlainObject$1(subPatch)&&target.hasOwnProperty(key)&&!isRef(subPatch)&&!isReactive(subPatch)?target[key]=mergeReactiveObjects(targetValue,subPatch):target[key]=subPatch}return target}var skipHydrateSymbol=Symbol();function shouldHydrate(obj){return!isPlainObject$1(obj)||!Object.prototype.hasOwnProperty.call(obj,skipHydrateSymbol)}var{assign:assign$2}=Object;function isComputed(o){return!!(isRef(o)&&o.effect)}function createOptionsStore(id,options,pinia$1,hot){let{state,actions,getters}=options,initialState=pinia$1.state.value[id],store$1;function setup$3(){return initialState||(pinia$1.state.value[id]=state?state():{}),assign$2(toRefs(pinia$1.state.value[id]),actions,Object.keys(getters||{}).reduce((computedGetters,name)=>(computedGetters[name]=markRaw(computed(()=>{setActivePinia(pinia$1);let store$2=pinia$1._s.get(id);return getters[name].call(store$2,store$2)})),computedGetters),{}))}return store$1=createSetupStore(id,setup$3,options,pinia$1,hot,!0),store$1}function createSetupStore($id,setup$3,options={},pinia$1,hot,isOptionsStore){let scope$1,optionsForPlugin=assign$2({actions:{}},options),$subscribeOptions={deep:!0},isListening,isSyncListening,subscriptions=[],actionSubscriptions=[],debuggerEvents,initialState=pinia$1.state.value[$id];!isOptionsStore&&!initialState&&(pinia$1.state.value[$id]={}),ref({});let activeListener;function $patch(partialStateOrMutator){let subscriptionMutation;isListening=isSyncListening=!1,typeof partialStateOrMutator==`function`?(partialStateOrMutator(pinia$1.state.value[$id]),subscriptionMutation={type:MutationType.patchFunction,storeId:$id,events:void 0}):(mergeReactiveObjects(pinia$1.state.value[$id],partialStateOrMutator),subscriptionMutation={type:MutationType.patchObject,payload:partialStateOrMutator,storeId:$id,events:void 0});let myListenerId=activeListener=Symbol();nextTick().then(()=>{activeListener===myListenerId&&(isListening=!0)}),isSyncListening=!0,triggerSubscriptions(subscriptions,subscriptionMutation,pinia$1.state.value[$id])}let $reset=isOptionsStore?function(){let{state}=options,newState=state?state():{};this.$patch($state=>{assign$2($state,newState)})}:noop$2;function $dispose(){scope$1.stop(),subscriptions=[],actionSubscriptions=[],pinia$1._s.delete($id)}let action=(fn,name=``)=>{if(ACTION_MARKER in fn)return fn[ACTION_NAME]=name,fn;let wrappedAction=function(){setActivePinia(pinia$1);let args=Array.from(arguments),afterCallbackList=[],onErrorCallbackList=[];function after(callback){afterCallbackList.push(callback)}function onError(callback){onErrorCallbackList.push(callback)}triggerSubscriptions(actionSubscriptions,{args,name:wrappedAction[ACTION_NAME],store:store$1,after,onError});let ret;try{ret=fn.apply(this&&this.$id===$id?this:store$1,args)}catch(error){throw triggerSubscriptions(onErrorCallbackList,error),error}return ret instanceof Promise?ret.then(value=>(triggerSubscriptions(afterCallbackList,value),value)).catch(error=>(triggerSubscriptions(onErrorCallbackList,error),Promise.reject(error))):(triggerSubscriptions(afterCallbackList,ret),ret)};return wrappedAction[ACTION_MARKER]=!0,wrappedAction[ACTION_NAME]=name,wrappedAction},store$1=reactive({_p:pinia$1,$id,$onAction:addSubscription.bind(null,actionSubscriptions),$patch,$reset,$subscribe(callback,options$1={}){let removeSubscription=addSubscription(subscriptions,callback,options$1.detached,()=>stopWatcher()),stopWatcher=scope$1.run(()=>watch(()=>pinia$1.state.value[$id],state=>{(options$1.flush===`sync`?isSyncListening:isListening)&&callback({storeId:$id,type:MutationType.direct,events:void 0},state)},assign$2({},$subscribeOptions,options$1)));return removeSubscription},$dispose});pinia$1._s.set($id,store$1);let setupStore=(pinia$1._a&&pinia$1._a.runWithContext||fallbackRunWithContext)(()=>pinia$1._e.run(()=>(scope$1=effectScope()).run(()=>setup$3({action}))));for(let key in setupStore){let prop=setupStore[key];isRef(prop)&&!isComputed(prop)||isReactive(prop)?isOptionsStore||(initialState&&shouldHydrate(prop)&&(isRef(prop)?prop.value=initialState[key]:mergeReactiveObjects(prop,initialState[key])),pinia$1.state.value[$id][key]=prop):typeof prop==`function`&&(setupStore[key]=action(prop,key),optionsForPlugin.actions[key]=prop)}return assign$2(store$1,setupStore),assign$2(toRaw(store$1),setupStore),Object.defineProperty(store$1,`$state`,{get:()=>pinia$1.state.value[$id],set:state=>{$patch($state=>{assign$2($state,state)})}}),pinia$1._p.forEach(extender=>{assign$2(store$1,scope$1.run(()=>extender({store:store$1,app:pinia$1._a,pinia:pinia$1,options:optionsForPlugin})))}),initialState&&isOptionsStore&&options.hydrate&&options.hydrate(store$1.$state,initialState),isListening=!0,isSyncListening=!0,store$1}function defineStore(id,setup$3,setupOptions){let options,isSetupStore=typeof setup$3==`function`;options=isSetupStore?setupOptions:setup$3;function useStore$1(pinia$1,hot){let hasContext=hasInjectionContext();return pinia$1||=hasContext?inject(piniaSymbol,null):null,pinia$1&&setActivePinia(pinia$1),pinia$1=activePinia,pinia$1._s.has(id)||(isSetupStore?createSetupStore(id,setup$3,options,pinia$1):createOptionsStore(id,options,pinia$1)),pinia$1._s.get(id)}return useStore$1.$id=id,useStore$1}function storeToRefs(store$1){let rawStore=toRaw(store$1),refs={};for(let key in rawStore){let value=rawStore[key];value.effect?refs[key]=computed({get:()=>store$1[key],set(value$1){store$1[key]=value$1}}):(isRef(value)||isReactive(value))&&(refs[key]=toRef(store$1,key))}return refs}var require_eventemitter3=__commonJSMin(((exports,module)=>{var has=Object.prototype.hasOwnProperty,prefix=`~`;function Events(){}Object.create&&(Events.prototype=Object.create(null),new Events().__proto__||(prefix=!1));function EE(fn,context,once){this.fn=fn,this.context=context,this.once=once||!1}function addListener(emitter,event,fn,context,once){if(typeof fn!=`function`)throw TypeError(`The listener must be a function`);var listener=new EE(fn,context||emitter,once),evt=prefix?prefix+event:event;return emitter._events[evt]?emitter._events[evt].fn?emitter._events[evt]=[emitter._events[evt],listener]:emitter._events[evt].push(listener):(emitter._events[evt]=listener,emitter._eventsCount++),emitter}function clearEvent(emitter,evt){--emitter._eventsCount===0?emitter._events=new Events:delete emitter._events[evt]}function EventEmitter$1(){this._events=new Events,this._eventsCount=0}EventEmitter$1.prototype.eventNames=function(){var names=[],events$3,name;if(this._eventsCount===0)return names;for(name in events$3=this._events)has.call(events$3,name)&&names.push(prefix?name.slice(1):name);return Object.getOwnPropertySymbols?names.concat(Object.getOwnPropertySymbols(events$3)):names},EventEmitter$1.prototype.listeners=function(event){var evt=prefix?prefix+event:event,handlers$1=this._events[evt];if(!handlers$1)return[];if(handlers$1.fn)return[handlers$1.fn];for(var i=0,l=handlers$1.length,ee=Array(l);ithis.onBNGAPICallback(idx,result))}onBNGAPICallback(idx,result){idx in this.apiCallbacks&&(this.apiCallbacks[idx](result),delete this.apiCallbacks[idx])}engineScript(cmd,callback){if(!callback){beamNG$1.sendGameEngine(cmd);return}this.apiCallbacks[++this.callbackId]=callback,cmd.charAt(cmd.length-1)==`;`&&(cmd=cmd.substr(0,cmd.length-1)),beamNG$1.sendGameEngine(`queueHookJS("onBNGAPICallback","["@`+this.callbackId+`@","@strreplace(`+cmd+`,"\\"","\\\\\\"")@"]");`)}activeObjectLua(cmd,callback){if(!callback){beamNG$1.sendActiveObjectLua(cmd);return}if(!cmd){console.error(`activeObjectLua cmd null`,arguments);return}this.apiCallbacks[++this.callbackId]=callback,beamNG$1.sendActiveObjectLua(`guihooks.trigger("onBNGAPICallback",`+this.callbackId+`,`+cmd+`)`)}subscribeToEvents(data){beamNG$1.subscribeToEvents(data)}engineLua(cmd,callback){if(beamNG$1){if(!callback){beamNG$1.sendEngineLua(cmd);return}cmd||=`nop`,this.apiCallbacks[++this.callbackId]=callback,beamNG$1.sendEngineLua(`guihooks.trigger("onBNGAPICallback",`+this.callbackId+`,`+cmd+`)`)}}queueAllObjectLua(cmd){beamNG$1.queueAllObjectLua(cmd)}serializeToLuaCheck(text){let encoded=encodeURIComponent(text);this.engineLua(` nop([[
Child:`,prioNode),warnPrioNesting=!0)}let active=document.activeElement;(!active||!prioNode.contains(active))&&(rectNode=prioNode)}let rect=rectNode.getBoundingClientRect();if(rect.right<0||rect.bottom<0||rect.left>screen.width||rect.top>screen.height){node.classList.remove(MENU_NAVIGATION_CLASS);continue}node.classList.add(MENU_NAVIGATION_CLASS),node.tabIndex=0;let lnk={dom:node,rect};links.up&&links.up.push(lnk),links.down&&links.down.push(lnk),links.left&&links.left.push(lnk),links.right&&links.right.push(lnk)}return links.up&&links.up.sort((a$1,b)=>a$1.rect.top-b.rect.top),links.down&&links.down.sort((a$1,b)=>a$1.rect.bottom-b.rect.bottom),links.left&&links.left.sort((a$1,b)=>a$1.rect.left-b.rect.left),links.right&&links.right.sort((a$1,b)=>a$1.rect.right-b.rect.right),links}function isAvailable(node){if(!isVisibleFast(node))return!1;let style=document.defaultView.getComputedStyle(node,null);return style[`pointer-events`]===`none`||!isVisible(node,style)?!1:!isOccluded(node)}function isOccluded(node,dontIgnoreOffscreen=!1){let rects=node.getClientRects();for(let rect of rects)if(!isOccluded$1(node,rect,dontIgnoreOffscreen))return!1;return!0}function getDistanceFast(curr,goal,direction$1,usePerpendicular=!1){let dx=Math.min(goal.right,curr.right)-Math.max(goal.left,curr.left),dy=Math.min(goal.bottom,curr.bottom)-Math.max(goal.top,curr.top);dx===goal.right-goal.left&&(dx=curr.right-goal.left),dy===goal.bottom-goal.top&&(dy=curr.bottom-goal.top);let res=1/0;if(direction$1===DIR.DOWN&&goal.bottom>curr.bottom?res=Math.max(0,goal.bottom-curr.top)-dx:direction$1===DIR.UP&&goal.topcurr.right?res=Math.max(0,goal.left-curr.right)-dy:direction$1===DIR.LEFT&&goal.left{let firstLink=null,firstElementDistance=2**53-1;for(let link of links){let distance=link.rect.top*link.rect.top+link.rect.left*link.rect.left;distance>firstElementDistance||(firstElementDistance=distance,firstLink=link)}if(!firstLink){console.log(`Couldn't locate any button anywhere. Menu navigation won't work`);return}focusOnElement(firstLink.dom),scrollFix(firstLink,direction$1)}),!0;if(active.nodeName===`MD-SLIDER`&&(direction$1===DIR.LEFT||direction$1===DIR.RIGHT)||active.nodeName===`MD-OPTION`&&(direction$1===DIR.UP||direction$1===DIR.DOWN)||active.nodeName===`INPUT`&&active.type===`range`&&(direction$1===DIR.LEFT||direction$1===DIR.RIGHT))return fireKey(active,direction$1),!0;let{nearestLink,fixScroll}=findNext(links,direction$1,active);if(nearestLink)return focusOnElement(nearestLink.dom),fixScroll?.(),nearestLink.dom;if(links.length===0){let mdBackdrops=[...document.querySelectorAll(`md-backdrop, .md-scroll-mask`)];if(mdBackdrops.length>0){for(let el of mdBackdrops)try{el.parentNode.removeChild(el)}catch{}return navigateNext(links,direction$1,activeOverride)}}return!1}function findNext(links,direction$1,activeOverride=null){let active=activeOverride||document.activeElement,activeRect=active.getBoundingClientRect(),fixScroll=!0;if(isScrolling(direction$1)&&isOccluded(active,activeRect,!0)){let axis,boundsame,boundchange;switch(direction$1){case DIR.UP:case DIR.DOWN:axis=`vertical`,boundsame=[`left`,`right`],boundchange=[`top`,`bottom`];break;case DIR.LEFT:case DIR.RIGHT:axis=`horizontal`,boundsame=[`top`,`bottom`],boundchange=[`left`,`right`];break}if(navScrolling[axis].area){let bounds=navScrolling[axis].area.bounds,axisBound=activeRect[boundchange[1]]scrollFix(nearestLink,direction$1):null}}var navScrolling={running:!1,listening:{vertical:!1,horizontal:!1},dom:null,rect:null,vertical:{active:!1,amount:0,area:null},horizontal:{active:!1,amount:0,area:null},hint:{show:!1}};function drawScrollHint(){let show=isScrolling();if(navScrolling.hint.show===show)return;navScrolling.hint.show=show;let elem=document.getElementById(`xf_scroll`);elem&&(elem.style.display=show?``:`none`)}function navigateScroll(axis,amount){if(axis===AXIS_V&&(amount=-amount),navScrolling[axis].amount=amount*15,Math.abs(navScrolling[axis].amount)<1){navScrolling[axis].active=!1;return}navScrolling[axis].active=!0;let dom=document.activeElement;navScrolling.dom!==dom&&(navScrolling.dom=dom,navScrolling.rect=dom.getBoundingClientRect(),navScrolling[axis===AXIS_H?AXIS_V:AXIS_H].active=!1);let area=findScrollable(navScrolling,axis,!0);if(navScrolling[axis].area=area,!area){navScrolling[axis].active=!1;return}return navScrolling.running||window.requestAnimationFrame(function scrl(){let set={};for(let axis$1 of[AXIS_V,AXIS_H]){let cur=navScrolling[axis$1];if(!cur.active||!cur.area)continue;let pos=cur.area.parent[cur.area.readby]+navScrolling[axis$1].amount;pos>cur.area.fullsize?cur.active=!1:set[cur.area.moveby]=pos}navScrolling.running=Object.keys(set).length>0,navScrolling.running&&(area.parent.scrollTo({...set,behavior:`instant`}),document.dispatchEvent(new CustomEvent(`mdtooltiphide`)),window.requestAnimationFrame(scrl))}),!0}function scrollCatch(axis,enable){if(navScrolling.listening[axis]===enable)return;let cur=isScrolling();navScrolling.listening[axis]=enable,cur!==isScrolling()&&(bngApi.engineLua(`local o = scenetree.findObject("MenuScrollActionMap"); if o then o:${enable?`push`:`pop`}() end`),window.bngVue.uiNavTracker&&(enable?window.bngVue.uiNavTracker.addEvent(UI_SCROLL_ACTION_EVENTS[axis],TRACKER_ID):window.bngVue.uiNavTracker.removeEvent(UI_SCROLL_ACTION_EVENTS[axis],TRACKER_ID)))}function isScrolling(direction$1=void 0){let scrolling=!1;return direction$1?direction$1===DIR.UP||direction$1===DIR.DOWN?scrolling=navScrolling.listening.vertical:(direction$1===DIR.LEFT||direction$1===DIR.RIGHT)&&(scrolling=navScrolling.listening.horizontal):scrolling=navScrolling.listening.horizontal||navScrolling.listening.vertical,scrolling}function isScrollListening(axis=void 0){let listening=!1;return listening=axis?navScrolling.listening[axis]:navScrolling.listening.horizontal||navScrolling.listening.vertical,listening}function findScrollable(link,axis,thumbstick){axis!==AXIS_V&&axis!==AXIS_H&&(axis=AXIS_V);let opts=axis===AXIS_H?{moveby:`left`,readby:`scrollLeft`,size:`width`,scroll:`scrollWidth`,client:`clientWidth`,overflow:`overflow-x`}:{moveby:`top`,readby:`scrollTop`,size:`height`,scroll:`scrollHeight`,client:`clientHeight`,overflow:`overflow-y`},forced=!1,parent,fullsize,size$3,node=link.dom?.parentNode;function setParent(node$1){if(!node$1)return;if(thumbstick){let noNav=node$1.attributes.getNamedItem(SCROLL_ATTR);if(noNav&&noNav.value===`false`)return}let styles$1=document.defaultView.getComputedStyle(node$1,null);(styles$1[opts.overflow]===`auto`||styles$1[opts.overflow]===`scroll`)&&(fullsize=node$1[opts.scroll],size$3=node$1[opts.client],fullsize>size$3&&(parent=node$1))}for(;node&&node.isConnected&&node.nodeType===Node.ELEMENT_NODE&&!((!thumbstick||node.attributes.getNamedItem(`bng-nav-scroll`))&&(setParent(node),parent));)node=node.parentNode;if(!parent){let elems$2=document.querySelectorAll(`[${SCROLL_FORCE_ATTR}]`);for(let elem of elems$2)if(setParent(elem),parent){forced=!0;break}}if(scrollCatch(axis,!!parent),drawScrollHint(),!parent)return null;let start=0,styles=document.defaultView.getComputedStyle(parent,null);[`relative`,`absolute`,`static`,`fixed`].includes(styles.position)&&(start+=parent.getBoundingClientRect()[opts.moveby]);let pad=link.rect?Math.max(size$3/4,link.rect[opts.size]):size$3/4,bounds=[start+pad,start+size$3-pad];return{parent,moveby:opts.moveby,readby:opts.readby,bounds,fullsize,start:0,finish:fullsize-size$3,forced}}function scrollFix(link,direction$1){let area=findScrollable(link,direction$1===DIR.UP||direction$1===DIR.DOWN?AXIS_V:AXIS_H);if(!area){document.querySelector(`[bng-nav-scroll], [bng-nav-scroll-force]`)&&findScrollable(link,direction$1===DIR.LEFT||direction$1===DIR.RIGHT?AXIS_V:AXIS_H);return}if(area.forced)return;let mov=-1;direction$1===DIR.UP||direction$1===DIR.DOWN?link.rect.toparea.bounds[1]&&(mov=Math.min(area.parent.scrollTop-area.bounds[1]+link.rect.bottom,area.finish)):link.rect.leftarea.bounds[1]&&(mov=Math.min(area.parent.scrollLeft-area.bounds[1]+link.rect.right,area.finish)),mov>-1&&area.parent.scrollTo({[area.moveby]:mov,behavior:`instant`})}function fireKey(element,direction$1){let key=DIR_KEYS[direction$1];key&&dispatchKey(key,element)}function handleUINavEvent(e,restrictTo=void 0){let d=e.detail,handled=!1;if(d.name in UI_SCALAR_EVENT_ACTIONS){let axis=UI_SCALAR_EVENT_ACTIONS[d.name],value=d.value;if(value!==0&&THUMBSTICK_DEADZONE>0&&Math.abs(value)>THUMBSTICK_DEADZONE){let adjustedValue=(axis===AXIS_V?-value:value)>0?1:-1,direction$1=axis===AXIS_H?adjustedValue>0?DIR.RIGHT:DIR.LEFT:adjustedValue>0?DIR.DOWN:DIR.UP;lastScalarValue[axis]!==adjustedValue&&(lastScalarValue[axis]=adjustedValue,navigate(collectRects(direction$1,restrictTo),direction$1))}else lastScalarValue[axis]=0;handled=!0}if(d.name in UI_NAV_EVENT_ACTIONS){let action=UI_NAV_EVENT_ACTIONS[d.name];switch(action){case`up`:case`down`:case`left`:case`right`:d.value==1&&(navigate(collectRects(action,restrictTo),action),handled=!0);break;case`confirm`:if(d.value==1){let activeEl=document.activeElement;isNavigable$1(activeEl)&&(typeof activeEl.click==`function`?activeEl.click():activeEl.dispatchEvent(new CustomEvent(`click`))),handled=!0}break}}else if(d.name in UI_SCROLL_EVENT_ACTIONS){let axis=UI_SCROLL_EVENT_ACTIONS[d.name];navigateScroll(axis,d.value),handled=isScrollListening(axis)}handled&&e.preventDefault()}var SCOPED_NAV_ATTR$1=`bng-scoped-nav`,UI_NAV_ACTION_GROUP$1=`UINavActions`,GAME_UI_NAVIGATION_EVENT$1=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT$1=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT$1=`ui_nav`,UI_SCOPE_ATTR$3=`bng-ui-scope`,UI_EVENT_ATTR$1=`ui-nav-event`,ACTIONS_BY_UI_EVENT$1={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,gameplay_interact:`cui_gameplay_interact`,context:`cui_context`},UI_EVENTS_BY_ACTION$1=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT$1).map(([k,v])=>({[v]:k}))),UI_EVENTS$1={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,gameplay_interact:`gameplay_interact`,context:`context`},UI_EVENT_GROUPS$1={focusMove:[UI_EVENTS$1.focus_u,UI_EVENTS$1.focus_d,UI_EVENTS$1.focus_l,UI_EVENTS$1.focus_r],focusMoveScalar:[UI_EVENTS$1.focus_ud,UI_EVENTS$1.focus_lr],moveScalar:[UI_EVENTS$1.move_ud,UI_EVENTS$1.move_lr],navigation:[UI_EVENTS$1.focus_u,UI_EVENTS$1.focus_d,UI_EVENTS$1.focus_l,UI_EVENTS$1.focus_r,UI_EVENTS$1.focus_ud,UI_EVENTS$1.focus_lr,UI_EVENTS$1.move_ud,UI_EVENTS$1.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT$1)},setFilteredEvents=(...events$3)=>{clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT$1[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP$1,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP$1,!0)};setFilteredEvents.allExcept=(...events$3)=>{let eventsToNotFilter=[...new Set(events$3.flat(1/0))];setFilteredEvents(UI_EVENT_GROUPS$1.allEvents.filter(ev=>!eventsToNotFilter.includes(ev)))};var clearFilteredEvents=()=>{Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP$1,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP$1,[])};const clamp=(val,min$1,max$1)=>Math.min(Math.max(val,min$1),max$1),round=(val,step=1)=>{if(val===void 0)throw Error(`The function at least needs a value`);return Math.round(val/step+2**-52)*step},roundDec=(val,dec=0)=>{if(val===void 0)throw Error(`The function at least needs a value`);if(dec>15)throw Error(`Floating point won't be precise after 15th decimal`);if(val===0)return 0;if(!Number.isInteger(dec))throw Error(`Decimal point must be an integer`);let pow=10**dec;return Math.round(val*pow+2**-52)/pow},roundDecSample=(val,sample=0)=>{let dec=getDecimalPlaces(sample);return dec===0?round(val):roundDec(val,dec)},getDecimalPlaces=num=>{if(Number.isInteger(num)||!Number.isFinite(num))return 0;let dec=0;for(;!Number.isInteger(num)&&Number.isFinite(num)&&(num*=10,dec++,!(dec>15)););return dec};var UIUnits_default=class{uiUnits={uiUnitLength:`metric`,uiUnitTemperature:`f`,uiUnitWeight:`lb`,uiUnitConsumptionRate:`imperial`,uiUnitTorque:`imperial`,uiUnitEnergy:`imperial`,uiUnitDate:`us`,uiUnitPower:`bhp`,uiUnitVolume:`gal`,uiUnitPressure:`psi`};mapping={length:`uiUnitLength`,speed:`uiUnitLength`,temperature:`uiUnitTemperature`,weight:`uiUnitWeight`,consumptionRate:`uiUnitConsumptionRate`,torque:`uiUnitTorque`,energy:`uiUnitEnergy`,date:`uiUnitDate`,power:`uiUnitPower`,volume:`uiUnitVolume`,pressure:`uiUnitPressure`,lengthMinor:`uiUnitLength`};userSettings={uiLanguage:`en-US`};eventBus={};api={};constructor(eventBus$1,api$1){this.eventBus=eventBus$1,this.api=api$1,this.beamBucks=this.beamBucks.bind(this),this.eventBus.on(`SettingsChanged`,data=>this.onSettingsChanged(data)),api$1.engineLua(`settings.notifyUI()`)}onSettingsChanged(data){for(let name in this.uiUnits)data.values[name]!==void 0&&(this.uiUnits[name]=data.values[name]);for(let name in this.userSettings)data.values[name]!==void 0&&(this.userSettings[name]=data.values[name].replace(/_/g,`-`))}buildString(func,val,numDecs,system){if([`division`,`buildString`,`date`].includes(func)||typeof this[func]!=`function`)throw Error(`Cannot use this function to build a string`);this.mapping[func]!==void 0&&system===void 0&&(system=this.uiUnits[this.mapping[func]]);let helper=this[func](val,system);return helper===null?``:typeof helper.val==`string`?helper.val:typeof helper.val==`number`?(helper.val<0&&helper.val>-(10**-numDecs)&&(helper.val=0),Intl.NumberFormat(this.userSettings.uiLanguage,{style:`decimal`,minimumFractionDigits:numDecs,maximumFractionDigits:numDecs}).format(helper.val)+` `+helper.unit):``}division(func1,func2,val1,val2,numDecs,system1,system2){let unsupported=[`division`,`weightPower`,`buildString`,`date`];if(unsupported.includes(func1)||typeof this[func1]!=`function`||unsupported.includes(func2)||typeof this[func2]!=`function`)throw Error(`Cannot use these functions`);let helper1=this[func1](val1,system1),helper2=this[func2](val2,system2);if(helper1!==null&&helper2!==null){let newVal=helper1.val/helper2.val;return{val:numDecs===void 0?newVal:roundDec(newVal,numDecs),unit:`${helper1.unit}/${helper2.unit}`}}else return console.error(`got null`,arguments),null}weightPower(x){let helper=this.division(`weight`,`power`,1,1);return helper===null?null:{val:helper.val*x,unit:helper.unit}}length(meters,system=this.uiUnits.uiUnitLength){if(system===`metric`)return meters<.01?{val:meters*1e3,unit:`mm`}:meters<1?{val:meters*100,unit:`cm`}:meters<1e3?{val:meters,unit:`m`}:{val:meters*.001,unit:`km`};if(system===`imperial`){let yd=meters*1.0936;return yd<1?{val:yd*36,unit:`in`}:yd<3?{val:yd*3,unit:`ft`}:{val:yd*568182e-9,unit:`mi`}}return null}distance=this.length;lengthMinor(meters,system=this.uiUnits.uiUnitLength){return system===`metric`?{val:meters*1,unit:`m`}:system===`imperial`?{val:meters*1.0936*3,unit:`ft`}:null}area(squareMeters,system=this.uiUnits.uiUnitLength){if(system===`metric`)return squareMeters<1e3?{val:squareMeters,unit:`sq m`}:{val:squareMeters*.001*.001,unit:`sq km`};if(system===`imperial`){let sqrYards=squareMeters*1.0936*1.0936;return sqrYards<1760?{val:sqrYards,unit:`sq yd`}:{val:sqrYards*568182e-9*568182e-9,unit:`sq mi`}}return null}temperature(x,system=this.uiUnits.uiUnitTemperature){switch(system){case`c`:return{val:x,unit:`°C`};case`f`:return{val:x*1.8+32,unit:`°F`};case`k`:return{val:x+273.15,unit:`K`};default:return null}}volume(x,system=this.uiUnits.uiUnitVolume){switch(system){case`l`:return{val:x,unit:`L`};case`gal`:return{val:x*.2642,unit:`gal`};default:return null}}pressure(x,system=this.uiUnits.uiUnitPressure){switch(system){case`inHg`:return{val:x*.2953,unit:`in.Hg`};case`bar`:return{val:x*.01,unit:`Bar`};case`psi`:return{val:x*.145038,unit:`PSI`};case`kPa`:return{val:x,unit:`kPa`};default:return null}}weight(x,system=this.uiUnits.uiUnitWeight){switch(system){case`kg`:return{val:x,unit:`kg`};case`lb`:return{val:2.20462262*x,unit:`lbs`};default:return null}}consumptionRate(x,system=this.uiUnits.uiUnitConsumptionRate){switch(system){case`metric`:return{val:1e5*x>5e4?`n/a`:1e5*x,unit:`L/100km`};case`imperial`:return{val:x===0?0:235*1e-5/x,unit:`MPG`};default:return null}}speed(x,system=this.uiUnits.uiUnitLength){switch(system){case`metric`:return{val:3.6*x,unit:`km/h`};case`imperial`:return{val:2.23693629*x,unit:`mph`};default:return null}}power(x,system=this.uiUnits.uiUnitPower){switch(system){case`kw`:return{val:.735499*x,unit:`kW`};case`hp`:return{val:x,unit:`PS`};case`bhp`:return{val:.98632*x,unit:`bhp`};default:return null}}torque(x,system=this.uiUnits.uiUnitTorque){switch(system===`metric`?system=`kg`:system===`imperial`&&(system=`lb`),system){case`kg`:return{val:x,unit:`Nm`};case`lb`:return{val:.7375621495*x,unit:`lb-ft`};default:return null}}energy(x,system=this.uiUnits.uiUnitEnergy){switch(system===`metric`?system=`j`:system===`imperial`&&(system=`ft lb`),system){case`j`:return{val:x,unit:`J`};case`ft lb`:return{val:.7375621495*x,unit:`ft lb`};default:return null}}date(x,system=this.uiUnits.uiUnitDate){switch(system){case`ger`:return x.toLocaleDateString(`de-DE`);case`uk`:return x.toLocaleDateString(`en-GB`);case`us`:return x.toLocaleDateString(`en-US`);default:return null}}beamBucks(x){return Intl.NumberFormat(this.userSettings.uiLanguage,{style:`decimal`,maximumFractionDigits:2,minimumFractionDigits:2}).format(+x)}},lite_default=class{constructor(){this.processing=!1,this.pending=0,this.finishCallback=null,this.angularRootScope=window.globalAngularRootScope,this.angularTimeout=null,this.angularTimeoutRetry=null,this.angularTimeoutWarned=!1,this.safetyTimeout=2e3,this.safetyTimer=null,this.warned=!1}setAngularRootScope(rootScope){this.angularRootScope=rootScope,this.angularTimeout=null,this.angularTimeoutRetry&&=(clearTimeout(this.angularTimeoutRetry),null)}getAngularTimeout(){if(this.angularTimeout!==null)return typeof this.angularTimeout==`function`?this.angularTimeout:null;let code;this.angularTimeoutRetry&&(code=`retry`,clearTimeout(this.angularTimeoutRetry));try{if(window.angular!==void 0&&window.angular.element){let injector=window.angular.element(document).injector();if(injector)return this.angularTimeout=injector.get(`$timeout`),this.angularTimeoutWarned&&console.log(`Stream Coordinator: Angular $timeout service resolved after retry`),this.angularTimeout;code=`no-injector`}else code=`no-angular`}catch{code=`error`}return this.angularTimeout=!1,this.angularTimeoutRetry||=setTimeout(()=>{this.angularTimeout||=null},5e3),console.warn(`Stream Coordinator: Angular $timeout service not available (${code})`),this.angularTimeoutWarned=!0,null}beforeBroadcast(){this.processing||(this.processing=!0,this.finishCallback=null,this.pending=0,this.safetyTimer&&clearTimeout(this.safetyTimer),this.safetyTimer=setTimeout(()=>{this.processing&&this.forceComplete()},this.safetyTimeout))}afterBroadcast(callback){if(callback&&typeof callback==`function`?this.finishCallback=()=>{this.finishCallback=void 0,Promise.resolve().then(callback)}:this.finishCallback=void 0,!this.processing){this.finishCallback?.();return}this.startDeferredWork()}startDeferredWork(){this.pending=0;let angularTimeout=this.getAngularTimeout();angularTimeout&&(this.angularRootScope||=window.globalAngularRootScope,this.angularRootScope&&(this.pending++,angularTimeout(()=>this.onOperationComplete(),0))),window.Vue?.nextTick&&(this.pending++,window.Vue.nextTick(()=>this.onOperationComplete())),this.pending===0&&(this.warned||(this.warned=!0,console.warn(`Stream Coordinator: No Angular $timeout() nor Vue.nextTick() detected, using only Promise microtask instead`)),this.complete())}onOperationComplete(){this.processing&&(this.pending--,this.pending<=0&&this.complete())}complete(){this.processing&&(this.safetyTimer&&=(clearTimeout(this.safetyTimer),null),Promise.resolve().then(()=>{this.processing=!1,window.beamng?.uiFrameCallback?.(),this.finishCallback?.()}))}forceComplete(){this.complete()}},dependencies,bridge$3;const useBridge=()=>{if(bridge$3)return bridge$3;if(window.bridge)return bridge$3=window.bridge;let events$3=new dependencies.Emitter,coordinator=new lite_default(events$3);Hooks_default.setStreamCoordinator(coordinator);let api$1=dependencies.overrideAPI||new BeamNGAPI_default(events$3,dependencies.beamng);return bridge$3={api:api$1,lua:Lua_default,events:events$3,streams:new StreamManager_default(api$1),coordinator,hooks:Hooks_default,units:new UIUnits_default(events$3,api$1),gameBlurrer:GameBlurrer_default,beamNG:dependencies.beamng},bridge$3},setBridgeDependencies=deps$1=>dependencies=deps$1;var DEBUG=1,INFO=2,WARN=4,ERROR=8,consoleLogMethods={[DEBUG]:`log`,[INFO]:`info`,[WARN]:`warn`,[ERROR]:`error`},consoleLogProvider={log(level$1,...msgs){level$1 in consoleLogMethods&&console[consoleLogMethods[level$1]](...msgs)}},level=14,providersInUse=[consoleLogProvider],STACK_TRACE=Symbol(`Stack trace`),_stackTrace=()=>`
`+Error().stack,_log=(lvl,...msgs)=>{level&lvl&&(msgs=msgs.map(msg=>msg===STACK_TRACE?_stackTrace():msg),providersInUse.forEach(p$1=>p$1.log&&p$1.log(lvl,...msgs)))},_assert=async(lvl,cond,...msgs)=>{level&lvl&&(cond?cond instanceof Promise?cond.then(res=>!res&&_log(lvl,...msgs)):typeof cond==`function`&&!await cond()&&_log(lvl,...msgs):_log(lvl,...msgs))},logger={DEBUG,INFO,WARN,ERROR,setProviders:(...providers)=>providersInUse=providers,set level(val){return level=val},get level(){return level},STACK_TRACE,log:(...msgs)=>_log(DEBUG,...msgs),debug:(...msgs)=>_log(DEBUG,...msgs),info:(...msgs)=>_log(INFO,...msgs),warn:(...msgs)=>_log(WARN,...msgs),error:(...msgs)=>_log(ERROR,...msgs),assert:(cond,...msgs)=>_assert(DEBUG,cond,...msgs),assertDebug:(cond,...msgs)=>_assert(DEBUG,cond,...msgs),assertInfo:(cond,...msgs)=>_assert(INFO,cond,...msgs),assertWarn:(cond,...msgs)=>_assert(WARN,cond,...msgs),assertError:(cond,...msgs)=>_assert(ERROR,cond,...msgs)};window.BNG_Logger=logger;var logger_default=logger;function warn(msg,err){typeof console<`u`&&(console.warn(`[intlify] `+msg),err&&console.warn(err.stack))}var inBrowser=typeof window<`u`,makeSymbol=(name,shareable=!1)=>shareable?Symbol.for(name):Symbol(name),generateFormatCacheKey=(locale,key,source)=>friendlyJSONstringify({l:locale,k:key,s:source}),friendlyJSONstringify=json=>JSON.stringify(json).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),isNumber=val=>typeof val==`number`&&isFinite(val),isRegExp=val=>toTypeString(val)===`[object RegExp]`,isEmptyObject=val=>isPlainObject(val)&&Object.keys(val).length===0,assign$1=Object.assign,_create=Object.create,create=(obj=null)=>_create(obj),_globalThis,getGlobalThis=()=>_globalThis||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:create();function escapeHtml(rawText){return rawText.replace(/&/g,`&`).replace(//g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function escapeAttributeValue(value){return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(//g,`>`)}function sanitizeTranslatedHtml(html){return html=html.replace(/(\w+)\s*=\s*"([^"]*)"/g,(_,attrName,attrValue)=>`${attrName}="${escapeAttributeValue(attrValue)}"`),html=html.replace(/(\w+)\s*=\s*'([^']*)'/g,(_,attrName,attrValue)=>`${attrName}='${escapeAttributeValue(attrValue)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(html)&&(html=html.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(pattern=>{html=html.replace(pattern,`$1javascript:`)}),html}var hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(obj,key){return hasOwnProperty.call(obj,key)}var isArray$1=Array.isArray,isFunction=val=>typeof val==`function`,isString=val=>typeof val==`string`,isBoolean=val=>typeof val==`boolean`,isObject=val=>typeof val==`object`&&!!val,isPromise=val=>isObject(val)&&isFunction(val.then)&&isFunction(val.catch),objectToString=Object.prototype.toString,toTypeString=value=>objectToString.call(value),isPlainObject=val=>toTypeString(val)===`[object Object]`,toDisplayString$1=val=>val==null?``:isArray$1(val)||isPlainObject(val)&&val.toString===objectToString?JSON.stringify(val,null,2):String(val);function join(items$2,separator=``){return items$2.reduce((str,item,index)=>index===0?str+item:str+separator+item,``)}var isNotObjectOrIsArray=val=>!isObject(val)||isArray$1(val);function deepCopy(src,des){if(isNotObjectOrIsArray(src)||isNotObjectOrIsArray(des))throw Error(`Invalid value`);let stack$2=[{src,des}];for(;stack$2.length;){let{src:src$1,des:des$1}=stack$2.pop();Object.keys(src$1).forEach(key=>{key!==`__proto__`&&(isObject(src$1[key])&&!isObject(des$1[key])&&(des$1[key]=Array.isArray(src$1[key])?[]:create()),isNotObjectOrIsArray(des$1[key])||isNotObjectOrIsArray(src$1[key])?des$1[key]=src$1[key]:stack$2.push({src:src$1[key],des:des$1[key]}))})}}function createPosition(line,column,offset$2){return{line,column,offset:offset$2}}function createLocation(start,end,source){let loc={start,end};return source!=null&&(loc.source=source),loc}var CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},COMPILE_ERROR_CODES_EXTEND_POINT=17,errorMessages={[CompileErrorCodes.EXPECTED_TOKEN]:`Expected token: '{0}'`,[CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]:`Invalid token in placeholder: '{0}'`,[CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:`Unterminated single quote in placeholder`,[CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]:`Unknown escape sequence: \\{0}`,[CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]:`Invalid unicode escape sequence: {0}`,[CompileErrorCodes.UNBALANCED_CLOSING_BRACE]:`Unbalanced closing brace`,[CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]:`Unterminated closing brace`,[CompileErrorCodes.EMPTY_PLACEHOLDER]:`Empty placeholder`,[CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]:`Not allowed nest placeholder`,[CompileErrorCodes.INVALID_LINKED_FORMAT]:`Invalid linked format`,[CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]:`Plural must have messages`,[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]:`Unexpected empty linked modifier`,[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]:`Unexpected empty linked key`,[CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]:`Unexpected lexical analysis in token: '{0}'`,[CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]:`unhandled codegen node type: '{0}'`,[CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]:`unhandled mimifier node type: '{0}'`};function createCompileError(code,loc,options={}){let{domain,messages,args}=options,msg=code,error=SyntaxError(String(msg));return error.code=code,loc&&(error.location=loc),error.domain=domain,error}function defaultOnError(error){throw error}var CHAR_SP=` `,CHAR_CR=`\r`,CHAR_LF=`
`,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
Child:`,prioNode),warnPrioNesting=!0)}let active=document.activeElement;(!active||!prioNode.contains(active))&&(rectNode=prioNode)}let rect=rectNode.getBoundingClientRect();if(rect.right<0||rect.bottom<0||rect.left>screen.width||rect.top>screen.height){node.classList.remove(MENU_NAVIGATION_CLASS);continue}node.classList.add(MENU_NAVIGATION_CLASS),node.tabIndex=0;let lnk={dom:node,rect};links.up&&links.up.push(lnk),links.down&&links.down.push(lnk),links.left&&links.left.push(lnk),links.right&&links.right.push(lnk)}return links.up&&links.up.sort((a$1,b)=>a$1.rect.top-b.rect.top),links.down&&links.down.sort((a$1,b)=>a$1.rect.bottom-b.rect.bottom),links.left&&links.left.sort((a$1,b)=>a$1.rect.left-b.rect.left),links.right&&links.right.sort((a$1,b)=>a$1.rect.right-b.rect.right),links}function isAvailable(node){if(!isVisibleFast(node))return!1;let style=document.defaultView.getComputedStyle(node,null);return style[`pointer-events`]===`none`||!isVisible(node,style)?!1:!isOccluded(node)}function isOccluded(node,dontIgnoreOffscreen=!1){let rects=node.getClientRects();for(let rect of rects)if(!isOccluded$1(node,rect,dontIgnoreOffscreen))return!1;return!0}function getDistanceFast(curr,goal,direction$1,usePerpendicular=!1){let dx=Math.min(goal.right,curr.right)-Math.max(goal.left,curr.left),dy=Math.min(goal.bottom,curr.bottom)-Math.max(goal.top,curr.top);dx===goal.right-goal.left&&(dx=curr.right-goal.left),dy===goal.bottom-goal.top&&(dy=curr.bottom-goal.top);let res=1/0;if(direction$1===DIR.DOWN&&goal.bottom>curr.bottom?res=Math.max(0,goal.bottom-curr.top)-dx:direction$1===DIR.UP&&goal.topcurr.right?res=Math.max(0,goal.left-curr.right)-dy:direction$1===DIR.LEFT&&goal.left{let firstLink=null,firstElementDistance=2**53-1;for(let link of links){let distance=link.rect.top*link.rect.top+link.rect.left*link.rect.left;distance>firstElementDistance||(firstElementDistance=distance,firstLink=link)}if(!firstLink){console.log(`Couldn't locate any button anywhere. Menu navigation won't work`);return}focusOnElement(firstLink.dom),scrollFix(firstLink,direction$1)}),!0;if(active.nodeName===`MD-SLIDER`&&(direction$1===DIR.LEFT||direction$1===DIR.RIGHT)||active.nodeName===`MD-OPTION`&&(direction$1===DIR.UP||direction$1===DIR.DOWN)||active.nodeName===`INPUT`&&active.type===`range`&&(direction$1===DIR.LEFT||direction$1===DIR.RIGHT))return fireKey(active,direction$1),!0;let{nearestLink,fixScroll}=findNext(links,direction$1,active);if(nearestLink)return focusOnElement(nearestLink.dom),fixScroll?.(),nearestLink.dom;if(links.length===0){let mdBackdrops=[...document.querySelectorAll(`md-backdrop, .md-scroll-mask`)];if(mdBackdrops.length>0){for(let el of mdBackdrops)try{el.parentNode.removeChild(el)}catch{}return navigateNext(links,direction$1,activeOverride)}}return!1}function findNext(links,direction$1,activeOverride=null){let active=activeOverride||document.activeElement,activeRect=active.getBoundingClientRect(),fixScroll=!0;if(isScrolling(direction$1)&&isOccluded(active,activeRect,!0)){let axis,boundsame,boundchange;switch(direction$1){case DIR.UP:case DIR.DOWN:axis=`vertical`,boundsame=[`left`,`right`],boundchange=[`top`,`bottom`];break;case DIR.LEFT:case DIR.RIGHT:axis=`horizontal`,boundsame=[`top`,`bottom`],boundchange=[`left`,`right`];break}if(navScrolling[axis].area){let bounds=navScrolling[axis].area.bounds,axisBound=activeRect[boundchange[1]]scrollFix(nearestLink,direction$1):null}}var navScrolling={running:!1,listening:{vertical:!1,horizontal:!1},dom:null,rect:null,vertical:{active:!1,amount:0,area:null},horizontal:{active:!1,amount:0,area:null},hint:{show:!1}};function drawScrollHint(){let show=isScrolling();if(navScrolling.hint.show===show)return;navScrolling.hint.show=show;let elem=document.getElementById(`xf_scroll`);elem&&(elem.style.display=show?``:`none`)}function navigateScroll(axis,amount){if(axis===AXIS_V&&(amount=-amount),navScrolling[axis].amount=amount*15,Math.abs(navScrolling[axis].amount)<1){navScrolling[axis].active=!1;return}navScrolling[axis].active=!0;let dom=document.activeElement;navScrolling.dom!==dom&&(navScrolling.dom=dom,navScrolling.rect=dom.getBoundingClientRect(),navScrolling[axis===AXIS_H?AXIS_V:AXIS_H].active=!1);let area=findScrollable(navScrolling,axis,!0);if(navScrolling[axis].area=area,!area){navScrolling[axis].active=!1;return}return navScrolling.running||window.requestAnimationFrame(function scrl(){let set={};for(let axis$1 of[AXIS_V,AXIS_H]){let cur=navScrolling[axis$1];if(!cur.active||!cur.area)continue;let pos=cur.area.parent[cur.area.readby]+navScrolling[axis$1].amount;pos>cur.area.fullsize?cur.active=!1:set[cur.area.moveby]=pos}navScrolling.running=Object.keys(set).length>0,navScrolling.running&&(area.parent.scrollTo({...set,behavior:`instant`}),document.dispatchEvent(new CustomEvent(`mdtooltiphide`)),window.requestAnimationFrame(scrl))}),!0}function scrollCatch(axis,enable){if(navScrolling.listening[axis]===enable)return;let cur=isScrolling();navScrolling.listening[axis]=enable,cur!==isScrolling()&&(bngApi.engineLua(`local o = scenetree.findObject("MenuScrollActionMap"); if o then o:${enable?`push`:`pop`}() end`),window.bngVue.uiNavTracker&&(enable?window.bngVue.uiNavTracker.addEvent(UI_SCROLL_ACTION_EVENTS[axis],TRACKER_ID):window.bngVue.uiNavTracker.removeEvent(UI_SCROLL_ACTION_EVENTS[axis],TRACKER_ID)))}function isScrolling(direction$1=void 0){let scrolling=!1;return direction$1?direction$1===DIR.UP||direction$1===DIR.DOWN?scrolling=navScrolling.listening.vertical:(direction$1===DIR.LEFT||direction$1===DIR.RIGHT)&&(scrolling=navScrolling.listening.horizontal):scrolling=navScrolling.listening.horizontal||navScrolling.listening.vertical,scrolling}function isScrollListening(axis=void 0){let listening=!1;return listening=axis?navScrolling.listening[axis]:navScrolling.listening.horizontal||navScrolling.listening.vertical,listening}function findScrollable(link,axis,thumbstick){axis!==AXIS_V&&axis!==AXIS_H&&(axis=AXIS_V);let opts=axis===AXIS_H?{moveby:`left`,readby:`scrollLeft`,size:`width`,scroll:`scrollWidth`,client:`clientWidth`,overflow:`overflow-x`}:{moveby:`top`,readby:`scrollTop`,size:`height`,scroll:`scrollHeight`,client:`clientHeight`,overflow:`overflow-y`},forced=!1,parent,fullsize,size$3,node=link.dom?.parentNode;function setParent(node$1){if(!node$1)return;if(thumbstick){let noNav=node$1.attributes.getNamedItem(SCROLL_ATTR);if(noNav&&noNav.value===`false`)return}let styles$1=document.defaultView.getComputedStyle(node$1,null);(styles$1[opts.overflow]===`auto`||styles$1[opts.overflow]===`scroll`)&&(fullsize=node$1[opts.scroll],size$3=node$1[opts.client],fullsize>size$3&&(parent=node$1))}for(;node&&node.isConnected&&node.nodeType===Node.ELEMENT_NODE&&!((!thumbstick||node.attributes.getNamedItem(`bng-nav-scroll`))&&(setParent(node),parent));)node=node.parentNode;if(!parent){let elems$2=document.querySelectorAll(`[${SCROLL_FORCE_ATTR}]`);for(let elem of elems$2)if(setParent(elem),parent){forced=!0;break}}if(scrollCatch(axis,!!parent),drawScrollHint(),!parent)return null;let start=0,styles=document.defaultView.getComputedStyle(parent,null);[`relative`,`absolute`,`static`,`fixed`].includes(styles.position)&&(start+=parent.getBoundingClientRect()[opts.moveby]);let pad=link.rect?Math.max(size$3/4,link.rect[opts.size]):size$3/4,bounds=[start+pad,start+size$3-pad];return{parent,moveby:opts.moveby,readby:opts.readby,bounds,fullsize,start:0,finish:fullsize-size$3,forced}}function scrollFix(link,direction$1){let area=findScrollable(link,direction$1===DIR.UP||direction$1===DIR.DOWN?AXIS_V:AXIS_H);if(!area){document.querySelector(`[bng-nav-scroll], [bng-nav-scroll-force]`)&&findScrollable(link,direction$1===DIR.LEFT||direction$1===DIR.RIGHT?AXIS_V:AXIS_H);return}if(area.forced)return;let mov=-1;direction$1===DIR.UP||direction$1===DIR.DOWN?link.rect.toparea.bounds[1]&&(mov=Math.min(area.parent.scrollTop-area.bounds[1]+link.rect.bottom,area.finish)):link.rect.leftarea.bounds[1]&&(mov=Math.min(area.parent.scrollLeft-area.bounds[1]+link.rect.right,area.finish)),mov>-1&&area.parent.scrollTo({[area.moveby]:mov,behavior:`instant`})}function fireKey(element,direction$1){let key=DIR_KEYS[direction$1];key&&dispatchKey(key,element)}function handleUINavEvent(e,restrictTo=void 0){let d=e.detail,handled=!1;if(d.name in UI_SCALAR_EVENT_ACTIONS){let axis=UI_SCALAR_EVENT_ACTIONS[d.name],value=d.value;if(value!==0&&THUMBSTICK_DEADZONE>0&&Math.abs(value)>THUMBSTICK_DEADZONE){let adjustedValue=(axis===AXIS_V?-value:value)>0?1:-1,direction$1=axis===AXIS_H?adjustedValue>0?DIR.RIGHT:DIR.LEFT:adjustedValue>0?DIR.DOWN:DIR.UP;lastScalarValue[axis]!==adjustedValue&&(lastScalarValue[axis]=adjustedValue,navigate(collectRects(direction$1,restrictTo),direction$1))}else lastScalarValue[axis]=0;handled=!0}if(d.name in UI_NAV_EVENT_ACTIONS){let action=UI_NAV_EVENT_ACTIONS[d.name];switch(action){case`up`:case`down`:case`left`:case`right`:d.value==1&&(navigate(collectRects(action,restrictTo),action),handled=!0);break;case`confirm`:if(d.value==1){let activeEl=document.activeElement;isNavigable$1(activeEl)&&(typeof activeEl.click==`function`?activeEl.click():activeEl.dispatchEvent(new CustomEvent(`click`))),handled=!0}break}}else if(d.name in UI_SCROLL_EVENT_ACTIONS){let axis=UI_SCROLL_EVENT_ACTIONS[d.name];navigateScroll(axis,d.value),handled=isScrollListening(axis)}handled&&e.preventDefault()}var SCOPED_NAV_ATTR$1=`bng-scoped-nav`,UI_NAV_ACTION_GROUP$1=`UINavActions`,GAME_UI_NAVIGATION_EVENT$1=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT$1=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT$1=`ui_nav`,UI_SCOPE_ATTR$3=`bng-ui-scope`,UI_EVENT_ATTR$1=`ui-nav-event`,ACTIONS_BY_UI_EVENT$1={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,gameplay_interact:`cui_gameplay_interact`,context:`cui_context`},UI_EVENTS_BY_ACTION$1=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT$1).map(([k,v])=>({[v]:k}))),UI_EVENTS$1={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,gameplay_interact:`gameplay_interact`,context:`context`},UI_EVENT_GROUPS$1={focusMove:[UI_EVENTS$1.focus_u,UI_EVENTS$1.focus_d,UI_EVENTS$1.focus_l,UI_EVENTS$1.focus_r],focusMoveScalar:[UI_EVENTS$1.focus_ud,UI_EVENTS$1.focus_lr],moveScalar:[UI_EVENTS$1.move_ud,UI_EVENTS$1.move_lr],navigation:[UI_EVENTS$1.focus_u,UI_EVENTS$1.focus_d,UI_EVENTS$1.focus_l,UI_EVENTS$1.focus_r,UI_EVENTS$1.focus_ud,UI_EVENTS$1.focus_lr,UI_EVENTS$1.move_ud,UI_EVENTS$1.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT$1)},setFilteredEvents=(...events$3)=>{clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT$1[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP$1,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP$1,!0)};setFilteredEvents.allExcept=(...events$3)=>{let eventsToNotFilter=[...new Set(events$3.flat(1/0))];setFilteredEvents(UI_EVENT_GROUPS$1.allEvents.filter(ev=>!eventsToNotFilter.includes(ev)))};var clearFilteredEvents=()=>{Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP$1,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP$1,[])};const clamp=(val,min$1,max$1)=>Math.min(Math.max(val,min$1),max$1),round=(val,step=1)=>{if(val===void 0)throw Error(`The function at least needs a value`);return Math.round(val/step+2**-52)*step},roundDec=(val,dec=0)=>{if(val===void 0)throw Error(`The function at least needs a value`);if(dec>15)throw Error(`Floating point won't be precise after 15th decimal`);if(val===0)return 0;if(!Number.isInteger(dec))throw Error(`Decimal point must be an integer`);let pow=10**dec;return Math.round(val*pow+2**-52)/pow},roundDecSample=(val,sample=0)=>{let dec=getDecimalPlaces(sample);return dec===0?round(val):roundDec(val,dec)},getDecimalPlaces=num=>{if(Number.isInteger(num)||!Number.isFinite(num))return 0;let dec=0;for(;!Number.isInteger(num)&&Number.isFinite(num)&&(num*=10,dec++,!(dec>15)););return dec};var UIUnits_default=class{uiUnits={uiUnitLength:`metric`,uiUnitTemperature:`f`,uiUnitWeight:`lb`,uiUnitConsumptionRate:`imperial`,uiUnitTorque:`imperial`,uiUnitEnergy:`imperial`,uiUnitDate:`us`,uiUnitPower:`bhp`,uiUnitVolume:`gal`,uiUnitPressure:`psi`};mapping={length:`uiUnitLength`,speed:`uiUnitLength`,temperature:`uiUnitTemperature`,weight:`uiUnitWeight`,consumptionRate:`uiUnitConsumptionRate`,torque:`uiUnitTorque`,energy:`uiUnitEnergy`,date:`uiUnitDate`,power:`uiUnitPower`,volume:`uiUnitVolume`,pressure:`uiUnitPressure`,lengthMinor:`uiUnitLength`};userSettings={uiLanguage:`en-US`};eventBus={};api={};constructor(eventBus$1,api$1){this.eventBus=eventBus$1,this.api=api$1,this.beamBucks=this.beamBucks.bind(this),this.eventBus.on(`SettingsChanged`,data=>this.onSettingsChanged(data)),api$1.engineLua(`settings.notifyUI()`)}onSettingsChanged(data){for(let name in this.uiUnits)data.values[name]!==void 0&&(this.uiUnits[name]=data.values[name]);for(let name in this.userSettings)data.values[name]!==void 0&&(this.userSettings[name]=data.values[name].replace(/_/g,`-`))}buildString(func,val,numDecs,system){if([`division`,`buildString`,`date`].includes(func)||typeof this[func]!=`function`)throw Error(`Cannot use this function to build a string`);this.mapping[func]!==void 0&&system===void 0&&(system=this.uiUnits[this.mapping[func]]);let helper=this[func](val,system);return helper===null?``:typeof helper.val==`string`?helper.val:typeof helper.val==`number`?(helper.val<0&&helper.val>-(10**-numDecs)&&(helper.val=0),Intl.NumberFormat(this.userSettings.uiLanguage,{style:`decimal`,minimumFractionDigits:numDecs,maximumFractionDigits:numDecs}).format(helper.val)+` `+helper.unit):``}division(func1,func2,val1,val2,numDecs,system1,system2){let unsupported=[`division`,`weightPower`,`buildString`,`date`];if(unsupported.includes(func1)||typeof this[func1]!=`function`||unsupported.includes(func2)||typeof this[func2]!=`function`)throw Error(`Cannot use these functions`);let helper1=this[func1](val1,system1),helper2=this[func2](val2,system2);if(helper1!==null&&helper2!==null){let newVal=helper1.val/helper2.val;return{val:numDecs===void 0?newVal:roundDec(newVal,numDecs),unit:`${helper1.unit}/${helper2.unit}`}}else return console.error(`got null`,arguments),null}weightPower(x){let helper=this.division(`weight`,`power`,1,1);return helper===null?null:{val:helper.val*x,unit:helper.unit}}length(meters,system=this.uiUnits.uiUnitLength){if(system===`metric`)return meters<.01?{val:meters*1e3,unit:`mm`}:meters<1?{val:meters*100,unit:`cm`}:meters<1e3?{val:meters,unit:`m`}:{val:meters*.001,unit:`km`};if(system===`imperial`){let yd=meters*1.0936;return yd<1?{val:yd*36,unit:`in`}:yd<3?{val:yd*3,unit:`ft`}:{val:yd*568182e-9,unit:`mi`}}return null}distance=this.length;lengthMinor(meters,system=this.uiUnits.uiUnitLength){return system===`metric`?{val:meters*1,unit:`m`}:system===`imperial`?{val:meters*1.0936*3,unit:`ft`}:null}area(squareMeters,system=this.uiUnits.uiUnitLength){if(system===`metric`)return squareMeters<1e3?{val:squareMeters,unit:`sq m`}:{val:squareMeters*.001*.001,unit:`sq km`};if(system===`imperial`){let sqrYards=squareMeters*1.0936*1.0936;return sqrYards<1760?{val:sqrYards,unit:`sq yd`}:{val:sqrYards*568182e-9*568182e-9,unit:`sq mi`}}return null}temperature(x,system=this.uiUnits.uiUnitTemperature){switch(system){case`c`:return{val:x,unit:`°C`};case`f`:return{val:x*1.8+32,unit:`°F`};case`k`:return{val:x+273.15,unit:`K`};default:return null}}volume(x,system=this.uiUnits.uiUnitVolume){switch(system){case`l`:return{val:x,unit:`L`};case`gal`:return{val:x*.2642,unit:`gal`};default:return null}}pressure(x,system=this.uiUnits.uiUnitPressure){switch(system){case`inHg`:return{val:x*.2953,unit:`in.Hg`};case`bar`:return{val:x*.01,unit:`Bar`};case`psi`:return{val:x*.145038,unit:`PSI`};case`kPa`:return{val:x,unit:`kPa`};default:return null}}weight(x,system=this.uiUnits.uiUnitWeight){switch(system){case`kg`:return{val:x,unit:`kg`};case`lb`:return{val:2.20462262*x,unit:`lbs`};default:return null}}consumptionRate(x,system=this.uiUnits.uiUnitConsumptionRate){switch(system){case`metric`:return{val:1e5*x>5e4?`n/a`:1e5*x,unit:`L/100km`};case`imperial`:return{val:x===0?0:235*1e-5/x,unit:`MPG`};default:return null}}speed(x,system=this.uiUnits.uiUnitLength){switch(system){case`metric`:return{val:3.6*x,unit:`km/h`};case`imperial`:return{val:2.23693629*x,unit:`mph`};default:return null}}power(x,system=this.uiUnits.uiUnitPower){switch(system){case`kw`:return{val:.735499*x,unit:`kW`};case`hp`:return{val:x,unit:`PS`};case`bhp`:return{val:.98632*x,unit:`bhp`};default:return null}}torque(x,system=this.uiUnits.uiUnitTorque){switch(system===`metric`?system=`kg`:system===`imperial`&&(system=`lb`),system){case`kg`:return{val:x,unit:`Nm`};case`lb`:return{val:.7375621495*x,unit:`lb-ft`};default:return null}}energy(x,system=this.uiUnits.uiUnitEnergy){switch(system===`metric`?system=`j`:system===`imperial`&&(system=`ft lb`),system){case`j`:return{val:x,unit:`J`};case`ft lb`:return{val:.7375621495*x,unit:`ft lb`};default:return null}}date(x,system=this.uiUnits.uiUnitDate){switch(system){case`ger`:return x.toLocaleDateString(`de-DE`);case`uk`:return x.toLocaleDateString(`en-GB`);case`us`:return x.toLocaleDateString(`en-US`);default:return null}}beamBucks(x){return Intl.NumberFormat(this.userSettings.uiLanguage,{style:`decimal`,maximumFractionDigits:2,minimumFractionDigits:2}).format(+x)}},lite_default=class{constructor(){this.processing=!1,this.pending=0,this.finishCallback=null,this.angularRootScope=window.globalAngularRootScope,this.angularTimeout=null,this.angularTimeoutRetry=null,this.angularTimeoutWarned=!1,this.safetyTimeout=2e3,this.safetyTimer=null,this.warned=!1}setAngularRootScope(rootScope){this.angularRootScope=rootScope,this.angularTimeout=null,this.angularTimeoutRetry&&=(clearTimeout(this.angularTimeoutRetry),null)}getAngularTimeout(){if(this.angularTimeout!==null)return typeof this.angularTimeout==`function`?this.angularTimeout:null;let code;this.angularTimeoutRetry&&(code=`retry`,clearTimeout(this.angularTimeoutRetry));try{if(window.angular!==void 0&&window.angular.element){let injector=window.angular.element(document).injector();if(injector)return this.angularTimeout=injector.get(`$timeout`),this.angularTimeoutWarned&&console.log(`Stream Coordinator: Angular $timeout service resolved after retry`),this.angularTimeout;code=`no-injector`}else code=`no-angular`}catch{code=`error`}return this.angularTimeout=!1,this.angularTimeoutRetry||=setTimeout(()=>{this.angularTimeout||=null},5e3),console.warn(`Stream Coordinator: Angular $timeout service not available (${code})`),this.angularTimeoutWarned=!0,null}beforeBroadcast(){this.processing||(this.processing=!0,this.finishCallback=null,this.pending=0,this.safetyTimer&&clearTimeout(this.safetyTimer),this.safetyTimer=setTimeout(()=>{this.processing&&this.forceComplete()},this.safetyTimeout))}afterBroadcast(callback){if(callback&&typeof callback==`function`?this.finishCallback=()=>{this.finishCallback=void 0,Promise.resolve().then(callback)}:this.finishCallback=void 0,!this.processing){this.finishCallback?.();return}this.startDeferredWork()}startDeferredWork(){this.pending=0;let angularTimeout=this.getAngularTimeout();angularTimeout&&(this.angularRootScope||=window.globalAngularRootScope,this.angularRootScope&&(this.pending++,angularTimeout(()=>this.onOperationComplete(),0))),window.Vue?.nextTick&&(this.pending++,window.Vue.nextTick(()=>this.onOperationComplete())),this.pending===0&&(this.warned||(this.warned=!0,console.warn(`Stream Coordinator: No Angular $timeout() nor Vue.nextTick() detected, using only Promise microtask instead`)),this.complete())}onOperationComplete(){this.processing&&(this.pending--,this.pending<=0&&this.complete())}complete(){this.processing&&(this.safetyTimer&&=(clearTimeout(this.safetyTimer),null),Promise.resolve().then(()=>{this.processing=!1,window.beamng?.uiFrameCallback?.(),this.finishCallback?.()}))}forceComplete(){this.complete()}},dependencies,bridge$3;const useBridge=()=>{if(bridge$3)return bridge$3;if(window.bridge)return bridge$3=window.bridge;let events$3=new dependencies.Emitter,coordinator=new lite_default(events$3);Hooks_default.setStreamCoordinator(coordinator);let api$1=dependencies.overrideAPI||new BeamNGAPI_default(events$3,dependencies.beamng);return bridge$3={api:api$1,lua:Lua_default,events:events$3,streams:new StreamManager_default(api$1),coordinator,hooks:Hooks_default,units:new UIUnits_default(events$3,api$1),gameBlurrer:GameBlurrer_default,beamNG:dependencies.beamng},bridge$3},setBridgeDependencies=deps$1=>dependencies=deps$1;var DEBUG=1,INFO=2,WARN=4,ERROR=8,consoleLogMethods={[DEBUG]:`log`,[INFO]:`info`,[WARN]:`warn`,[ERROR]:`error`},consoleLogProvider={log(level$1,...msgs){level$1 in consoleLogMethods&&console[consoleLogMethods[level$1]](...msgs)}},level=14,providersInUse=[consoleLogProvider],STACK_TRACE=Symbol(`Stack trace`),_stackTrace=()=>`
`+Error().stack,_log=(lvl,...msgs)=>{level&lvl&&(msgs=msgs.map(msg=>msg===STACK_TRACE?_stackTrace():msg),providersInUse.forEach(p$1=>p$1.log&&p$1.log(lvl,...msgs)))},_assert=async(lvl,cond,...msgs)=>{level&lvl&&(cond?cond instanceof Promise?cond.then(res=>!res&&_log(lvl,...msgs)):typeof cond==`function`&&!await cond()&&_log(lvl,...msgs):_log(lvl,...msgs))},logger={DEBUG,INFO,WARN,ERROR,setProviders:(...providers)=>providersInUse=providers,set level(val){return level=val},get level(){return level},STACK_TRACE,log:(...msgs)=>_log(DEBUG,...msgs),debug:(...msgs)=>_log(DEBUG,...msgs),info:(...msgs)=>_log(INFO,...msgs),warn:(...msgs)=>_log(WARN,...msgs),error:(...msgs)=>_log(ERROR,...msgs),assert:(cond,...msgs)=>_assert(DEBUG,cond,...msgs),assertDebug:(cond,...msgs)=>_assert(DEBUG,cond,...msgs),assertInfo:(cond,...msgs)=>_assert(INFO,cond,...msgs),assertWarn:(cond,...msgs)=>_assert(WARN,cond,...msgs),assertError:(cond,...msgs)=>_assert(ERROR,cond,...msgs)};window.BNG_Logger=logger;var logger_default=logger;function warn(msg,err){typeof console<`u`&&(console.warn(`[intlify] `+msg),err&&console.warn(err.stack))}var inBrowser=typeof window<`u`,makeSymbol=(name,shareable=!1)=>shareable?Symbol.for(name):Symbol(name),generateFormatCacheKey=(locale,key,source)=>friendlyJSONstringify({l:locale,k:key,s:source}),friendlyJSONstringify=json=>JSON.stringify(json).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),isNumber=val=>typeof val==`number`&&isFinite(val),isRegExp=val=>toTypeString(val)===`[object RegExp]`,isEmptyObject=val=>isPlainObject(val)&&Object.keys(val).length===0,assign$1=Object.assign,_create=Object.create,create=(obj=null)=>_create(obj),_globalThis,getGlobalThis=()=>_globalThis||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:create();function escapeHtml(rawText){return rawText.replace(/&/g,`&`).replace(//g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function escapeAttributeValue(value){return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(//g,`>`)}function sanitizeTranslatedHtml(html){return html=html.replace(/(\w+)\s*=\s*"([^"]*)"/g,(_,attrName,attrValue)=>`${attrName}="${escapeAttributeValue(attrValue)}"`),html=html.replace(/(\w+)\s*=\s*'([^']*)'/g,(_,attrName,attrValue)=>`${attrName}='${escapeAttributeValue(attrValue)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(html)&&(html=html.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(pattern=>{html=html.replace(pattern,`$1javascript:`)}),html}var hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(obj,key){return hasOwnProperty.call(obj,key)}var isArray$1=Array.isArray,isFunction=val=>typeof val==`function`,isString=val=>typeof val==`string`,isBoolean=val=>typeof val==`boolean`,isObject=val=>typeof val==`object`&&!!val,isPromise=val=>isObject(val)&&isFunction(val.then)&&isFunction(val.catch),objectToString=Object.prototype.toString,toTypeString=value=>objectToString.call(value),isPlainObject=val=>toTypeString(val)===`[object Object]`,toDisplayString$1=val=>val==null?``:isArray$1(val)||isPlainObject(val)&&val.toString===objectToString?JSON.stringify(val,null,2):String(val);function join(items$2,separator=``){return items$2.reduce((str,item,index)=>index===0?str+item:str+separator+item,``)}var isNotObjectOrIsArray=val=>!isObject(val)||isArray$1(val);function deepCopy(src,des){if(isNotObjectOrIsArray(src)||isNotObjectOrIsArray(des))throw Error(`Invalid value`);let stack$2=[{src,des}];for(;stack$2.length;){let{src:src$1,des:des$1}=stack$2.pop();Object.keys(src$1).forEach(key=>{key!==`__proto__`&&(isObject(src$1[key])&&!isObject(des$1[key])&&(des$1[key]=Array.isArray(src$1[key])?[]:create()),isNotObjectOrIsArray(des$1[key])||isNotObjectOrIsArray(src$1[key])?des$1[key]=src$1[key]:stack$2.push({src:src$1[key],des:des$1[key]}))})}}function createPosition(line,column,offset$2){return{line,column,offset:offset$2}}function createLocation(start,end,source){let loc={start,end};return source!=null&&(loc.source=source),loc}var CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},COMPILE_ERROR_CODES_EXTEND_POINT=17,errorMessages={[CompileErrorCodes.EXPECTED_TOKEN]:`Expected token: '{0}'`,[CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]:`Invalid token in placeholder: '{0}'`,[CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:`Unterminated single quote in placeholder`,[CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]:`Unknown escape sequence: \\{0}`,[CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]:`Invalid unicode escape sequence: {0}`,[CompileErrorCodes.UNBALANCED_CLOSING_BRACE]:`Unbalanced closing brace`,[CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]:`Unterminated closing brace`,[CompileErrorCodes.EMPTY_PLACEHOLDER]:`Empty placeholder`,[CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]:`Not allowed nest placeholder`,[CompileErrorCodes.INVALID_LINKED_FORMAT]:`Invalid linked format`,[CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]:`Plural must have messages`,[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]:`Unexpected empty linked modifier`,[CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]:`Unexpected empty linked key`,[CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]:`Unexpected lexical analysis in token: '{0}'`,[CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]:`unhandled codegen node type: '{0}'`,[CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]:`unhandled mimifier node type: '{0}'`};function createCompileError(code,loc,options={}){let{domain,messages,args}=options,msg=code,error=SyntaxError(String(msg));return error.code=code,loc&&(error.location=loc),error.domain=domain,error}function defaultOnError(error){throw error}var CHAR_SP=` `,CHAR_CR=`\r`,CHAR_LF=`
`,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
`,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
`:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
    $1
`],[/\[list\]/gi,`
    `],[/\[\/list\]/gi,`
`],[/\[olist\]/gi,`
    `],[/\[\/olist\]/gi,`
`],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
    `,CHAR_LS=`\u2028`,CHAR_PS=`\u2029`;function createScanner(str){let _buf=str,_index=0,_line=1,_column=1,_peekOffset=0,isCRLF=index$1=>_buf[index$1]===CHAR_CR&&_buf[index$1+1]===CHAR_LF,isLF=index$1=>_buf[index$1]===CHAR_LF,isPS=index$1=>_buf[index$1]===CHAR_PS,isLS=index$1=>_buf[index$1]===CHAR_LS,isLineEnd=index$1=>isCRLF(index$1)||isLF(index$1)||isPS(index$1)||isLS(index$1),index=()=>_index,line=()=>_line,column=()=>_column,peekOffset=()=>_peekOffset,charAt=offset$2=>isCRLF(offset$2)||isPS(offset$2)||isLS(offset$2)?CHAR_LF:_buf[offset$2],currentChar=()=>charAt(_index),currentPeek=()=>charAt(_index+_peekOffset);function next(){return _peekOffset=0,isLineEnd(_index)&&(_line++,_column=0),isCRLF(_index)&&_index++,_index++,_column++,_buf[_index]}function peek(){return isCRLF(_index+_peekOffset)&&_peekOffset++,_peekOffset++,_buf[_index+_peekOffset]}function reset$1(){_index=0,_line=1,_column=1,_peekOffset=0}function resetPeek(offset$2=0){_peekOffset=offset$2}function skipToPeek(){let target=_index+_peekOffset;for(;target!==_index;)next();_peekOffset=0}return{index,line,column,peekOffset,charAt,currentChar,currentPeek,next,peek,reset:reset$1,resetPeek,skipToPeek}}var EOF=void 0,DOT=`.`,LITERAL_DELIMITER=`'`,ERROR_DOMAIN$3=`tokenizer`;function createTokenizer(source,options={}){let location$1=options.location!==!1,_scnr=createScanner(source),currentOffset=()=>_scnr.index(),currentPosition=()=>createPosition(_scnr.line(),_scnr.column(),_scnr.index()),_initLoc=currentPosition(),_initOffset=currentOffset(),_context={currentType:13,offset:_initOffset,startLoc:_initLoc,endLoc:_initLoc,lastType:13,lastOffset:_initOffset,lastStartLoc:_initLoc,lastEndLoc:_initLoc,braceNest:0,inLinked:!1,text:``},context=()=>_context,{onError}=options;function emitError$1(code,pos,offset$2,...args){let ctx=context();pos.column+=offset$2,pos.offset+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(ctx.startLoc,pos):null,{domain:ERROR_DOMAIN$3,args}))}function getToken(context$1,type,value){context$1.endLoc=currentPosition(),context$1.currentType=type;let token={type};return location$1&&(token.loc=createLocation(context$1.startLoc,context$1.endLoc)),value!=null&&(token.value=value),token}let getEndToken=context$1=>getToken(context$1,13);function eat(scnr,ch){return scnr.currentChar()===ch?(scnr.next(),ch):(emitError$1(CompileErrorCodes.EXPECTED_TOKEN,currentPosition(),0,ch),``)}function peekSpaces(scnr){let buf=``;for(;scnr.currentPeek()===CHAR_SP||scnr.currentPeek()===CHAR_LF;)buf+=scnr.currentPeek(),scnr.peek();return buf}function skipSpaces(scnr){let buf=peekSpaces(scnr);return scnr.skipToPeek(),buf}function isIdentifierStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc===95}function isNumberStart(ch){if(ch===EOF)return!1;let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function isNamedIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isListIdentifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=isNumberStart(scnr.currentPeek()===`-`?scnr.peek():scnr.currentPeek());return scnr.resetPeek(),ret}function isLiteralStart(scnr,context$1){let{currentType}=context$1;if(currentType!==2)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===LITERAL_DELIMITER;return scnr.resetPeek(),ret}function isLinkedDotStart(scnr,context$1){let{currentType}=context$1;if(currentType!==7)return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`.`;return scnr.resetPeek(),ret}function isLinkedModifierStart(scnr,context$1){let{currentType}=context$1;if(currentType!==8)return!1;peekSpaces(scnr);let ret=isIdentifierStart(scnr.currentPeek());return scnr.resetPeek(),ret}function isLinkedDelimiterStart(scnr,context$1){let{currentType}=context$1;if(!(currentType===7||currentType===11))return!1;peekSpaces(scnr);let ret=scnr.currentPeek()===`:`;return scnr.resetPeek(),ret}function isLinkedReferStart(scnr,context$1){let{currentType}=context$1;if(currentType!==9)return!1;let fn=()=>{let ch=scnr.currentPeek();return ch===`{`?isIdentifierStart(scnr.peek()):ch===`@`||ch===`|`||ch===`:`||ch===`.`||ch===CHAR_SP||!ch?!1:ch===CHAR_LF?(scnr.peek(),fn()):isTextStart(scnr,!1)},ret=fn();return scnr.resetPeek(),ret}function isPluralStart(scnr){peekSpaces(scnr);let ret=scnr.currentPeek()===`|`;return scnr.resetPeek(),ret}function isTextStart(scnr,reset$1=!0){let fn=(hasSpace=!1,prev=``)=>{let ch=scnr.currentPeek();return ch===`{`||ch===`@`||!ch?hasSpace:ch===`|`?!(prev===CHAR_SP||prev===CHAR_LF):ch===CHAR_SP?(scnr.peek(),fn(!0,CHAR_SP)):ch===CHAR_LF?(scnr.peek(),fn(!0,CHAR_LF)):!0},ret=fn();return reset$1&&scnr.resetPeek(),ret}function takeChar(scnr,fn){let ch=scnr.currentChar();return ch===EOF?EOF:fn(ch)?(scnr.next(),ch):null}function isIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36}function takeIdentifierChar(scnr){return takeChar(scnr,isIdentifier)}function isNamedIdentifier(ch){let cc=ch.charCodeAt(0);return cc>=97&&cc<=122||cc>=65&&cc<=90||cc>=48&&cc<=57||cc===95||cc===36||cc===45}function takeNamedIdentifierChar(scnr){return takeChar(scnr,isNamedIdentifier)}function isDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57}function takeDigit(scnr){return takeChar(scnr,isDigit)}function isHexDigit(ch){let cc=ch.charCodeAt(0);return cc>=48&&cc<=57||cc>=65&&cc<=70||cc>=97&&cc<=102}function takeHexDigit(scnr){return takeChar(scnr,isHexDigit)}function getDigits(scnr){let ch=``,num=``;for(;ch=takeDigit(scnr);)num+=ch;return num}function readText(scnr){let buf=``;for(;;){let ch=scnr.currentChar();if(ch===`{`||ch===`}`||ch===`@`||ch===`|`||!ch)break;if(ch===CHAR_SP||ch===CHAR_LF)if(isTextStart(scnr))buf+=ch,scnr.next();else if(isPluralStart(scnr))break;else buf+=ch,scnr.next();else buf+=ch,scnr.next()}return buf}function readNamedIdentifier(scnr){skipSpaces(scnr);let ch=``,name=``;for(;ch=takeNamedIdentifierChar(scnr);)name+=ch;let currentChar=scnr.currentChar();if(currentChar&¤tChar!==`}`&¤tChar!==EOF&¤tChar!==CHAR_SP&¤tChar!==CHAR_LF&¤tChar!==` `){let invalidPart=readInvalidIdentifier(scnr);return emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,name+invalidPart),name+invalidPart}return scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),name}function readListIdentifier(scnr){skipSpaces(scnr);let value=``;return scnr.currentChar()===`-`?(scnr.next(),value+=`-${getDigits(scnr)}`):value+=getDigits(scnr),scnr.currentChar()===EOF&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),value}function isLiteral(ch){return ch!==LITERAL_DELIMITER&&ch!==CHAR_LF}function readLiteral(scnr){skipSpaces(scnr),eat(scnr,`'`);let ch=``,literal=``;for(;ch=takeChar(scnr,isLiteral);)ch===`\\`?literal+=readEscapeSequence(scnr):literal+=ch;let current=scnr.currentChar();return current===CHAR_LF||current===EOF?(emitError$1(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,currentPosition(),0),current===CHAR_LF&&(scnr.next(),eat(scnr,`'`)),literal):(eat(scnr,`'`),literal)}function readEscapeSequence(scnr){let ch=scnr.currentChar();switch(ch){case`\\`:case`'`:return scnr.next(),`\\${ch}`;case`u`:return readUnicodeEscapeSequence(scnr,ch,4);case`U`:return readUnicodeEscapeSequence(scnr,ch,6);default:return emitError$1(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,currentPosition(),0,ch),``}}function readUnicodeEscapeSequence(scnr,unicode,digits){eat(scnr,unicode);let sequence=``;for(let i=0;i{let ch=scnr.currentChar();return ch===`{`||ch===`@`||ch===`|`||ch===`(`||ch===`)`||!ch||ch===CHAR_SP?buf:(buf+=ch,scnr.next(),fn(buf))};return fn(``)}function readPlural(scnr){skipSpaces(scnr);let plural=eat(scnr,`|`);return skipSpaces(scnr),plural}function readTokenInPlaceholder(scnr,context$1){let token=null;switch(scnr.currentChar()){case`{`:return context$1.braceNest>=1&&emitError$1(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,2,`{`),skipSpaces(scnr),context$1.braceNest++,token;case`}`:return context$1.braceNest>0&&context$1.currentType===2&&emitError$1(CompileErrorCodes.EMPTY_PLACEHOLDER,currentPosition(),0),scnr.next(),token=getToken(context$1,3,`}`),context$1.braceNest--,context$1.braceNest>0&&skipSpaces(scnr),context$1.inLinked&&context$1.braceNest===0&&(context$1.inLinked=!1),token;case`@`:return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=readTokenInLinked(scnr,context$1)||getEndToken(context$1),context$1.braceNest=0,token;default:{let validNamedIdentifier=!0,validListIdentifier=!0,validLiteral=!0;if(isPluralStart(scnr))return context$1.braceNest>0&&emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(context$1.braceNest>0&&(context$1.currentType===4||context$1.currentType===5||context$1.currentType===6))return emitError$1(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,currentPosition(),0),context$1.braceNest=0,readToken(scnr,context$1);if(validNamedIdentifier=isNamedIdentifierStart(scnr,context$1))return token=getToken(context$1,4,readNamedIdentifier(scnr)),skipSpaces(scnr),token;if(validListIdentifier=isListIdentifierStart(scnr,context$1))return token=getToken(context$1,5,readListIdentifier(scnr)),skipSpaces(scnr),token;if(validLiteral=isLiteralStart(scnr,context$1))return token=getToken(context$1,6,readLiteral(scnr)),skipSpaces(scnr),token;if(!validNamedIdentifier&&!validListIdentifier&&!validLiteral)return token=getToken(context$1,12,readInvalidIdentifier(scnr)),emitError$1(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,currentPosition(),0,token.value),skipSpaces(scnr),token;break}}return token}function readTokenInLinked(scnr,context$1){let{currentType}=context$1,token=null,ch=scnr.currentChar();switch((currentType===7||currentType===8||currentType===11||currentType===9)&&(ch===CHAR_LF||ch===CHAR_SP)&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),ch){case`@`:return scnr.next(),token=getToken(context$1,7,`@`),context$1.inLinked=!0,token;case`.`:return skipSpaces(scnr),scnr.next(),getToken(context$1,8,`.`);case`:`:return skipSpaces(scnr),scnr.next(),getToken(context$1,9,`:`);default:return isPluralStart(scnr)?(token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token):isLinkedDotStart(scnr,context$1)||isLinkedDelimiterStart(scnr,context$1)?(skipSpaces(scnr),readTokenInLinked(scnr,context$1)):isLinkedModifierStart(scnr,context$1)?(skipSpaces(scnr),getToken(context$1,11,readLinkedModifier(scnr))):isLinkedReferStart(scnr,context$1)?(skipSpaces(scnr),ch===`{`?readTokenInPlaceholder(scnr,context$1)||token:getToken(context$1,10,readLinkedRefer(scnr))):(currentType===7&&emitError$1(CompileErrorCodes.INVALID_LINKED_FORMAT,currentPosition(),0),context$1.braceNest=0,context$1.inLinked=!1,readToken(scnr,context$1))}}function readToken(scnr,context$1){let token={type:13};if(context$1.braceNest>0)return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);if(context$1.inLinked)return readTokenInLinked(scnr,context$1)||getEndToken(context$1);switch(scnr.currentChar()){case`{`:return readTokenInPlaceholder(scnr,context$1)||getEndToken(context$1);case`}`:return emitError$1(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,currentPosition(),0),scnr.next(),getToken(context$1,3,`}`);case`@`:return readTokenInLinked(scnr,context$1)||getEndToken(context$1);default:if(isPluralStart(scnr))return token=getToken(context$1,1,readPlural(scnr)),context$1.braceNest=0,context$1.inLinked=!1,token;if(isTextStart(scnr))return getToken(context$1,0,readText(scnr));break}return token}function nextToken(){let{currentType,offset:offset$2,startLoc,endLoc}=_context;return _context.lastType=currentType,_context.lastOffset=offset$2,_context.lastStartLoc=startLoc,_context.lastEndLoc=endLoc,_context.offset=currentOffset(),_context.startLoc=currentPosition(),_scnr.currentChar()===EOF?getToken(_context,13):readToken(_scnr,_context)}return{nextToken,currentOffset,currentPosition,context}}var ERROR_DOMAIN$2=`parser`,KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(match,codePoint4,codePoint6){switch(match){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let codePoint=parseInt(codePoint4||codePoint6,16);return codePoint<=55295||codePoint>=57344?String.fromCodePoint(codePoint):`�`}}}function createParser(options={}){let location$1=options.location!==!1,{onError}=options;function emitError$1(tokenzer,code,start,offset$2,...args){let end=tokenzer.currentPosition();end.offset+=offset$2,end.column+=offset$2,onError&&onError(createCompileError(code,location$1?createLocation(start,end):null,{domain:ERROR_DOMAIN$2,args}))}function startNode(type,offset$2,loc){let node={type};return location$1&&(node.start=offset$2,node.end=offset$2,node.loc={start:loc,end:loc}),node}function endNode(node,offset$2,pos,type){location$1&&(node.end=offset$2,node.loc&&(node.loc.end=pos))}function parseText$1(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(3,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseList(tokenizer$1,index){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(5,offset$2,loc);return node.index=parseInt(index,10),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseNamed(tokenizer$1,key){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(4,offset$2,loc);return node.key=key,tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLiteral(tokenizer$1,value){let{lastOffset:offset$2,lastStartLoc:loc}=tokenizer$1.context(),node=startNode(9,offset$2,loc);return node.value=value.replace(KNOWN_ESCAPES,fromEscapeSequence),tokenizer$1.nextToken(),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinkedModifier(tokenizer$1){let token=tokenizer$1.nextToken(),context=tokenizer$1.context(),{lastOffset:offset$2,lastStartLoc:loc}=context,node=startNode(8,offset$2,loc);return token.type===11?(token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.value=token.value||``,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node}):(emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,context.lastStartLoc,0),node.value=``,endNode(node,offset$2,loc),{nextConsumeToken:token,node})}function parseLinkedKey(tokenizer$1,value){let context=tokenizer$1.context(),node=startNode(7,context.offset,context.startLoc);return node.value=value,endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseLinked(tokenizer$1){let context=tokenizer$1.context(),linkedNode=startNode(6,context.offset,context.startLoc),token=tokenizer$1.nextToken();if(token.type===8){let parsed=parseLinkedModifier(tokenizer$1);linkedNode.modifier=parsed.node,token=parsed.nextConsumeToken||tokenizer$1.nextToken()}switch(token.type!==9&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),token=tokenizer$1.nextToken(),token.type===2&&(token=tokenizer$1.nextToken()),token.type){case 10:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLinkedKey(tokenizer$1,token.value||``);break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseNamed(tokenizer$1,token.value||``);break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseList(tokenizer$1,token.value||``);break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),linkedNode.key=parseLiteral(tokenizer$1,token.value||``);break;default:{emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,context.lastStartLoc,0);let nextContext=tokenizer$1.context(),emptyLinkedKeyNode=startNode(7,nextContext.offset,nextContext.startLoc);return emptyLinkedKeyNode.value=``,endNode(emptyLinkedKeyNode,nextContext.offset,nextContext.startLoc),linkedNode.key=emptyLinkedKeyNode,endNode(linkedNode,nextContext.offset,nextContext.startLoc),{nextConsumeToken:token,node:linkedNode}}}return endNode(linkedNode,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),{node:linkedNode}}function parseMessage(tokenizer$1){let context=tokenizer$1.context(),node=startNode(2,context.currentType===1?tokenizer$1.currentOffset():context.offset,context.currentType===1?context.endLoc:context.startLoc);node.items=[];let nextToken=null;do{let token=nextToken||tokenizer$1.nextToken();switch(nextToken=null,token.type){case 0:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseText$1(tokenizer$1,token.value||``));break;case 5:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseList(tokenizer$1,token.value||``));break;case 4:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseNamed(tokenizer$1,token.value||``));break;case 6:token.value??emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,getTokenCaption(token)),node.items.push(parseLiteral(tokenizer$1,token.value||``));break;case 7:{let parsed=parseLinked(tokenizer$1);node.items.push(parsed.node),nextToken=parsed.nextConsumeToken||null;break}}}while(context.currentType!==13&&context.currentType!==1);return endNode(node,context.currentType===1?context.lastOffset:tokenizer$1.currentOffset(),context.currentType===1?context.lastEndLoc:tokenizer$1.currentPosition()),node}function parsePlural(tokenizer$1,offset$2,loc,msgNode){let context=tokenizer$1.context(),hasEmptyMessage=msgNode.items.length===0,node=startNode(1,offset$2,loc);node.cases=[],node.cases.push(msgNode);do{let msg=parseMessage(tokenizer$1);hasEmptyMessage||=msg.items.length===0,node.cases.push(msg)}while(context.currentType!==13);return hasEmptyMessage&&emitError$1(tokenizer$1,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,loc,0),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}function parseResource(tokenizer$1){let context=tokenizer$1.context(),{offset:offset$2,startLoc}=context,msgNode=parseMessage(tokenizer$1);return context.currentType===13?msgNode:parsePlural(tokenizer$1,offset$2,startLoc,msgNode)}function parse$2(source){let tokenizer$1=createTokenizer(source,assign$1({},options)),context=tokenizer$1.context(),node=startNode(0,context.offset,context.startLoc);return location$1&&node.loc&&(node.loc.source=source),node.body=parseResource(tokenizer$1),options.onCacheKey&&(node.cacheKey=options.onCacheKey(source)),context.currentType!==13&&emitError$1(tokenizer$1,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,context.lastStartLoc,0,source[context.offset]||``),endNode(node,tokenizer$1.currentOffset(),tokenizer$1.currentPosition()),node}return{parse:parse$2}}function getTokenCaption(token){if(token.type===13)return`EOF`;let name=(token.value||``).replace(/\r?\n/gu,`\\n`);return name.length>10?name.slice(0,9)+`…`:name}function createTransformer(ast,options={}){let _context={ast,helpers:new Set};return{context:()=>_context,helper:name=>(_context.helpers.add(name),name)}}function traverseNodes(nodes,transformer){for(let i=0;ioptimizeMessageNode(c)),ast}function optimizeMessageNode(message){if(message.items.length===1){let item=message.items[0];(item.type===3||item.type===9)&&(message.static=item.value,delete item.value)}else{let values=[];for(let i=0;i_context;function push(code,node){_context.code+=code}function _newline(n,withBreakLine=!0){let _breakLineCode=withBreakLine?breakLineCode:``;push(_needIndent?_breakLineCode+`  `.repeat(n):_breakLineCode)}function indent(withNewLine=!0){let level$1=++_context.indentLevel;withNewLine&&_newline(level$1)}function deindent(withNewLine=!0){let level$1=--_context.indentLevel;withNewLine&&_newline(level$1)}function newline(){_newline(_context.indentLevel)}return{context,push,indent,deindent,newline,helper:key=>`_${key}`,needIndent:()=>_context.needIndent}}function generateLinkedNode(generator,node){let{helper}=generator;generator.push(`${helper(`linked`)}(`),generateNode(generator,node.key),node.modifier?(generator.push(`, `),generateNode(generator,node.modifier),generator.push(`, _type`)):generator.push(`, undefined, _type`),generator.push(`)`)}function generateMessageNode(generator,node){let{helper,needIndent}=generator;generator.push(`${helper(`normalize`)}([`),generator.indent(needIndent());let length=node.items.length;for(let i=0;i1){generator.push(`${helper(`plural`)}([`),generator.indent(needIndent());let length=node.cases.length;for(let i=0;i{let mode=isString(options.mode)?options.mode:`normal`,filename=isString(options.filename)?options.filename:`message.intl`,sourceMap=!!options.sourceMap,breakLineCode=options.breakLineCode==null?mode===`arrow`?`;`:`
    `:options.breakLineCode,needIndent=options.needIndent?options.needIndent:mode!==`arrow`,helpers=ast.helpers||[],generator=createCodeGenerator(ast,{mode,filename,sourceMap,breakLineCode,needIndent});generator.push(mode===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),generator.indent(needIndent),helpers.length>0&&(generator.push(`const { ${join(helpers.map(s=>`${s}: _${s}`),`, `)} } = ctx`),generator.newline()),generator.push(`return `),generateNode(generator,ast),generator.deindent(needIndent),generator.push(`}`),delete ast.helpers;let{code,map}=generator.context();return{ast,code,map:map?map.toJSON():void 0}};function baseCompile(source,options={}){let assignedOptions=assign$1({},options),jit=!!assignedOptions.jit,enalbeMinify=!!assignedOptions.minify,enambeOptimize=assignedOptions.optimize==null?!0:assignedOptions.optimize,ast=createParser(assignedOptions).parse(source);return jit?(enambeOptimize&&optimize(ast),enalbeMinify&&minify(ast),{ast,code:``}):(transform(ast,assignedOptions),generate(ast,assignedOptions))}function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(val){return isObject(val)&&resolveType(val)===0&&(hasOwn(val,`b`)||hasOwn(val,`body`))}var PROPS_BODY=[`b`,`body`];function resolveBody(node){return resolveProps(node,PROPS_BODY)}var PROPS_CASES=[`c`,`cases`];function resolveCases(node){return resolveProps(node,PROPS_CASES,[])}var PROPS_STATIC=[`s`,`static`];function resolveStatic(node){return resolveProps(node,PROPS_STATIC)}var PROPS_ITEMS=[`i`,`items`];function resolveItems(node){return resolveProps(node,PROPS_ITEMS,[])}var PROPS_TYPE=[`t`,`type`];function resolveType(node){return resolveProps(node,PROPS_TYPE)}var PROPS_VALUE=[`v`,`value`];function resolveValue$1(node,type){let resolved=resolveProps(node,PROPS_VALUE);if(resolved!=null)return resolved;throw createUnhandleNodeError(type)}var PROPS_MODIFIER=[`m`,`modifier`];function resolveLinkedModifier(node){return resolveProps(node,PROPS_MODIFIER)}var PROPS_KEY=[`k`,`key`];function resolveLinkedKey(node){let resolved=resolveProps(node,PROPS_KEY);if(resolved)return resolved;throw createUnhandleNodeError(6)}function resolveProps(node,props,defaultValue){for(let i=0;iformatParts(ctx,ast)}function formatParts(ctx,ast){let body=resolveBody(ast);if(body==null)throw createUnhandleNodeError(0);if(resolveType(body)===1){let cases=resolveCases(body);return ctx.plural(cases.reduce((messages,c)=>[...messages,formatMessageParts(ctx,c)],[]))}else return formatMessageParts(ctx,body)}function formatMessageParts(ctx,node){let static_=resolveStatic(node);if(static_!=null)return ctx.type===`text`?static_:ctx.normalize([static_]);{let messages=resolveItems(node).reduce((acm,c)=>[...acm,formatMessagePart(ctx,c)],[]);return ctx.normalize(messages)}}function formatMessagePart(ctx,node){let type=resolveType(node);switch(type){case 3:return resolveValue$1(node,type);case 9:return resolveValue$1(node,type);case 4:{let named=node;if(hasOwn(named,`k`)&&named.k)return ctx.interpolate(ctx.named(named.k));if(hasOwn(named,`key`)&&named.key)return ctx.interpolate(ctx.named(named.key));throw createUnhandleNodeError(type)}case 5:{let list=node;if(hasOwn(list,`i`)&&isNumber(list.i))return ctx.interpolate(ctx.list(list.i));if(hasOwn(list,`index`)&&isNumber(list.index))return ctx.interpolate(ctx.list(list.index));throw createUnhandleNodeError(type)}case 6:{let linked=node,modifier=resolveLinkedModifier(linked),key=resolveLinkedKey(linked);return ctx.linked(formatMessagePart(ctx,key),modifier?formatMessagePart(ctx,modifier):void 0,ctx.type)}case 7:return resolveValue$1(node,type);case 8:return resolveValue$1(node,type);default:throw Error(`unhandled node on format message part: ${type}`)}}var defaultOnCacheKey=message=>message,compileCache=create();function baseCompile$1(message,options={}){let detectError=!1,onError=options.onError||defaultOnError;return options.onError=err=>{detectError=!0,onError(err)},{...baseCompile(message,options),detectError}}function compile(message,context){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(message)){isBoolean(context.warnHtmlMessage)&&context.warnHtmlMessage;let cacheKey=(context.onCacheKey||defaultOnCacheKey)(message),cached=compileCache[cacheKey];if(cached)return cached;let{ast,detectError}=baseCompile$1(message,{...context,location:!1,jit:!0}),msg=format$1(ast);return detectError?msg:compileCache[cacheKey]=msg}else{let cacheKey=message.cacheKey;return cacheKey?compileCache[cacheKey]||(compileCache[cacheKey]=format$1(message)):format$1(message)}}var devtools=null;function setDevToolsHook(hook){devtools=hook}function initI18nDevTools(i18n,version$2,meta){devtools&&devtools.emit(`i18n:init`,{timestamp:Date.now(),i18n,version:version$2,meta})}var translateDevTools=createDevToolsHook(`function:translate`);function createDevToolsHook(hook){return payloads=>devtools&&devtools.emit(hook,payloads)}var CoreErrorCodes={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(code){return createCompileError(code,null,void 0)}CoreErrorCodes.INVALID_ARGUMENT,CoreErrorCodes.INVALID_DATE_ARGUMENT,CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT,CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE,CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE,CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE;function getLocale(context,options){return options.locale==null?resolveLocale(context.locale):resolveLocale(options.locale)}var _resolveLocale;function resolveLocale(locale){if(isString(locale))return locale;if(isFunction(locale)){if(locale.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(locale.constructor.name===`Function`){let resolve$1=locale();if(isPromise(resolve$1))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=resolve$1}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(ctx,fallback,start){return[...new Set([start,...isArray$1(fallback)?fallback:isObject(fallback)?Object.keys(fallback):isString(fallback)?[fallback]:[start]])]}var pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]},pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]},pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]},pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]},pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};function resolveWithKeyValue(obj,path){return isObject(obj)?obj[path]:null}var CoreWarnCodes={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},CORE_WARN_CODES_EXTEND_POINT=8,warnMessages={[CoreWarnCodes.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[CoreWarnCodes.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[CoreWarnCodes.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`},VERSION$1=`11.1.12`,NOT_REOSLVED=-1,DEFAULT_LOCALE=`en-US`,capitalize=str=>`${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(val,type)=>type===`text`&&isString(val)?val.toUpperCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toUpperCase():val,lower:(val,type)=>type===`text`&&isString(val)?val.toLowerCase():type===`vnode`&&isObject(val)&&`__v_isVNode`in val?val.children.toLowerCase():val,capitalize:(val,type)=>type===`text`&&isString(val)?capitalize(val):type===`vnode`&&isObject(val)&&`__v_isVNode`in val?capitalize(val.children):val}}var _compiler;function registerMessageCompiler(compiler){_compiler=compiler}var _resolver,_fallbacker,_additionalMeta=null,setAdditionalMeta=meta=>{_additionalMeta=meta},getAdditionalMeta=()=>_additionalMeta,_fallbackContext=null,setFallbackContext=context=>{_fallbackContext=context},getFallbackContext=()=>_fallbackContext,_cid=0;function createCoreContext(options={}){let onWarn=isFunction(options.onWarn)?options.onWarn:warn,version$2=isString(options.version)?options.version:VERSION$1,locale=isString(options.locale)||isFunction(options.locale)?options.locale:DEFAULT_LOCALE,_locale=isFunction(locale)?DEFAULT_LOCALE:locale,fallbackLocale=isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||isString(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale,messages=isPlainObject(options.messages)?options.messages:createResources(_locale),datetimeFormats=isPlainObject(options.datetimeFormats)?options.datetimeFormats:createResources(_locale),numberFormats=isPlainObject(options.numberFormats)?options.numberFormats:createResources(_locale),modifiers=assign$1(create(),options.modifiers,getDefaultLinkedModifiers()),pluralRules=options.pluralRules||create(),missing=isFunction(options.missing)?options.missing:null,missingWarn=isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,fallbackWarn=isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,fallbackFormat=!!options.fallbackFormat,unresolving=!!options.unresolving,postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,processor=isPlainObject(options.processor)?options.processor:null,warnHtmlMessage=isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,escapeParameter=!!options.escapeParameter,messageCompiler=isFunction(options.messageCompiler)?options.messageCompiler:_compiler,messageResolver=isFunction(options.messageResolver)?options.messageResolver:_resolver||resolveWithKeyValue,localeFallbacker=isFunction(options.localeFallbacker)?options.localeFallbacker:_fallbacker||fallbackWithSimple,fallbackContext=isObject(options.fallbackContext)?options.fallbackContext:void 0,internalOptions=options,__datetimeFormatters=isObject(internalOptions.__datetimeFormatters)?internalOptions.__datetimeFormatters:new Map,__numberFormatters=isObject(internalOptions.__numberFormatters)?internalOptions.__numberFormatters:new Map,__meta=isObject(internalOptions.__meta)?internalOptions.__meta:{};_cid++;let context={version:version$2,cid:_cid,locale,fallbackLocale,messages,modifiers,pluralRules,missing,missingWarn,fallbackWarn,fallbackFormat,unresolving,postTranslation,processor,warnHtmlMessage,escapeParameter,messageCompiler,messageResolver,localeFallbacker,fallbackContext,onWarn,__meta};return context.datetimeFormats=datetimeFormats,context.numberFormats=numberFormats,context.__datetimeFormatters=__datetimeFormatters,context.__numberFormatters=__numberFormatters,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools(context,version$2,__meta),context}var createResources=locale=>({[locale]:create()});function handleMissing(context,key,locale,missingWarn,type){let{missing,onWarn}=context;if(missing!==null){let ret=missing(context,locale,key,type);return isString(ret)?ret:key}else return key}function updateFallbackLocale(ctx,locale,fallback){let context=ctx;context.__localeChainCache=new Map,ctx.localeFallbacker(ctx,fallback,locale)}function isAlmostSameLocale(locale,compareLocale){return locale===compareLocale?!1:locale.split(`-`)[0]===compareLocale.split(`-`)[0]}function isImplicitFallback(targetLocale,locales){let index=locales.indexOf(targetLocale);if(index===-1)return!1;for(let i=index+1;istr,DEFAULT_MESSAGE=ctx=>``,DEFAULT_MESSAGE_DATA_TYPE=`text`,DEFAULT_NORMALIZE=values=>values.length===0?``:join(values),DEFAULT_INTERPOLATE=toDisplayString$1;function pluralDefault(choice,choicesLength){return choice=Math.abs(choice),choicesLength===2?choice?choice>1?1:0:1:choice?Math.min(choice,2):0}function getPluralIndex(options){let index=isNumber(options.pluralIndex)?options.pluralIndex:-1;return options.named&&(isNumber(options.named.count)||isNumber(options.named.n))?isNumber(options.named.count)?options.named.count:isNumber(options.named.n)?options.named.n:index:index}function normalizeNamed(pluralIndex,props){props.count||=pluralIndex,props.n||=pluralIndex}function createMessageContext(options={}){let locale=options.locale,pluralIndex=getPluralIndex(options),pluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?options.pluralRules[locale]:pluralDefault,orgPluralRule=isObject(options.pluralRules)&&isString(locale)&&isFunction(options.pluralRules[locale])?pluralDefault:void 0,plural=messages=>messages[pluralRule(pluralIndex,messages.length,orgPluralRule)],_list=options.list||[],list=index=>_list[index],_named=options.named||create();isNumber(options.pluralIndex)&&normalizeNamed(pluralIndex,_named);let named=key=>_named[key];function message(key,useLinked){return(isFunction(options.messages)?options.messages(key,!!useLinked):isObject(options.messages)?options.messages[key]:!1)||(options.parent?options.parent.message(key):DEFAULT_MESSAGE)}let _modifier=name=>options.modifiers?options.modifiers[name]:DEFAULT_MODIFIER,normalize=isPlainObject(options.processor)&&isFunction(options.processor.normalize)?options.processor.normalize:DEFAULT_NORMALIZE,interpolate=isPlainObject(options.processor)&&isFunction(options.processor.interpolate)?options.processor.interpolate:DEFAULT_INTERPOLATE,ctx={list,named,plural,linked:(key,...args)=>{let[arg1,arg2]=args,type$1=`text`,modifier=``;args.length===1?isObject(arg1)?(modifier=arg1.modifier||modifier,type$1=arg1.type||type$1):isString(arg1)&&(modifier=arg1||modifier):args.length===2&&(isString(arg1)&&(modifier=arg1||modifier),isString(arg2)&&(type$1=arg2||type$1));let ret=message(key,!0)(ctx),msg=type$1===`vnode`&&isArray$1(ret)&&modifier?ret[0]:ret;return modifier?_modifier(modifier)(msg,type$1):msg},message,type:isPlainObject(options.processor)&&isString(options.processor.type)?options.processor.type:DEFAULT_MESSAGE_DATA_TYPE,interpolate,normalize,values:assign$1(create(),_list,_named)};return ctx}var NOOP_MESSAGE_FUNCTION=()=>``,isMessageFunction=val=>isFunction(val);function translate$1(context,...args){let{fallbackFormat,postTranslation,unresolving,messageCompiler,fallbackLocale,messages}=context,[key,options]=parseTranslateArgs(...args),missingWarn=isBoolean(options.missingWarn)?options.missingWarn:context.missingWarn,fallbackWarn=isBoolean(options.fallbackWarn)?options.fallbackWarn:context.fallbackWarn,escapeParameter=isBoolean(options.escapeParameter)?options.escapeParameter:context.escapeParameter,resolvedMessage=!!options.resolvedMessage,defaultMsgOrKey=isString(options.default)||isBoolean(options.default)?isBoolean(options.default)?messageCompiler?key:()=>key:options.default:fallbackFormat?messageCompiler?key:()=>key:null,enableDefaultMsg=fallbackFormat||defaultMsgOrKey!=null&&(isString(defaultMsgOrKey)||isFunction(defaultMsgOrKey)),locale=getLocale(context,options);escapeParameter&&escapeParams(options);let[formatScope,targetLocale,message]=resolvedMessage?[key,locale,messages[locale]||create()]:resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn),format$2=formatScope,cacheBaseKey=key;if(!resolvedMessage&&!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))&&enableDefaultMsg&&(format$2=defaultMsgOrKey,cacheBaseKey=format$2),!resolvedMessage&&(!(isString(format$2)||isMessageAST(format$2)||isMessageFunction(format$2))||!isString(targetLocale)))return unresolving?-1:key;let occurred=!1,msg=isMessageFunction(format$2)?format$2:compileMessageFormat(context,key,targetLocale,format$2,cacheBaseKey,()=>{occurred=!0});if(occurred)return format$2;let messaged=evaluateMessage(context,msg,createMessageContext(getMessageContextOptions(context,targetLocale,message,options))),ret=postTranslation?postTranslation(messaged,key):messaged;if(escapeParameter&&isString(ret)&&(ret=sanitizeTranslatedHtml(ret)),__INTLIFY_PROD_DEVTOOLS__){let payloads={timestamp:Date.now(),key:isString(key)?key:isMessageFunction(format$2)?format$2.key:``,locale:targetLocale||(isMessageFunction(format$2)?format$2.locale:``),format:isString(format$2)?format$2:isMessageFunction(format$2)?format$2.source:``,message:ret};payloads.meta=assign$1({},context.__meta,getAdditionalMeta()||{}),translateDevTools(payloads)}return ret}function escapeParams(options){isArray$1(options.list)?options.list=options.list.map(item=>isString(item)?escapeHtml(item):item):isObject(options.named)&&Object.keys(options.named).forEach(key=>{isString(options.named[key])&&(options.named[key]=escapeHtml(options.named[key]))})}function resolveMessageFormat(context,key,locale,fallbackLocale,fallbackWarn,missingWarn){let{messages,onWarn,messageResolver:resolveValue,localeFallbacker}=context,locales=localeFallbacker(context,fallbackLocale,locale),message=create(),targetLocale,format$2=null,type=`translate`;for(let i=0;iformat$2);return msg$1.locale=targetLocale,msg$1.key=key,msg$1}let msg=messageCompiler(format$2,getCompileContext(context,targetLocale,cacheBaseKey,format$2,warnHtmlMessage,onError));return msg.locale=targetLocale,msg.key=key,msg.source=format$2,msg}function evaluateMessage(context,msg,msgCtx){return msg(msgCtx)}function parseTranslateArgs(...args){let[arg1,arg2,arg3]=args,options=create();if(!isString(arg1)&&!isNumber(arg1)&&!isMessageFunction(arg1)&&!isMessageAST(arg1))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);let key=isNumber(arg1)?String(arg1):(isMessageFunction(arg1),arg1);return isNumber(arg2)?options.plural=arg2:isString(arg2)?options.default=arg2:isPlainObject(arg2)&&!isEmptyObject(arg2)?options.named=arg2:isArray$1(arg2)&&(options.list=arg2),isNumber(arg3)?options.plural=arg3:isString(arg3)?options.default=arg3:isPlainObject(arg3)&&assign$1(options,arg3),[key,options]}function getCompileContext(context,locale,key,source,warnHtmlMessage,onError){return{locale,key,warnHtmlMessage,onError:err=>{throw onError&&onError(err),err},onCacheKey:source$1=>generateFormatCacheKey(locale,key,source$1)}}function getMessageContextOptions(context,locale,message,options){let{modifiers,pluralRules,messageResolver:resolveValue,fallbackLocale,fallbackWarn,missingWarn,fallbackContext}=context,ctxOptions={locale,modifiers,pluralRules,messages:(key,useLinked)=>{let val=resolveValue(message,key);if(val==null&&(fallbackContext||useLinked)){let[,,message$1]=resolveMessageFormat(fallbackContext||context,key,locale,fallbackLocale,fallbackWarn,missingWarn);val=resolveValue(message$1,key)}if(isString(val)||isMessageAST(val)){let occurred=!1,msg=compileMessageFormat(context,key,locale,val,key,()=>{occurred=!0});return occurred?NOOP_MESSAGE_FUNCTION:msg}else if(isMessageFunction(val))return val;else return NOOP_MESSAGE_FUNCTION}};return context.processor&&(ctxOptions.processor=context.processor),options.list&&(ctxOptions.list=options.list),options.named&&(ctxOptions.named=options.named),isNumber(options.plural)&&(ctxOptions.pluralIndex=options.plural),ctxOptions}initFeatureFlags$1();var VERSION=`11.1.12`;function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}var I18nErrorCodes={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(code,...args){return createCompileError(code,null,void 0)}I18nErrorCodes.UNEXPECTED_RETURN_TYPE,I18nErrorCodes.INVALID_ARGUMENT,I18nErrorCodes.MUST_BE_CALL_SETUP_TOP,I18nErrorCodes.NOT_INSTALLED,I18nErrorCodes.UNEXPECTED_ERROR,I18nErrorCodes.REQUIRED_VALUE,I18nErrorCodes.INVALID_VALUE,I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE,I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N,I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var SetPluralRulesSymbol=makeSymbol(`__setPluralRules`);makeSymbol(`__intlifyMeta`);var I18nWarnCodes={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13};I18nWarnCodes.FALLBACK_TO_ROOT,I18nWarnCodes.NOT_FOUND_PARENT_SCOPE,I18nWarnCodes.IGNORE_OBJ_FLATTEN,I18nWarnCodes.DEPRECATE_LEGACY_MODE,I18nWarnCodes.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,I18nWarnCodes.DUPLICATE_USE_I18N_CALLING;function handleFlatJson(obj){if(!isObject(obj)||isMessageAST(obj))return obj;for(let key in obj)if(hasOwn(obj,key))if(!key.includes(`.`))isObject(obj[key])&&handleFlatJson(obj[key]);else{let subKeys=key.split(`.`),lastIndex=subKeys.length-1,currentObj=obj,hasStringValue=!1;for(let i=0;i{if(`locale`in custom&&`resource`in custom){let{locale:locale$1,resource}=custom;locale$1?(ret[locale$1]=ret[locale$1]||create(),deepCopy(resource,ret[locale$1])):deepCopy(resource,ret)}else isString(custom)&&deepCopy(JSON.parse(custom),ret)}),messageResolver==null&&flatJson)for(let key in ret)hasOwn(ret,key)&&handleFlatJson(ret[key]);return ret}function getComponentOptions(instance$1){return instance$1.type}var DEVTOOLS_META=`__INTLIFY_META__`,composerID=0;function defineCoreMissingHandler(missing){return((ctx,locale,key,type)=>missing(locale,key,getCurrentInstance()||void 0,type))}var getMetaInfo=()=>{let instance$1=getCurrentInstance(),meta=null;return instance$1&&(meta=getComponentOptions(instance$1)[DEVTOOLS_META])?{[DEVTOOLS_META]:meta}:null};function createComposer(options={}){let{__root,__injectWithOption}=options,_isGlobal=__root===void 0,flatJson=options.flatJson,_ref=inBrowser?ref:shallowRef,_inheritLocale=isBoolean(options.inheritLocale)?options.inheritLocale:!0,_locale=_ref(__root&&_inheritLocale?__root.locale.value:isString(options.locale)?options.locale:DEFAULT_LOCALE),_fallbackLocale=_ref(__root&&_inheritLocale?__root.fallbackLocale.value:isString(options.fallbackLocale)||isArray$1(options.fallbackLocale)||isPlainObject(options.fallbackLocale)||options.fallbackLocale===!1?options.fallbackLocale:_locale.value),_messages=_ref(getLocaleMessages(_locale.value,options)),_missingWarn=__root?__root.missingWarn:isBoolean(options.missingWarn)||isRegExp(options.missingWarn)?options.missingWarn:!0,_fallbackWarn=__root?__root.fallbackWarn:isBoolean(options.fallbackWarn)||isRegExp(options.fallbackWarn)?options.fallbackWarn:!0,_fallbackRoot=__root?__root.fallbackRoot:isBoolean(options.fallbackRoot)?options.fallbackRoot:!0,_fallbackFormat=!!options.fallbackFormat,_missing=isFunction(options.missing)?options.missing:null,_runtimeMissing=isFunction(options.missing)?defineCoreMissingHandler(options.missing):null,_postTranslation=isFunction(options.postTranslation)?options.postTranslation:null,_warnHtmlMessage=__root?__root.warnHtmlMessage:isBoolean(options.warnHtmlMessage)?options.warnHtmlMessage:!0,_escapeParameter=!!options.escapeParameter,_modifiers=__root?__root.modifiers:isPlainObject(options.modifiers)?options.modifiers:{},_pluralRules=options.pluralRules||__root&&__root.pluralRules,_context;_context=(()=>{_isGlobal&&setFallbackContext(null);let ctx=createCoreContext({version:VERSION,locale:_locale.value,fallbackLocale:_fallbackLocale.value,messages:_messages.value,modifiers:_modifiers,pluralRules:_pluralRules,missing:_runtimeMissing===null?void 0:_runtimeMissing,missingWarn:_missingWarn,fallbackWarn:_fallbackWarn,fallbackFormat:_fallbackFormat,unresolving:!0,postTranslation:_postTranslation===null?void 0:_postTranslation,warnHtmlMessage:_warnHtmlMessage,escapeParameter:_escapeParameter,messageResolver:options.messageResolver,messageCompiler:options.messageCompiler,__meta:{framework:`vue`}});return _isGlobal&&setFallbackContext(ctx),ctx})(),updateFallbackLocale(_context,_locale.value,_fallbackLocale.value);function trackReactivityValues(){return[_locale.value,_fallbackLocale.value,_messages.value]}let locale=computed({get:()=>_locale.value,set:val=>{_context.locale=val,_locale.value=val}}),fallbackLocale=computed({get:()=>_fallbackLocale.value,set:val=>{_context.fallbackLocale=val,_fallbackLocale.value=val,updateFallbackLocale(_context,_locale.value,val)}}),messages=computed(()=>_messages.value);function getPostTranslationHandler(){return isFunction(_postTranslation)?_postTranslation:null}function setPostTranslationHandler(handler$1){_postTranslation=handler$1,_context.postTranslation=handler$1}function getMissingHandler(){return _missing}function setMissingHandler(handler$1){handler$1!==null&&(_runtimeMissing=defineCoreMissingHandler(handler$1)),_missing=handler$1,_context.missing=_runtimeMissing}let wrapWithDeps=(fn,argumentParser,warnType,fallbackSuccess,fallbackFail,successCondition)=>{trackReactivityValues();let ret;try{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=__root?getFallbackContext():void 0),ret=fn(_context)}finally{__INTLIFY_PROD_DEVTOOLS__,_isGlobal||(_context.fallbackContext=void 0)}if(isNumber(ret)&&ret===-1||warnType===`translate exists`){let[key,arg2]=argumentParser();return __root&&_fallbackRoot?fallbackSuccess(__root):fallbackFail(key)}else if(successCondition(ret))return ret;else throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)};function t(...args){return wrapWithDeps(context=>Reflect.apply(translate$1,null,[context,...args]),()=>parseTranslateArgs(...args),`translate`,root=>Reflect.apply(root.t,root,[...args]),key=>key,val=>isString(val))}function setPluralRules(rules){_pluralRules=rules,_context.pluralRules=_pluralRules}function getLocaleMessage(locale$1){return _messages.value[locale$1]||{}}function setLocaleMessage(locale$1,message){if(flatJson){let _message={[locale$1]:message};for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1]}_messages.value[locale$1]=message,_context.messages=_messages.value}function mergeLocaleMessage(locale$1,message){_messages.value[locale$1]=_messages.value[locale$1]||{};let _message={[locale$1]:message};if(flatJson)for(let key in _message)hasOwn(_message,key)&&handleFlatJson(_message[key]);message=_message[locale$1],deepCopy(message,_messages.value[locale$1]),_context.messages=_messages.value}return composerID++,__root&&inBrowser&&(watch(__root.locale,val=>{_inheritLocale&&(_locale.value=val,_context.locale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))}),watch(__root.fallbackLocale,val=>{_inheritLocale&&(_fallbackLocale.value=val,_context.fallbackLocale=val,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))})),{id:composerID,locale,fallbackLocale,get inheritLocale(){return _inheritLocale},set inheritLocale(val){_inheritLocale=val,val&&__root&&(_locale.value=__root.locale.value,_fallbackLocale.value=__root.fallbackLocale.value,updateFallbackLocale(_context,_locale.value,_fallbackLocale.value))},get availableLocales(){return Object.keys(_messages.value).sort()},messages,get modifiers(){return _modifiers},get pluralRules(){return _pluralRules||{}},get isGlobal(){return _isGlobal},get missingWarn(){return _missingWarn},set missingWarn(val){_missingWarn=val,_context.missingWarn=_missingWarn},get fallbackWarn(){return _fallbackWarn},set fallbackWarn(val){_fallbackWarn=val,_context.fallbackWarn=_fallbackWarn},get fallbackRoot(){return _fallbackRoot},set fallbackRoot(val){_fallbackRoot=val},get fallbackFormat(){return _fallbackFormat},set fallbackFormat(val){_fallbackFormat=val,_context.fallbackFormat=_fallbackFormat},get warnHtmlMessage(){return _warnHtmlMessage},set warnHtmlMessage(val){_warnHtmlMessage=val,_context.warnHtmlMessage=val},get escapeParameter(){return _escapeParameter},set escapeParameter(val){_escapeParameter=val,_context.escapeParameter=val},t,getLocaleMessage,setLocaleMessage,mergeLocaleMessage,getPostTranslationHandler,setPostTranslationHandler,getMissingHandler,setMissingHandler,[SetPluralRulesSymbol]:setPluralRules}}function createI18n(options={}){let __globalInjection=isBoolean(options.globalInjection)?options.globalInjection:!0,__instances=new Map,[globalScope,__global]=createGlobal(options),symbol=makeSymbol(``);function __getInstance(component){return __instances.get(component)||null}function __setInstance(component,instance$1){__instances.set(component,instance$1)}function __deleteInstance(component){__instances.delete(component)}let i18n={get mode(){return`composition`},async install(app$1,...options$1){if(app$1.__VUE_I18N_SYMBOL__=symbol,app$1.provide(app$1.__VUE_I18N_SYMBOL__,i18n),isPlainObject(options$1[0])){let opts=options$1[0];i18n.__composerExtend=opts.__composerExtend,i18n.__vueI18nExtend=opts.__vueI18nExtend}let globalReleaseHandler=null;__globalInjection&&(globalReleaseHandler=injectGlobalFields(app$1,i18n.global));let unmountApp=app$1.unmount;app$1.unmount=()=>{globalReleaseHandler&&globalReleaseHandler(),i18n.dispose(),unmountApp()}},get global(){return __global},dispose(){globalScope.stop()},__instances,__getInstance,__setInstance,__deleteInstance};return i18n}function createGlobal(options,legacyMode){let scope$1=effectScope(),obj=scope$1.run(()=>createComposer(options));if(obj==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[scope$1,obj]}var globalExportProps=[`locale`,`fallbackLocale`,`availableLocales`],globalExportMethods=[`t`];function injectGlobalFields(app$1,composer){let i18n=Object.create(null);return globalExportProps.forEach(prop=>{let desc=Object.getOwnPropertyDescriptor(composer,prop);if(!desc)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);let wrap=isRef(desc.value)?{get(){return desc.value.value},set(val){desc.value.value=val}}:{get(){return desc.get&&desc.get()}};Object.defineProperty(i18n,prop,wrap)}),app$1.config.globalProperties.$i18n=i18n,globalExportMethods.forEach(method=>{let desc=Object.getOwnPropertyDescriptor(composer,method);if(!desc||!desc.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(app$1.config.globalProperties,`$${method}`,desc)}),()=>{delete app$1.config.globalProperties.$i18n,globalExportMethods.forEach(method=>{delete app$1.config.globalProperties[`$${method}`]})}}if(initFeatureFlags(),registerMessageCompiler(compile),__INTLIFY_PROD_DEVTOOLS__){let target=getGlobalThis();target.__INTLIFY__=!0,setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const emptyImage=`data:image/svg+xml,`;function getURL(path){return typeof path!=`string`||!path||path.includes(`://`)?path:(path.startsWith(`/`)&&(path=path.substring(1)),`/${path}`)}function getAssetURL(assetPath){let url=getURL(assetPath);return typeof url!=`string`||!url||url.startsWith(`/`)&&(url=`/ui/ui-vue/src/assets`+url),url}const getFile=(url,timeout=5)=>new Promise((resolve$1,reject)=>{try{let xhr=new XMLHttpRequest,tmr=timeout>0?setTimeout(()=>{xhr.abort(),reject(Error(`Timeout`))},timeout*1e3):null;xhr.open(`GET`,url,!0),xhr.onload=()=>{tmr&&clearTimeout(tmr),xhr.status===200?resolve$1(xhr.responseText):reject(Error(`Failed with code ${xhr.status}`))},xhr.send()}catch(err){reject(err)}}),ucaseFirst=str=>str[0].toUpperCase()+str.slice(1),defer=()=>{let noop$3=()=>{},resolve$1,reject,_notifyHandler=noop$3,promise=new Promise((res,rej)=>{[resolve$1,reject]=[res,rej]});return{promise:{then:(resolveHandler,rejectHandler=noop$3,notifyHandler=noop$3)=>(_notifyHandler=notifyHandler,promise.then(resolveHandler,rejectHandler))},resolve:resolve$1,reject,notify:val=>_notifyHandler(val)}},sleep=ms=>new Promise(resolve$1=>setTimeout(resolve$1,ms)),debounce=(func,wait,immediate)=>{let timeout;function call(...args){let context=this,later=()=>{timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;timeout&&window.clearTimeout(timeout),timeout=window.setTimeout(later,wait),callNow&&func.apply(context,args)}return call.cancel=()=>timeout&&window.clearTimeout(timeout),call};var Settings=class{options=reactive({});values=reactive({});_previousValues={};_changedValues={};_watcher=null;_syncPending=!1;inited=!1;loaded=!1;_lua;constructor(eventBus$1=void 0,lua=void 0){eventBus$1&&lua&&this.init(eventBus$1,lua)}init(eventBus$1=void 0,lua=void 0){if(!(this.inited||this.loaded)){if(this.inited=!0,!eventBus$1||!lua){let bridge$4=useBridge();eventBus$1||=bridge$4.events,lua||=bridge$4.lua}eventBus$1.on(`SettingsChanged`,data=>{Object.assign(this.options,data.options),Object.assign(this.values,data.values),this._previousValues=this.clone(data.values),this._changedValues={},this._watcher||=watch(()=>this.values,()=>this._syncChanges(),{deep:!0,flush:`sync`}),this.loaded=!0}),this._syncChangesDebounced=debounce(this._syncChangesImmediate,100),this._lua=lua,this.update()}}async waitForData(){for(;!this.inited||!this.loaded;)await sleep(10)}async update(){if(this._lua)return await this._lua.settings.notifyUI()}clone(data){return JSON.parse(JSON.stringify(data))}getValue(field=null){if(this.loaded)return field&&!(field in this.values)?null:this.clone(field?this.values[field]:this.values)}get changesPending(){return this._syncChangesImmediate(),Object.keys(this._changedValues).length>0}get pendingChanges(){return this._syncChangesImmediate(),this.clone(this._changedValues)}_syncChanges(){this._syncPending=!0,this._syncChangesDebounced()}_syncChangesDebounced=()=>{};_syncChangesImmediate(){if(this._syncPending)for(let key in this._syncPending=!1,this.values)this._previousValues[key]===this.values[key]?key in this._changedValues&&delete this._changedValues[key]:this._changedValues[key]=this.values[key]}async apply(values=void 0){if(!this.loaded)return;let res;if(values)res=this.clone(values);else{if(!this.changesPending)return;res={...this._changedValues},this._changedValues={}}return Object.assign(this._previousValues,res),await this._lua.settings.setState(res)}},settings=new Settings;function useSettings(){return settings.init(),settings}async function useSettingsAsync(){return settings.init(),await settings.waitForData(),settings}var ANGULAR_TRANSLATE=[],_angularTranslateFunc,_i18n,i18nVariant=`petite`,defaultLocale=`en-US`,localeCheckId=`ui.common.okay`,checkLocale=()=>_i18n&&_i18n.global.t(localeCheckId)!==localeCheckId,translate=val=>val;const initTranslation=()=>{if(window.vueI18n?.__bng_i18n_variant!==i18nVariant){window.vueI18n&&console.warn(`Localisation library is already initialized, but its variant was not validated. Reloading...`);let creationArguments={locale:defaultLocale,fallbackLocale:defaultLocale,silentTranslationWarn:!0,fallbackWarn:!1,missingWarn:!1,warnHtmlMessage:!1};window.beamng&&!window.beamng.shipping&&(creationArguments.fallbackLocale=[defaultLocale,`not-shipping.internal`]),window.vueI18n=createI18n(creationArguments),window.vueI18n.__bng_i18n_variant=i18nVariant}return _i18n=window.vueI18n,{i18n:_i18n,plugin:translationPlugin}},loadLocale=async(locale,force=!1)=>{if(!(_i18n.global.availableLocales.includes(locale)&&!force))try{let url=getURL(`/locales/${locale}.json`),resp;try{resp=await getFile(url,5)}catch(err){if(err.message!==`Timeout`)throw err;console.warn(`Locale ${locale} load timed out, retrying with a bigger timeout...`),resp=await getFile(url,10)}_i18n.global.setLocaleMessage(locale,preprocessLocaleJSON(JSON.parse(resp)))}catch(err){console.error(`Failed to load ${locale} locale`,err)}};var setupUserLanguage=async()=>{let settings$1=await useSettingsAsync();watch(()=>settings$1.values.uiLanguage,async lang=>{lang&&lang!==defaultLocale&&await loadLocale(lang),_i18n.global.locale.value=_i18n.global.availableLocales.includes(lang)?lang:defaultLocale,lang!==defaultLocale&&!checkLocale()&&console.warn(`Locale ${lang} is not behaving properly`)},{immediate:!0})};const translationPlugin=()=>({install(app$1,options){return _i18n.global.locale.value=defaultLocale,loadLocale(defaultLocale,!0).then(async()=>{checkLocale()||(console.warn(`Failed to load default locale, retrying...`),await loadLocale(defaultLocale,!0),checkLocale()||console.error(`Failed to load default locale!`)),await setupUserLanguage()}),contextTranslatePlugin().install(app$1,options)}}),contextTranslatePlugin=()=>({install(app$1,options){translate=_wrapTranslate(app$1.config.globalProperties.$t||_i18n.global.t),app$1.config.globalProperties.$t=_i18n.global.t,app$1.config.globalProperties.$ctx_t=(val,translateContext=!0)=>contextTranslate(val,translateContext),app$1.config.globalProperties.$mctx_t=multiContextTranslate,app$1.config.globalProperties.$tt=translate}});var contextTranslate=(val,translateContext=!1)=>{let type=typeof val;if(type===`undefined`||val===null)return``;if(type===`object`)if(val.txt&&val.context){let context=val.context;if(translateContext)for(let key in context={...context},context)context[key]=contextTranslate(context[key],!0);return getTranslation(val.txt,context)}else val=val.txt||``;return getTranslation(``+val)},multiContextTranslate=val=>{if(val.txt)return contextTranslate(val);let description=``;for(let i of val)description+=contextTranslate(i);return description},getAngularTranslationFunc=()=>_angularTranslateFunc||(window.angular$translate&&(_angularTranslateFunc=window.angular$translate.instant.bind(window.angular$translate)),_angularTranslateFunc||translate),getTranslation=(...vals)=>(ANGULAR_TRANSLATE.includes(vals[0])?getAngularTranslationFunc():translate)(...vals);const $translate={instant:val=>val===void 0?``:translate(val),contextTranslate,multiContextTranslate};var rgxAngular=/{{.+}}/,rgxAngularTranslation=/([^ ]?){{ *(?::: *)?'([^ |}]+)' *\| *translate *}}([^\w]?)/gi;function translateAngularToVue(text){let vueText=text.replace(rgxAngularTranslation,(_,q1,s,q2)=>(q1?`${q1} `:``)+`@:${s}`+(q2?` ${q2}`:``));return vueText=vueText.replace(/{{ *([a-z\d_.]+) *}}/gi,`{$1}`),vueText===text||rgxAngular.test(vueText)?null:vueText}const preprocessLocaleJSON=obj=>{let messages={};for(let key in obj){if(ANGULAR_TRANSLATE.includes(key))continue;let text=obj[key];if(rgxAngular.test(text)){let vueText=translateAngularToVue(text);vueText?messages[key]=vueText:ANGULAR_TRANSLATE.includes(key)||ANGULAR_TRANSLATE.push(key)}else messages[key]=text}return messages};var rgxLinkedTranslation=/@:([a-zA-Z0-9_][a-zA-Z0-9_.-]+[a-zA-Z0-9_])/g,linkedNamespace=`__linked_custom`;function _linkedTranslation(msg){if(!msg.includes(`@:`)||!rgxLinkedTranslation.test(msg))return msg;let locale=_i18n.global.locale.value,messages=_i18n.global.messages.value[locale];msg=msg.replace(rgxLinkedTranslation,(_,id)=>`@:`+id);let uniqueId$1=``,match;for(rgxLinkedTranslation.lastIndex=0;(match=rgxLinkedTranslation.exec(msg))!==null;)uniqueId$1+=match[1].replace(/\./g,`_`)+`__`;let fullId,messageId,counter$1=0;for(;counter$1<100;){messageId=uniqueId$1+ ++counter$1,fullId=linkedNamespace+`.`+messageId;let existingMessage=messages[fullId];if(!existingMessage){_i18n.global.mergeLocaleMessage(locale,{[fullId]:msg});break}if(existingMessage===msg)break}return fullId}function _wrapTranslate(f){function translate$2(...args){let key=args[0];return key?typeof key!=`string`||(key=_linkedTranslation(key),key.includes(` `))?key:f.apply(this,[key,...args.slice(1)]):``}return Object.defineProperty(translate$2,`name`,{value:f.name}),translate$2}const UI_NAV_ACTION_GROUP=`UINavActions`,GAME_UI_NAVIGATION_EVENT=`UINavigation`,GAME_UI_NAV_MAP_ENABLED_EVENT=`MenuActionMapEnabled`,DOM_UI_NAVIGATION_EVENT=`ui_nav`,ACTIONS_BY_UI_EVENT={focus_u:`menu_item_up`,focus_r:`menu_item_right`,focus_d:`menu_item_down`,focus_l:`menu_item_left`,menu:`toggleMenues`,back:`menu_item_back`,details:`cui_details`,advanced:`cui_advanced`,camera:`cui_camera`,logs:`cui_logs`,tab_l:`menu_tab_left`,tab_r:`menu_tab_right`,modifier:`cui_modifier`,action_4:`cui_action_4`,focus_ud:`menu_item_focus_ud`,focus_lr:`menu_item_focus_lr`,rotate_h_cam:`menu_item_radial_right_x`,rotate_v_cam:`menu_item_radial_right_y`,ok:`menu_item_select`,cancel:`cui_cancel`,action_2:`cui_action_2`,action_3:`cui_action_3`,context:`cui_context`,gameplay_interact:`cui_gameplay_interact`},UI_EVENTS_BY_ACTION=Object.assign({},...Object.entries(ACTIONS_BY_UI_EVENT).map(([k,v])=>({[v]:k}))),UI_EVENTS={focus_u:`focus_u`,focus_r:`focus_r`,focus_d:`focus_d`,focus_l:`focus_l`,pause:`pause`,menu:`menu`,back:`back`,details:`details`,advanced:`advanced`,camera:`camera`,logs:`logs`,tab_l:`tab_l`,tab_r:`tab_r`,modifier:`modifier`,zoom_out:`zoom_out`,zoom_in:`zoom_in`,subtab_l:`subtab_l`,subtab_r:`subtab_r`,center_cam:`center_cam`,action_4:`action_4`,move_ud:`move_ud`,move_lr:`move_lr`,focus_ud:`focus_ud`,focus_lr:`focus_lr`,rotate_h_cam:`rotate_h_cam`,rotate_v_cam:`rotate_v_cam`,ok:`ok`,cancel:`cancel`,action_2:`action_2`,action_3:`action_3`,context:`context`,gameplay_interact:`gameplay_interact`},UI_EVENT_GROUPS={focusMove:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r],focusMoveScalar:[UI_EVENTS.focus_ud,UI_EVENTS.focus_lr],moveScalar:[UI_EVENTS.move_ud,UI_EVENTS.move_lr],navigation:[UI_EVENTS.focus_u,UI_EVENTS.focus_d,UI_EVENTS.focus_l,UI_EVENTS.focus_r,UI_EVENTS.focus_ud,UI_EVENTS.focus_lr,UI_EVENTS.move_ud,UI_EVENTS.move_lr],allEvents:Object.keys(ACTIONS_BY_UI_EVENT)},NAV_ACTIONS=[`focus_u`,`focus_d`,`focus_l`,`focus_r`],VALUE_BASED_EVENTS=[`zoom_out`,`zoom_in`,`subtab_l`,`subtab_r`,`move_ud`,`move_lr`,`focus_ud`,`focus_lr`,`rotate_h_cam`,`rotate_v_cam`],UI_SCOPE_ATTR$2=`bng-ui-scope`,UI_EVENT_ATTR=`ui-nav-event`;var UINavEventProcessor=class{constructor(){this.isModified=!1}processEvent(name,value=void 0,extras=[],context={}){return!this.isValidGameContext()||context.isEventBlocked&&context.isEventBlocked(name)?null:(this.handleModifierState(name,value),this.shouldHandleWithAngular(name,value)?(this.handleAngularIntegration(),null):this.createEventData(name,value,extras))}isValidGameContext(){return window.beamng?.ingame}handleModifierState(name,value){name===`modifier`&&(this.isModified=value===1)}shouldHandleWithAngular(name,value){return window.globalAngularRootScope&&window.bngIntroShown&&(name===`menu`||name===`back`)&&value===1}handleAngularIntegration(){window.globalAngularRootScope.$broadcast(`MenuToggle`)}createEventData(name,value,extras){let activeElement=document.activeElement,targetScope=null;if(activeElement&&activeElement!==document.body){let scopeElement=activeElement.closest(`[${UI_SCOPE_ATTR$2}]`);scopeElement&&(targetScope=scopeElement.getAttribute(UI_SCOPE_ATTR$2))}return{name,value,modified:name!==`modifier`&&this.isModified,extras,boundAction:ACTIONS_BY_UI_EVENT[name],sendToCrossfire:!0,targetScope}}getEventBroadcastElement(activeScope){let activeElement=document.activeElement;if(activeElement&&activeElement!==document.body)return activeElement;if(activeScope){let scopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${activeScope}"]`);if(scopeElement)return scopeElement}return document.body}},UINavActionHandlers=class{constructor(eventBus$1=null){this._useCrossfire=!0,this.eventBus=eventBus$1}setUseCrossfire(enabled){this._useCrossfire=enabled}get useCrossfire(){return this._useCrossfire}setEventBus(eventBus$1){this.eventBus=eventBus$1}handleGlobalEvent=event=>{let eventData=event.detail;eventData.value===1&&(this.handleMenuActions(eventData)||this.handleNavigationActions(eventData)||this.handleGameActions(eventData))||(this.useCrossfire&&eventData.sendToCrossfire&&handleUINavEvent(event),event.defaultPrevented||(this.handleTabNavigation(eventData),this.handleCameraRotation(eventData),this.handleContextActions(eventData)))};handleMenuActions=eventData=>{if(eventData.name===`menu`||eventData.name===`back`){let globalAngularRootScope=window.globalAngularRootScope;return globalAngularRootScope?(globalAngularRootScope.$broadcast(`MenuToggle`),!1):!0}return!1};handleNavigationActions(eventData){if(NAV_ACTIONS.includes(eventData.name)){Lua_default.extensions.hook(`onMenuItemNavigation`);return}return!1}handleGameActions(eventData){switch(eventData.name){case`pause`:return Lua_default.simTimeAuthority.togglePause(),!0;case`center_cam`:return runRaw(`if core_camera then core_camera.resetCamera(${eventData.extras.player}) end`,!1),!0;default:return!1}}handleTabNavigation(eventData){if(eventData.value===1)switch(eventData.name){case`tab_l`:this.eventBus.emit(`ui_topBar_selectPrevious`);break;case`tab_r`:this.eventBus.emit(`ui_topBar_selectNext`);break}}handleCameraRotation(eventData){if(eventData.name===`rotate_h_cam`||eventData.name===`rotate_v_cam`){let camDir=eventData.name===`rotate_v_cam`?`pitch`:`yaw`,[filterType]=eventData.extras||[0];runRaw(`if core_camera then core_camera.rotate_${camDir}(${eventData.value}, ${filterType}) end`,!1)}}handleContextActions(eventData){[`context`,`details`,`camera`].includes(eventData.name)&&eventData.value===1&&this.isBigMapContext()&&runRaw(`if freeroam_bigMapMode then freeroam_bigMapMode.toggleBigMap() end`,!1)}isBigMapContext(){return[`#/bigmap`,`#/menu.bigmap`,`#/play`,`#/menu/bigmap`].includes(window.location.hash)}},UINavService=class{constructor(eventBus$1){this._eventBus=eventBus$1,this._eventsActive=!1,this._globalEventsHooked=!1,this._activeScope=void 0,this._blockedEvents=[],this.eventProcessor=new UINavEventProcessor,this.actionHandlers=new UINavActionHandlers(eventBus$1),this.useCrossfire=!0}initialize(){this.attachEventListeners(),this.hookGlobalEvents()}handleGameEvent=(name,value,...extras)=>{let context={activeScope:this.activeScope,isEventBlocked:eventName=>this.isEventBlocked(eventName)},eventData=this.eventProcessor.processEvent(name,value,extras,context);eventData&&this.dispatchDOMEvent(eventData)};blockEvents(...events$3){let eventsToAdd=events$3.flat().filter(event=>!this._blockedEvents.includes(event));this._blockedEvents.push(...eventsToAdd)}unblockEvents(...events$3){let eventsToRemove=events$3.flat();this._blockedEvents=this._blockedEvents.filter(event=>!eventsToRemove.includes(event))}setBlockedEvents(events$3=[]){this._blockedEvents=[...events$3]}clearBlockedEvents(){this._blockedEvents=[]}isEventBlocked(eventName){return this._blockedEvents.includes(eventName)}getBlockedEvents(){return[...this._blockedEvents]}handleEnabledChange=state=>{this.eventsActive=state};dispatchDOMEvent=eventData=>{let event=new CustomEvent(DOM_UI_NAVIGATION_EVENT,{detail:eventData,cancelable:!0,bubbles:!0});this.eventProcessor.getEventBroadcastElement(this.activeScope).dispatchEvent(event)};fireEvent(uiEvent,value){this._eventBus&&(value instanceof PointerEvent?(this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,1),this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,0)):this._eventBus.emit(GAME_UI_NAVIGATION_EVENT,uiEvent,typeof value==`number`?value:value?1:0))}setActiveScope(scopeId){this._activeScope=scopeId}get activeScope(){return this._activeScope}activate(state=!0){this.attachEventListeners(state),this.eventsActive=state}hookGlobalEvents(state=!0){let listenerAction=document.body[state?`addEventListener`:`removeEventListener`];listenerAction(DOM_UI_NAVIGATION_EVENT,this.actionHandlers.handleGlobalEvent),this.globalEventsHooked=state}attachEventListeners(state=!0){this._eventBus&&(this._eventBus.off(GAME_UI_NAVIGATION_EVENT),this._eventBus.off(GAME_UI_NAV_MAP_ENABLED_EVENT),state&&(this._eventBus.on(GAME_UI_NAVIGATION_EVENT,this.handleGameEvent),this._eventBus.on(GAME_UI_NAV_MAP_ENABLED_EVENT,this.handleEnabledChange)))}setFilteredEvents(...events$3){this.clearFilteredEvents();let actionsToFilter=[...new Set(events$3.flat(1/0))].map(event=>ACTIONS_BY_UI_EVENT[event]);Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,actionsToFilter),Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!0)}setFilteredEventsAllExcept(...events$3){let eventsToNotFilter=[...new Set(events$3.flat(1/0))],eventsToFilter=Object.keys(ACTIONS_BY_UI_EVENT).filter(ev=>!eventsToNotFilter.includes(ev));this.setFilteredEvents(eventsToFilter)}clearFilteredEvents(){Lua_default.extensions.core_input_actionFilter.addAction(0,UI_NAV_ACTION_GROUP,!1),Lua_default.extensions.core_input_actionFilter.setGroup(UI_NAV_ACTION_GROUP,[])}set eventsActive(value){this._eventsActive=value}get eventsActive(){return this._eventsActive}set globalEventsHooked(value){this._globalEventsHooked=value}get globalEventsHooked(){return this._globalEventsHooked}get useCrossfire(){return this.actionHandlers.useCrossfire}set useCrossfire(value){this.actionHandlers.setUseCrossfire(value)}get eventBus(){return this._eventBus}},instance=null;const setUINavServiceInstance=serviceInstance=>{instance=serviceInstance},getUINavServiceInstance=()=>{if(!instance)throw Error(`UINavService not initialized.`);return instance},SCOPED_NAV_ATTR=`bng-scoped-nav`,SCOPED_NAV_PROPERTY_NAME=`_bngScopedNav`,UI_SCOPE_ATTR$1=`bng-ui-scope`,BNG_ON_UI_NAV_ATTR$1=`__BngOnUiNav`,ATTR_NAME$1=`bng-scoped-nav`,PASSTHROUGH_EXCLUDED_EVENTS=[UI_EVENTS.ok,UI_EVENTS.back,UI_EVENT_GROUPS.focusMove,UI_EVENT_GROUPS.focusMoveScalar],SCOPED_NAV_STATES={active:`full`,partial:`partial`,suspended:`suspended`,inactive:`inactive`},SCOPED_NAV_EVENTS={activate:`scopednav:activate`,deactivate:`scopednav:deactivate`,suspend:`scopednav:suspend`,resume:`scopednav:resume`},SCOPED_NAV_TYPES={normal:`normal`,container:`container`,nonav:`nonav`,popover:`popover`};var ScopeRegistry=class{constructor(){this.scopeRegistries=new WeakMap,this.depthCache=new WeakMap,this.cleanupTimers=new Map}clearDepthCache(scopeElement){this.depthCache.delete(scopeElement)}getCachedDepth(element,scopeElement){let scopeDepthCache=this.depthCache.get(scopeElement);if(scopeDepthCache||(scopeDepthCache=new Map,this.depthCache.set(scopeElement,scopeDepthCache)),!scopeDepthCache.has(element)){let depth=this._getElementDepth(element,scopeElement);scopeDepthCache.set(element,depth)}return scopeDepthCache.get(element)}register(scopeElement,handlerDescriptor){let scopeRegistry=this.scopeRegistries.get(scopeElement);scopeRegistry||(scopeRegistry={handlers:[],scopeHandler:null,initialized:!1},this.scopeRegistries.set(scopeElement,scopeRegistry));let existingIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===handlerDescriptor.element&&this.descriptorsMatch(h$1.eventDescriptor,handlerDescriptor.eventDescriptor));return existingIndex===-1?scopeRegistry.handlers.push(handlerDescriptor):scopeRegistry.handlers[existingIndex]=handlerDescriptor,scopeRegistry.initialized||this.initializeScopeHandler(scopeElement,scopeRegistry),this.clearDepthCache(scopeElement),handlerDescriptor.handler}descriptorsMatch(desc1,desc2){return desc1.name===desc2.name&&desc1.modified===desc2.modified&&desc1.focusRequired===desc2.focusRequired}unregister(element,handlerController){let scopeElement=element.closest(`[${UI_SCOPE_ATTR$2}]`);if(!scopeElement)return;let scopeRegistry=this.scopeRegistries.get(scopeElement);if(!scopeRegistry)return;let handlerIndex=scopeRegistry.handlers.findIndex(h$1=>h$1.element===element&&h$1.handler===handlerController);handlerIndex!==-1&&(scopeRegistry.handlers.splice(handlerIndex,1),this.clearDepthCache(scopeElement)),this.scheduleCleanup(scopeElement,scopeRegistry)}scheduleCleanup(scopeElement,scopeRegistry){this.cleanupTimers.has(scopeElement)&&clearTimeout(this.cleanupTimers.get(scopeElement));let timerId=setTimeout(()=>{this.performCleanup(scopeElement,scopeRegistry),this.cleanupTimers.delete(scopeElement)},100);this.cleanupTimers.set(scopeElement,timerId)}performCleanup(scopeElement,scopeRegistry){scopeRegistry.handlers.length===0&&(scopeElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,scopeRegistry.scopeHandler),this.scopeRegistries.delete(scopeElement),this.clearDepthCache(scopeElement))}destroy(){this.cleanupTimers.forEach(timer=>clearTimeout(timer)),this.cleanupTimers.clear(),this.depthCache=new WeakMap}initializeScopeHandler(scopeElement,scopeRegistry){let scopeHandler=event=>{let scopeId=scopeElement.getAttribute(UI_SCOPE_ATTR$2),uiNavService=getUINavServiceInstance(),targetScope=event.detail?.targetScope||uiNavService.activeScope;if(targetScope&&targetScope!==scopeId&&!this._isTargetScopeNested(targetScope,scopeElement)){console.warn(`UINav: Event target scope is not the intended scope. Ignoring event for this scope(${scopeId})`,{targetScope,scopeId});return}if(scopeElement._bngScopedNav&&scopeElement._bngScopedNav.canIgnoreEvent&&scopeElement._bngScopedNav.canIgnoreEvent(event)){event.stopPropagation();return}let isTargetActiveScope=targetScope===scopeId&&scopeId===uiNavService.activeScope,canPassthrough=isTargetActiveScope&&this._allowsPassthrough(scopeElement,event.detail),monitoredEvents=[...MONITORED_UI_NAV_EVENTS,UI_EVENTS.back];if(!(!isTargetActiveScope&&!canPassthrough&&!monitoredEvents.includes(event.detail.name))){if(!isTargetActiveScope&&!canPassthrough&&monitoredEvents.includes(event.detail.name)){this._executeScopedNavHandler(scopeElement,event,scopeRegistry.handlers)||event.stopPropagation();return}(!this._executeScopedBubbling(scopeElement,event,scopeRegistry.handlers)||!this._checkScopeBubbling(scopeElement,event))&&event.stopPropagation()}};scopeElement.addEventListener(DOM_UI_NAVIGATION_EVENT,scopeHandler),scopeRegistry.scopeHandler=scopeHandler,scopeRegistry.initialized=!0}_isTargetScopeNested(targetScopeId,currentScopeElement){let targetScopeElement=document.querySelector(`[${UI_SCOPE_ATTR$2}="${targetScopeId}"]`);return targetScopeElement?currentScopeElement.contains(targetScopeElement)&&targetScopeElement!==currentScopeElement:!1}_executeScopedNavHandler(scopeElement,event,handlers$1){let matchingHandlers=handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(event.detail,h$1.eventDescriptor)&&h$1.element===scopeElement);if(matchingHandlers.length===0)return!0;let results=[];for(let handler$1 of matchingHandlers)try{let result=handler$1.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:handler$1.element,event:event.detail.name}),results.push(!1)}return results.some(result=>result===!0)}_executeScopedBubbling(scopeElement,event,handlers$1){let eventData=event.detail,matchingHandlers=handlers$1&&handlers$1.length>0?handlers$1.filter(h$1=>!h$1.disabled&&this._eventMatchesDescriptor(eventData,h$1.eventDescriptor)):[];if(matchingHandlers.length===0)return!0;let activeElement=document.activeElement,startElement=event.target;startElement=activeElement&&scopeElement.contains(activeElement)&&matchingHandlers.some(h$1=>h$1.element===activeElement)?activeElement:this._findDeepestHandlerElement(scopeElement,matchingHandlers);let bubblingPath=this._buildBubblingPath(startElement,scopeElement,matchingHandlers);return bubblingPath.length===0?(console.warn(`UINav: No bubbling path found.`,{scopeElement,event,handlers:handlers$1}),!0):this._executeHandlersAlongPath(bubblingPath,event)}_findDeepestHandlerElement(scopeElement,handlers$1){return[...new Set(handlers$1.map(h$1=>h$1.element))].filter(el=>this.getCachedDepth(el,scopeElement)<0?!1:!this._isElementInNestedScope(el,scopeElement)).sort((a$1,b)=>{let depthA=this.getCachedDepth(a$1,scopeElement);return this.getCachedDepth(b,scopeElement)-depthA})[0]||null}_isElementInNestedScope(element,currentScopeElement){let current=element;for(;current&¤t!==currentScopeElement;){if(current.hasAttribute(`bng-ui-scope`)&¤t!==currentScopeElement)return!0;current=current.parentElement}return!1}_buildBubblingPath(startElement,scopeElement,handlers$1){if(!scopeElement.contains(startElement))return console.warn(`UINav: Start element is outside scope boundary`,startElement,scopeElement),[];let path=[],current=startElement;for(;current&&scopeElement.contains(current);){let elementHandlers=handlers$1.filter(h$1=>h$1.element===current);if(elementHandlers.length>0&&path.push({element:current,handlers:elementHandlers}),current===scopeElement)break;current=current.parentElement}return path}_executeHandlersAlongPath(bubblingPath,event){for(let pathItem of bubblingPath){let results=[];for(let handlerDescriptor of pathItem.handlers)try{let result=handlerDescriptor.handler(event);results.push(result)}catch(error){console.error(`Error in UINav scope handler:`,error,{element:pathItem.element,event:event.detail.name}),results.push(!1)}if(!results.some(result=>result===!0))return!1}return!0}_checkScopeBubbling(scopeElement,event){let scopedNavProps=scopeElement._bngScopedNav;return scopedNavProps?scopedNavProps.shouldBubbleEvent&&typeof scopedNavProps.shouldBubbleEvent==`function`?scopedNavProps.shouldBubbleEvent(event):!1:!0}_getElementDepth(element,parent){let depth=0,current=element;for(;current&¤t!==parent;)depth++,current=current.parentElement;return current===parent?depth:-1}_allowsPassthrough(scopeElement,eventData){let domScopedNavProps=scopeElement.hasAttribute(`bng-scoped-nav`)?scopeElement[SCOPED_NAV_PROPERTY_NAME]:{};return domScopedNavProps.passthroughActive&&domScopedNavProps.passthroughEnabled&&domScopedNavProps.passthroughEvents.includes(eventData.name)}_eventMatchesDescriptor(eventData,descriptor){for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0}};const isOnOffEvent=eventName=>!VALUE_BASED_EVENTS.includes(eventName),checkOn=value=>value,normalizeEventDescriptor=eventDescriptor=>({string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}})[typeof eventDescriptor]||!1,eventMatchesDescriptor=(eventData,descriptor)=>{for(let[item,value]of Object.entries(descriptor))if(value!==void 0)if(item===`focusRequired`){if(value&&!value.contains(document.activeElement))return!1}else{if(!(item in eventData))return!1;if(typeof value==`function`){if(!value(eventData[item]))return!1}else if(eventData[item]!=value)return!1}return!0},getDescriptorEventNameText=descriptor=>descriptor.name?typeof descriptor.name==`function`?descriptor.name.name:descriptor.name:`ALL`;var HandlerFactory=class{static createHandler(eventDescriptor,userHandler){let descriptor=normalizeEventDescriptor(eventDescriptor);if(!descriptor)throw Error(`Invalid event descriptor when trying to create a UINav handler. Expecting a String or an Object.`);let handlerFuncName=userHandler?.name||`uiNav_${getDescriptorEventNameText(descriptor)}_handler`,disabled=!1;function wrapper(event){let eventData=event?.detail||{};return disabled||!eventMatchesDescriptor(eventData,descriptor)?!0:userHandler(event)}return Object.defineProperty(wrapper,`name`,{value:handlerFuncName}),Object.defineProperty(wrapper,`disabled`,{configurable:!1,get:()=>disabled,set:state=>{disabled=state}}),wrapper}static normalizeEventDescriptor(eventDescriptor){return{string:{name:eventDescriptor,value:isOnOffEvent(eventDescriptor)?checkOn:void 0,modified:!1,extras:void 0},object:{...eventDescriptor,value:`value`in eventDescriptor?eventDescriptor.value:isOnOffEvent(eventDescriptor.name)?checkOn:void 0}}[typeof eventDescriptor]||!1}},UINavHandlers=class{constructor(){this.scopeRegistry=new ScopeRegistry}add(domElement,uiNavHandlerOrDescriptor,handler$1=void 0){let scopeElement=domElement.closest(`[${UI_SCOPE_ATTR$2}]`);return scopeElement?this.addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement):this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1)}remove(domElement,uiNavHandler){domElement.closest(`[bng-ui-scope]`)?this.scopeRegistry.unregister(domElement,uiNavHandler):this.removeIndividual(domElement,uiNavHandler)}addWithScope(domElement,uiNavHandlerOrDescriptor,handler$1,scopeElement){let targetElement=domElement;if(!scopeElement.contains(targetElement))return console.error(`UINav: Attempting to register handler for element outside scope`,{targetElement,scopeElement,scopeId:scopeElement.getAttribute(UI_SCOPE_ATTR$2)}),this.addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1);let wrapperHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor,handlerDescriptor={element:domElement,eventDescriptor:HandlerFactory.normalizeEventDescriptor(uiNavHandlerOrDescriptor),handler:wrapperHandler,disabled:!1};return this.scopeRegistry.register(scopeElement,handlerDescriptor)}addIndividual(domElement,uiNavHandlerOrDescriptor,handler$1){let uiNavHandler=handler$1?HandlerFactory.createHandler(uiNavHandlerOrDescriptor,handler$1):uiNavHandlerOrDescriptor;return domElement.addEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler),uiNavHandler}removeIndividual(domElement,uiNavHandler){domElement.removeEventListener(DOM_UI_NAVIGATION_EVENT,uiNavHandler)}},handlers_default=new UINavHandlers;function usePopupUINavScopeName(baseName,props){let attrs=useAttrs(),scopeName=baseName+`__`+attrs.__id;return useUINavScope(scopeName),watch(()=>props.popupActive,()=>props.popupActive&&useUINavScope(scopeName)),scopeName}function useUINavScope(scope$1=void 0,restoreScopeOnUnmount=!0){let currentScope=ref(scope$1),oldScope,scopeChanged=!1,setScope=newScope=>{scopeChanged=!0,currentScope.value=newScope,getUINavServiceInstance().setActiveScope(newScope)},restoreOldScope=()=>{getUINavServiceInstance().setActiveScope(oldScope)};return onMounted(()=>{oldScope=getUINavServiceInstance().activeScope,currentScope.value?setScope(currentScope.value):currentScope.value=oldScope}),onUnmounted(()=>{scopeChanged&&restoreScopeOnUnmount&&restoreOldScope()}),{current:computed(()=>currentScope.value),set:setScope,get oldScope(){return oldScope}}}function watchUINavEventChange(domElementRef,handler$1){return watch(()=>{if(!domElementRef.value)return{};let eventName=domElementRef.value.getAttribute(UI_EVENT_ATTR);return{eventName,action:ACTIONS_BY_UI_EVENT[eventName]}},handler$1)}const eventFirer=uiEvent=>value=>getUINavServiceInstance().fireEvent(uiEvent,value);var counter=0;const uniqueNum=()=>++counter%1e5+Math.random(),uniqueId=(name=``,separator=`.`)=>{let str=`${name?name+separator:``}${uniqueNum().toString(16)}`;return separator===`.`?str:str.replace(`.`,separator)},uniqueSafeId=()=>uniqueId(``,`_`);var DEFAULT_NAVIGATION=[...MONITORED_UI_NAV_EVENTS,`back`],ALWAYS_ACTIVE=[`ok`,`menu`,`back`],BLOCKER=Symbol(`uiNavBlocker`);const useUINavTracker=defineStore(`uiNavTracker`,()=>{let{lua,events:events$3}=useBridge(),showErrors=window.beamng&&!window.beamng.shipping,initialised=!1,trackedEvents=ref([]),trackedInstances={},ignoredEvents=ref([]),ignoredInstances={},blockedEvents$1=ref([]),blockedInstances={},unblockedEvents=ref([]),unblockedInstances={},activeEvents=ref([]),labelRegistry=useUiNavLabel();function updateBlocklist(){let uiNavService=getUINavServiceInstance(),eventsToBlock=blockedEvents$1.value.filter(name=>!unblockedEvents.value.includes(name));uiNavService.setBlockedEvents(eventsToBlock)}let raf;function update$6(eventName){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{activeEvents.value=trackedEvents.value.filter(e=>!ignoredEvents.value.includes(e.name)&&(unblockedEvents.value.includes(e.name)||!blockedEvents$1.value.includes(e.name))).map(e=>({...e,nogroup:!!trackedInstances[e.name]?.at(-1)?.nogroup}))})}let ownerIdCheck=ownerId$1=>{if(typeof ownerId$1!=`string`||!ownerId$1)throw Error(`ownerId is required and must be a string`)},eventNameCheck=(eventName,quiet=!1)=>{let ok=!0;return typeof eventName!=`string`||!eventName?(showErrors&&logger_default.error(`eventName is required`),ok=!1):eventName in ACTIONS_BY_UI_EVENT||(showErrors&&!quiet&&logger_default.error(`eventName ${eventName} does not exist`),ok=!1),ok},getRecentInstance=eventName=>trackedInstances[eventName].findLast(inst=>inst.element!==BLOCKER),parseActive=(active,eventName)=>typeof active==`boolean`?active:ALWAYS_ACTIVE.includes(eventName);function addEvent(eventName,ownerId$1,element=null,options={}){if(initialised||rebind(),!eventNameCheck(eventName))return;ownerIdCheck(ownerId$1),trackedInstances[eventName]||(trackedInstances[eventName]=[]),element||=window.document.body;let instance$1=trackedInstances[eventName].find(instance$2=>instance$2.ownerId===ownerId$1);if(instance$1){instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName);return}if(trackedInstances[eventName].push({ownerId:ownerId$1,element,nogroup:!!options?.nogroup,active:parseActive(options?.active,eventName)}),trackedInstances[eventName].length===1){let event={name:eventName,label:computed(()=>{let instance$2=getRecentInstance(eventName);return labelRegistry.getLabel(eventName,instance$2?.element)||null}),action:computed(()=>getRecentInstance(eventName)?.active?eventFirer(eventName):null)};trackedEvents.value.push(event),actionSwitch(!0,eventName)}update$6(eventName)}function updateEvent(eventName,ownerId$1,element,options={}){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName))return;element||=window.document.body;let instance$1=trackedInstances[eventName]?.find(instance$2=>instance$2.ownerId===ownerId$1);if(!instance$1){addEvent(eventName,ownerId$1,element,!1,options);return}instance$1.element=element,instance$1.nogroup=!!options?.nogroup,instance$1.active=parseActive(options?.active,eventName),update$6(eventName)}function removeEvent(eventName,ownerId$1,element=null){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName)||!trackedInstances[eventName])return;element||=window.document.body;let idx=trackedInstances[eventName].findIndex(instance$1=>instance$1.ownerId===ownerId$1);if(idx!==-1&&(trackedInstances[eventName].splice(idx,1),update$6(eventName),trackedInstances[eventName].length===0)){delete trackedInstances[eventName];let idx$1=trackedEvents.value.findIndex(h$1=>h$1.name===eventName);idx$1>-1&&(trackedEvents.value.splice(idx$1,1),actionSwitch(!1,eventName))}}function addHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){ownerIdCheck(ownerId$1),eventNameCheck(eventName,quiet)&&(eventList.value.includes(eventName)||(eventList.value.push(eventName),func&&func(),instanceList[eventName]||(instanceList[eventName]=[])),instanceList[eventName].push(ownerId$1))}function removeHelper(eventList,instanceList,eventName,ownerId$1,func,quiet=!1){if(ownerIdCheck(ownerId$1),!eventNameCheck(eventName,quiet)||!(eventName in instanceList))return;let instIdx=instanceList[eventName].indexOf(ownerId$1);if(instIdx!==-1&&(instanceList[eventName].splice(instIdx,1),instanceList[eventName].length===0)){let idx=eventList.value.indexOf(eventName);idx>-1&&(eventList.value.splice(idx,1),func&&func())}}function addIgnore(eventName,ownerId$1){addHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function removeIgnore(eventName,ownerId$1){removeHelper(ignoredEvents,ignoredInstances,eventName,ownerId$1,null,!0)}function addBlocker(eventName,ownerId$1){addHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{addEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function removeBlocker(eventName,ownerId$1){removeHelper(blockedEvents$1,blockedInstances,eventName,ownerId$1,()=>{removeEvent(eventName,ownerId$1,BLOCKER),updateBlocklist()})}function addForceUnblock(eventName,ownerId$1){addHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}function removeForceUnblock(eventName,ownerId$1){removeHelper(unblockedEvents,unblockedInstances,eventName,ownerId$1,()=>{update$6(eventName),updateBlocklist()})}let actionSwitch=async(enabled,eventName)=>{eventName!==`menu`&&(!enabled&&blockedEvents$1.value.includes(eventName)||await lua.extensions.core_input_bindings.setMenuActionEnabled(enabled,ACTIONS_BY_UI_EVENT[eventName]))};function rebind(){initialised||(initialised=!0,getUINavServiceInstance().clearBlockedEvents(),DEFAULT_NAVIGATION.forEach(name=>addEvent(name,`__uiNavTracker_default`))),Object.keys(ACTIONS_BY_UI_EVENT).filter(name=>!DEFAULT_NAVIGATION.includes(name)&&!trackedEvents.value.find(e=>e.name===name)).forEach(name=>actionSwitch(!1,name))}return lua.extensions.core_input_bindings.getMenuActionMapEnabled().then(enabled=>enabled&&rebind()),events$3.on(`MenuActionMapEnabled`,enabled=>enabled&&rebind()),{activeEvents,blockedEvents:blockedEvents$1,unblockedEvents,addEvent,updateEvent,removeEvent,addIgnore,removeIgnore,addBlocker,removeBlocker,addForceUnblock,removeForceUnblock}});function useUINavBlocker(){let id=uniqueId(`uiNavBlocker`),tracker=useUINavTracker(),allEventNames=Object.keys(ACTIONS_BY_UI_EVENT),defaultEvents=Object.freeze(Object.fromEntries(DEFAULT_NAVIGATION.map(name=>[name,name]))),allEvents=Object.freeze(UI_EVENTS),blockedEvents$1=[],unblockedEvents=[],filterEvents=events$3=>{if(!events$3)return[];if(typeof events$3==`string`)events$3=[events$3];else if(events$3.length===0)return[];return events$3.reduce((res,name)=>allEventNames.includes(name)&&!res.includes(name)?[...res,name]:res,[])};function allowOnly(events$3=[]){events$3=filterEvents(events$3),blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function allowNavigationOnly(enforce=!0){if(!enforce)return blockOnly();let events$3=[...DEFAULT_NAVIGATION,`menu`];blockOnly(allEventNames.filter(name=>!events$3.includes(name)))}function blockOnly(events$3=[]){events$3=filterEvents(events$3),blockedEvents$1.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeBlocker(name,id)),blockedEvents$1.splice(0),blockedEvents$1.push(...events$3),blockedEvents$1.forEach(name=>tracker.addBlocker(name,id))}function ensureNoBlock(events$3=[]){events$3=filterEvents(events$3),unblockedEvents.filter(name=>!events$3.includes(name)).forEach(name=>tracker.removeForceUnblock(name,id)),unblockedEvents.splice(0),unblockedEvents.push(...events$3),events$3.forEach(name=>tracker.addForceUnblock(name,id))}function isBlocked(eventName){return tracker.unblockedEvents.includes(eventName)?!1:tracker.blockedEvents.includes(eventName)}let clear=()=>blockOnly();return onUnmounted(clear),{allEvents,defaultEvents,allowOnly,allowNavigationOnly,blockOnly,clear,ensureNoBlock,isBlocked}}const useUiNavLabel=defineStore(`uiNavLabeler`,()=>{let elementLabels=reactive(new WeakMap),eventElements=reactive({});function registerLabel(element,eventNames,label){elementLabels.has(element)||elementLabels.set(element,{});let elementEvents=elementLabels.get(element);Array.isArray(eventNames)||(eventNames=[eventNames]);for(let eventName of eventNames)elementEvents[eventName]=label,eventElements[eventName]||(eventElements[eventName]=new Set),eventElements[eventName].add(element)}function clearLabels(element,eventNames=null){if(!elementLabels.has(element))return;let elementEvents=elementLabels.get(element);if(eventNames===null){for(let eventName of Object.keys(elementEvents))eventElements[eventName]&&eventElements[eventName].delete(element);elementLabels.delete(element)}else{for(let eventName of eventNames)delete elementEvents[eventName],eventElements[eventName]&&eventElements[eventName].delete(element);Object.keys(elementEvents).length===0&&elementLabels.delete(element)}}function getLabel(eventName,element=null){if(element&&elementLabels.has(element)&&elementLabels.get(element)[eventName])return elementLabels.get(element)[eventName];if(eventElements[eventName])for(let el of eventElements[eventName]){let label=elementLabels.get(el)?.[eventName];if(label)return label}return null}function getElementEvents(element){return elementLabels.has(element)?Object.keys(elementLabels.get(element)):[]}return{registerLabel,clearLabels,getLabel,getElementEvents}});var LUA_EXTENSION_NAME=`ui_topBar`;const useTopBar=defineStore(`topBar`,()=>{let{events:events$3}=useBridge(),setupComplete=!1,_items=ref({}),_activeItem=ref(null),visible=ref(!1),hiddenItems=ref([]),gameState$1=reactive({isInGame:void 0,gameState:void 0,uiState:void 0,isCareerActive:void 0,isGarageActive:void 0,isMissionActive:void 0,isScenarioActive:void 0}),sortItems=(a$1,b)=>(a$1.order??0)-(b.order??0),items$2=computed(()=>Object.values(_items.value).filter(item=>!hiddenItems.value||!hiddenItems.value.includes(item.id)).sort(sortItems)),activeItem=computed({get:()=>_activeItem.value,set:value=>{value!==_activeItem.value&&(_activeItem.value=value,Lua_default.ui_topBar.setActiveItem(value))}}),updateTopBarVisibility=()=>{if(!(!gameState$1.uiState||gameState$1.isInGame===void 0)){if(gameState$1.uiState.startsWith(`menu.mainmenu`)&&!gameState$1.isInGame&&(visible.value=!1),!visible.value||gameState$1.uiState===`unknown`){activeItem.value=null;return}if(gameState$1.uiState){let updatedActiveItem=Object.values(_items.value).find(item=>item.targetState===gameState$1.uiState);updatedActiveItem||=Object.values(_items.value).find(item=>item.substate&&gameState$1.uiState.startsWith(item.substate)),activeItem.value=updatedActiveItem?updatedActiveItem.id:null}updateHiddenItems()}};watch(()=>gameState$1.uiState,()=>nextTick(updateTopBarVisibility)),watch(()=>gameState$1.isInGame,()=>nextTick(updateTopBarVisibility));let selectPrevious=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let previousIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)-1+len)%len;selectEntry(items$2.value[previousIndex].id)},selectNext=()=>{if(!visible.value)return;let len=items$2.value.length;if(len===0)return;let nextIndex=(items$2.value.findIndex(item=>item.id===activeItem.value)+1)%len;selectEntry(items$2.value[nextIndex].id)},selectEntry=itemId=>{visible.value&&(activeItem.value=itemId,Lua_default.ui_topBar.selectItem(itemId))},show=()=>{visible.value=!0},hide$2=()=>{visible.value=!1};function updateHiddenItems(){hiddenItems.value=Object.values(_items.value).filter(shouldHideItem).map(item=>item.id)}function shouldHideItem(item){if(!item.flags||item.flags.length===0)return!1;for(let flag of item.flags)if(flag===`inGameOnly`&&!gameState$1.isInGame||flag===`careerOnly`&&!gameState$1.isCareerActive||flag===`noCareer`&&gameState$1.isCareerActive||flag===`missionOnly`&&!gameState$1.isMissionActive||flag===`noMission`&&gameState$1.isMissionActive&&!gameState$1.isScenarioUnrestricted||flag===`garageOnly`&&!gameState$1.isGarageActive||flag===`noGarage`&&gameState$1.isGarageActive||flag===`scenarioOnly`&&!gameState$1.isScenarioActive||flag===`noScenario`&&gameState$1.isScenarioActive&&!gameState$1.isScenarioUnrestricted||flag===`careerGarageOnly`&&(!gameState$1.isCareerActive||!gameState$1.isGarageActive)||flag===`noCareerGarage`&&gameState$1.isCareerActive&&gameState$1.isGarageActive)return!0;return!1}function onCareerStateChanged(data){gameState$1.isCareerActive=data.isActive}function onGarageStateChanged(data){gameState$1.isGarageActive=data.isActive}function onMissionStateChanged(data){gameState$1.isMissionActive=data.isActive}function onScenarioStateChanged(data){gameState$1.isScenarioActive=data.isActive}function onDataRequested(data){let{isInGame,items:dataItems}=data;_items.value=dataItems,gameState$1.isInGame=isInGame,hiddenItems.value=[]}function onGameStateChanged(data){gameState$1.isInGame=data.isInGame,gameState$1.isCareerActive=data.isCareerActive,gameState$1.isGarageActive=data.isGarageActive,gameState$1.isMissionActive=data.isMissionActive,gameState$1.isScenarioActive=data.isScenarioActive,gameState$1.isScenarioUnrestricted=data.isScenarioUnrestricted,nextTick(()=>updateHiddenItems())}function onEntriesChanged(data){_items.value=data}function onVisibleItemsChanged(data){hiddenItems.value=data}function onShow(){visible.value=!0}function onHide(){visible.value=!1}let debouncedStateChange=debounce(data=>{gameState$1.uiState=(data.fullPath||data.name||`unknown`).replace(/^\//,``)},100);function onUIStateChanged(data){debouncedStateChange(data)}let eventHandlerMap={selectPrevious,selectNext,OnCareerActive:onCareerStateChanged,garageStateChanged:onGarageStateChanged,missionStateChanged:onMissionStateChanged,scenarioStateChanged:onScenarioStateChanged,dataRequested:onDataRequested,gameStateChanged:onGameStateChanged,entriesChanged:onEntriesChanged,visibleItemsChanged:onVisibleItemsChanged,show:onShow,hide:onHide};function addListeners(){for(let eventName of Object.keys(eventHandlerMap))events$3.on(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}function removeListeners$1(){for(let eventName of Object.keys(eventHandlerMap))events$3.off(`${LUA_EXTENSION_NAME}_${eventName}`,eventHandlerMap[eventName])}return(async()=>{setupComplete||=(await Lua_default.extensions.isExtensionLoaded(LUA_EXTENSION_NAME)||await Lua_default.extensions.load(LUA_EXTENSION_NAME),addListeners(),await Lua_default.ui_topBar.requestData(),!0)})(),{activeItem,items:items$2,visible,gameState:gameState$1,show,hide:hide$2,selectEntry,selectPrevious,selectNext,onUIStateChanged,dispose:()=>{removeListeners$1(),Lua_default.extensions.unload(LUA_EXTENSION_NAME)}}});var events$2,beamNG,serviceProviders=ref(),online=ref(!1),videoAdapter=ref(``),modCounts=ref({total:0,active:0}),gameState=ref(),mainMenuBackgroundRequired=ref(),mainMenuFirstTime=ref(!0),serviceProvidersOnline=computed(()=>{let provs=serviceProviders.value,gotInfo=!!provs,ret={eos:gotInfo&&provs.eos&&provs.eos.loggedin,steam:gotInfo&&provs.steam&&provs.steam.loggedin&&provs.steam.working};return ret.any=Object.values(ret).some(v=>v),ret}),version,versionSimple,buildInfo,init$2=()=>{let api$1;({api:api$1,events:events$2,beamNG}=useBridge()),beamNG||=FAKE_BEAMNG_OBJ,api$1.serializeToLuaCheck(`English: hello`),api$1.serializeToLuaCheck(`Spanish: güeñes`),api$1.serializeToLuaCheck(`French: bâguéttè, garçon`),api$1.serializeToLuaCheck(`Czech: Kl�vesnice`),api$1.serializeToLuaCheck(`Korean: \r��\v��\v��`),api$1.serializeToLuaCheck(`Chinese Sim: 欢迎来到简体中文版的`),api$1.serializeToLuaCheck(`Chinese Tr: 歡迎來到`),api$1.serializeToLuaCheck(`Japanese: 』日本語版にようこそ`),api$1.serializeToLuaCheck(`Polish: źćłąóę`),api$1.serializeToLuaCheck(`Russian: абвгеёьъ`),events$2.on(`ServiceProviderInfo`,info=>serviceProviders.value=info),events$2.on(`OnlineStateChanged`,state=>online.value=state),events$2.on(`ModManagerModsChanged`,_processModData),events$2.on(`ShowEntertainingBackground`,state=>mainMenuBackgroundRequired.value=state),events$2.on(`GameStateUpdate`,state=>gameState.value=state.state),version=beamNG.version,versionSimple=_toSimpleVersion(beamNG.version),buildInfo=beamNG.buildinfo,refresh()},refresh=()=>{_requestServiceProviders(),_requestOnlineState(),_refreshVideoAdapter(),_refreshModData()},_refreshVideoAdapter=()=>Lua_default.Engine.Render.getAdapterType().then(adapter=>videoAdapter.value=adapter),_requestServiceProviders=()=>beamNG.requestServiceProviderInfo(),_requestOnlineState=()=>Lua_default.core_online.requestState(),_refreshModData=()=>Lua_default.core_modmanager.requestState(),sysInfo_default={init:init$2,refresh,serviceProviders,serviceProvidersOnline,online,videoAdapter,modCounts,gameState,mainMenuBackgroundRequired,mainMenuFirstTime,get version(){return version},get versionSimple(){return versionSimple},get buildInfo(){return buildInfo}},_toSimpleVersion=versionStr=>{let bits=versionStr.split(`.`);return bits.length==5&&bits.pop(),bits.join(`.`).replace(/(\.0)+$/,``)},_processModData=data=>{let mods=Object.values(data).filter(mod=>mod.modname!=`translations`);modCounts.value.total=mods.length,modCounts.value.active=mods.filter(({active})=>active).length},FAKE_BEAMNG_OBJ={version:`0.12.3.4.FAKE12345`,buildInfo:`Sample Fake BuildInfo - running outside of game`,requestServiceProviderInfo(){events$2.emit(`ServiceProviderInfo`,{steam:{loggedin:!0,accountID:`12345678901234567`,playerName:`fakeplayer`,branch:`qa_latest`,language:`english`,useSteam:!0,working:!0}})}};const useLibStore=defineStore(`lib`,{});var bridge$2,stateStack=[];function add(stateName){rem(stateName),stateStack.push(stateName)}function rem(stateName){let idx=stateStack.lastIndexOf(stateName);idx>-1&&stateStack.splice(idx,1)}var luaStringify=any=>JSON.stringify(any).replace(/^\[(.*)\]$/,`{$1}`),luaReport=(stateName,opened)=>bridge$2.api.engineLua(`extensions.hook("onUIStateTriggered", ${luaStringify(stateName)}, ${luaStringify(!!opened)}, ${luaStringify(stateStack)})`);function reportState(stateName,opened,prevName=null){bridge$2||=useBridge(),prevName&&(rem(prevName),luaReport(prevName,!1)),opened?add(stateName):rem(stateName),luaReport(stateName,opened)}function reportPopupState(popup,opened){reportState(`/popup/${popup.componentName}/${popup.wrapper.blur?`fullscreen`:`aside`}`,opened)}function scroll(el,binding){let direction$1=binding.arg;el.scrollHeight<=el.clientHeight||(direction$1===`top`?el.scrollTop>0&&(el.scrollTop=0):direction$1===`bottom`&&el.scrollTop{let id,blurAmount=1,blurUpdateWrapper=debounce(updateBlur,50),resizeObserver,removePositionObserver;function observe(){resizeObserver||(resizeObserver=new ResizeObserver(blurUpdateWrapper),resizeObserver.observe(el)),removePositionObserver||=observePosition(el,blurUpdateWrapper)}function unobserve(){resizeObserver&&resizeObserver.disconnect(),removePositionObserver&&removePositionObserver(),resizeObserver=null,removePositionObserver=null}elemBlurs.set(el,{blurUpdateWrapper,processBlurVal,observe,unobserve}),processBlurVal(binding.value),window.addEventListener(`resize`,blurUpdateWrapper);function processBlurVal(val){switch(typeof val){case`undefined`:val=1;break;case`boolean`:val=val?1:0;break;case`number`:(val<0||val>1)&&(logger_default.error(`Attempted to use v-bng-blur with a number out of range 0..1: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=1);break;default:logger_default.error(`Attempted to use v-bng-blur with a non-number, non-boolean value: ${val}\nSee stack:`,logger_default.STACK_TRACE),val=0}blurAmount=val,blurUpdateWrapper()}function calcBlur(){let rect=el.getBoundingClientRect();return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.top0&&rect.left{let elemBlur=elemBlurs.get(el);elemBlur&&binding.value!=binding.oldValue&&elemBlur.processBlurVal(binding.value)},unmounted:(el,binding)=>{let elemBlur=elemBlurs.get(el);elemBlur&&(elemBlur.unobserve(),elemBlur.processBlurVal(0),window.removeEventListener(`resize`,elemBlur.blurUpdateWrapper),elemBlurs.delete(el))}},DEFAULT_HOLD_DELAY=400,DEFAULT_REPEAT_INTERVAL=100,HOLD_CSS_TIME_VAR=`--hold-time`,HOLD_START_CSS_CLASS=`hold-start`,HOLD_ACTIVE_CSS_CLASS=`hold-active`,HOLD_COMPLETED_CSS_CLASS=`hold-completed`,EVENT_CLICK=`click`,EVENT_HOLD=`hold`,ELEMENT_ID=`__BNG_CLICK_ID`,curId=0,datas={};function update$5(element,binding){let id=element[ELEMENT_ID]||(element[ELEMENT_ID]=++curId),data=datas[id]||(datas[id]={id,element,events:{},binding:{}});if(typeof binding.value==`object`)data.binding=binding.value;else if(typeof binding.value==`function`){let cbName=binding.modifiers?.hold?`holdCallback`:`clickCallback`;data.binding[cbName]=binding.value}return data.controllerOnly=!!binding.modifiers?.controller,data.hasClick=typeof data.binding.clickCallback==`function`,data.hasHold=typeof data.binding.holdCallback==`function`,typeof data.binding.holdDelay!=`number`&&(data.binding.holdDelay=DEFAULT_HOLD_DELAY),typeof data.binding.repeatInterval!=`number`&&(data.binding.repeatInterval=DEFAULT_REPEAT_INTERVAL),data}function remove(element){let id=element[ELEMENT_ID];if(!id)return;let data=datas[id];data&&(`mouseleave`in data.events&&data.events.mouseleave(),updateEvents(id),delete datas[id],delete element[ELEMENT_ID])}function updateEvents(id,events$3={}){let data=datas[id];if(data){for(let event in data.events)data.element.removeEventListener(event,data.events[event]);for(let event in events$3)data.element.addEventListener(event,events$3[event]);data.events=events$3}}var BngClick_default={mounted:(el,binding)=>{let data=update$5(el,binding),approveEvent=evt=>data.controllerOnly?!!evt.fromController:evt.button===0||evt.fromController,tmrHoldActive;updateEvents(data.id,{mousedown:e=>{approveEvent(e)&&(el.style.setProperty(HOLD_CSS_TIME_VAR,`${data.binding.holdDelay}ms`),el.classList.toggle(HOLD_START_CSS_CLASS,!0),clearTimeout(tmrHoldActive),tmrHoldActive=setTimeout(()=>el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!0),0),el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!1),canInvokeEventType(EVENT_CLICK)&&(detectedEventType=EVENT_CLICK),canInvokeEventType(EVENT_HOLD)&&startHoldDelayTimer(e))},mouseup:e=>{if(approveEvent(e)){switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_CLICK:doAction(EVENT_CLICK,e);break;case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null}},mouseleave:()=>{switch(el.style.removeProperty(HOLD_CSS_TIME_VAR),el.classList.toggle(HOLD_START_CSS_CLASS,!1),el.classList.toggle(HOLD_ACTIVE_CSS_CLASS,!1),clearTimeout(tmrHoldActive),stopHoldDelayTimer(),detectedEventType){case EVENT_HOLD:stopHoldTimer();break}detectedEventType=null},blur:()=>data.events.mouseleave()});let detectedEventType,holdDelayTimer,holdTimer;function startHoldDelayTimer(e){stopHoldTimer(),stopHoldDelayTimer(),holdDelayTimer=setTimeout(()=>{el.classList.toggle(HOLD_COMPLETED_CSS_CLASS,!0),detectedEventType=EVENT_HOLD,startHoldTimer(e)},data.binding.holdDelay)}function stopHoldDelayTimer(){holdDelayTimer&&=(clearTimeout(holdDelayTimer),null)}function startHoldTimer(e){doAction(EVENT_HOLD,e),data.binding.repeatInterval&&(stopHoldTimer(),holdTimer=setInterval(()=>{doAction(EVENT_HOLD,e)},data.binding.repeatInterval))}function stopHoldTimer(){holdTimer&&=(clearInterval(holdTimer),null)}function doAction(eventType,originalEvent){let callback=getCallback(eventType);callback&&(eventType==EVENT_HOLD?setTimeout(()=>callback(originalEvent),100):callback(originalEvent))}function getCallback(arg){switch(arg){case EVENT_CLICK:return data.binding.clickCallback;case EVENT_HOLD:return data.binding.holdCallback}return null}function canInvokeEventType(eventType){switch(eventType){case EVENT_CLICK:return data.hasClick;case EVENT_HOLD:return data.hasHold}return!1}},updated:update$5,beforeUnmount:remove},BngDisabled_default=(el,{value})=>{let has$1={disabled:el.hasAttribute(`disabled`),tabindex:el.hasAttribute(`tabindex`)};!has$1.disabled&&value?(el.setAttribute(`disabled`,`disabled`),has$1.tabindex&&(el._BNG_TABINDEX=el.getAttribute(`tabindex`),el.setAttribute(`tabindex`,`-1`))):has$1.disabled&&!value&&(el.removeAttribute(`disabled`),has$1.tabindex&&`_BNG_TABINDEX`in el&&el.getAttribute(`tabindex`)!==el._BNG_TABINDEX&&(el.setAttribute(`tabindex`,el._BNG_TABINDEX),delete el._BNG_TABINDEX))},DELAY=300,EVENTS_IN=[`uinav-focus`,`focus`,`focusin`],EVENTS_OUT=[`uinav-blur`,`blur`,`focusout`],elems$1=new Map,globInit=!1;function initGlobals(){globInit=!0;let running=!1,targets={in:[],out:[]};function preventer(){for(let[part,list]of Object.entries(targets))if(list.length!==0){for(let target of list)for(let[uid$2,data]of elems$1)if(!(!data.capture||!data.timer||!data.element)){if(part===`in`){if(data.element===target||data.element.contains(target))continue}else if(data.element!==target&&!data.element.contains(target))continue;clearTimeout(data.timer),data.timer=null;break}list.splice(0)}}function handler$1(evt,eventIn){if(elems$1.size===0)return;let target=evt.detail?.target||evt.target;if(!target)return;let part=eventIn?`in`:`out`;targets[part].includes(target)||targets[part].push(target),!running&&(running=!0,window.requestAnimationFrame(()=>{preventer(),running=!1}))}EVENTS_IN.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!0),!0)),EVENTS_OUT.forEach(evt=>document.addEventListener(evt,evt$1=>handler$1(evt$1,!1),!0))}function createHandler(data){return data.capture?evt=>{evt.detail?.doubleToSingle||(evt.preventDefault(),evt.stopImmediatePropagation(),data.timer?(clearTimeout(data.timer),data.timer=null,data.callback?.()):data.timer=setTimeout(()=>{data.timer=null;let click$1=new CustomEvent(`click`,{...evt,bubbles:!0,cancelable:!0,detail:{doubleToSingle:!0}});data.element.dispatchEvent(click$1)},DELAY))}:()=>{data.timer&&=(clearTimeout(data.timer),null);let now$1=Date.now();if(data.time&&now$1-data.time<=DELAY){data.time=0,data.callback?.();return}data.time=now$1}}function update$4(vnode,callback=void 0,mod={}){!globInit&&initGlobals();let el=vnode?.el;if(!el)return;let uid$2=vnode?.component?.uid||vnode?.key||el,capture=!!mod.capture,data=elems$1.get(uid$2)||{};data.handler&&data.element===el&&callback&&`callback`in data&&data.callback===callback&&data.capture===capture||(`element`in data||(data.element=el,data.callback=callback,data.capture=capture),data.handler&&(!callback||data.capture!==capture||data.element!==el)&&(delete data.callback,el.removeEventListener(`click`,data.handler,{capture:data.capture}),elems$1.delete(uid$2)),callback&&(data.handler?data.callback=callback:(data.capture=capture,data.handler=createHandler(data),el.addEventListener(`click`,data.handler,{capture}),elems$1.set(uid$2,data))))}var BngDoubleClick_default={mounted:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),updated:(el,{value,modifiers,arg}={},vnode)=>update$4(vnode||{el},value,{capture:arg===`capture`,...modifiers}),unmounted:(el,vnode)=>update$4(vnode||{el})},DRAG_START_EVENT_NAME=`bngDragStart`,DRAG_OVER_EVENT_NAME=`bngDragOver`,DRAG_END_EVENT_NAME=`bngDragEnd`;const DRAG_EVENTS=Object.freeze({dragStart:DRAG_START_EVENT_NAME,dragOver:DRAG_OVER_EVENT_NAME,dragEnd:DRAG_END_EVENT_NAME});var STORE_NAME=`controls`,store,DEVICE_ICONS={key:`keyboard`,mou:`mouseLMB`,vin:`smartphone2`,whe:`steeringWheelCommon`,gam:`gamepadOld`,xin:`gamepadOld`,default:`gamepad`};const CONTROL_LABELS={escape:`ESC`,enter:`⏎`,tab:`⭾`,capslock:`⇪`,backspace:`⌫`,delete:`Del`,insert:`Ins`,home:`Home`,end:`End`,pageup:`PG↑`,pagedown:`PG↓`,lshift:`L⇧`,rshift:`R⇧`,shift:`⇧`,lcontrol:`L Ctrl`,rcontrol:`R Ctrl`,lalt:`L Alt`,ralt:`R Alt`,left:`←`,right:`→`,up:`↑`,down:`↓`,space:`␣`,grave:`~`,backslash:`\\`,"/":`/`,comma:`,`,period:`.`,";":`;`,apostrophe:`'`,"[":`[`,"]":`]`,minus:`-`,"+":`NP+`,"*":`NP*`,numpaddivide:`NP/`,numpad0:`NP0`,numpad1:`NP1`,numpad2:`NP2`,numpad3:`NP3`,numpad4:`NP4`,numpad5:`NP5`,numpad6:`NP6`,numpad7:`NP7`,numpad8:`NP8`,numpad9:`NP9`,numpaddecimal:`NP.`,numpadenter:`NP⏎`,xaxis:`X Axis`,yaxis:`Y Axis`,zaxis:`Z Axis`,rzaxis:`R Z Axis`,thumblx:`L Thumb X`,thumbly:`L Thumb Y`,thumbrx:`R Thumb X`,thumbry:`R Thumb Y`};var controlLabel=control=>control.toLowerCase().split(/[ -]+/).map(ctl=>CONTROL_LABELS[ctl]||(ctl.startsWith(`button`)?`BTN`+ctl.substring(6):ctl)).join(` + `),CONTROL_ICONS={pc_mouse:{button0:`mouseLMB`,button1:`mouseRMB`,button2:`mouseMMB`,xaxis:`mouseXAxis`,yaxis:`mouseYAxis`,zaxis:`mouseWheel`},xbox:{btn_a:`xboxA`,btn_b:`xboxB`,btn_x:`xboxX`,btn_y:`xboxY`,btn_back:`xboxView`,btn_start:`xboxMenu`,btn_l:`xboxLB`,triggerl:`xboxLT`,btn_r:`xboxRB`,triggerr:`xboxRT`,dpov:`xboxDDown`,lpov:`xboxDLeft`,rpov:`xboxDRight`,upov:`xboxDUp`,thumblx:`xboxXAxis`,thumbly:`xboxYAxis`,thumbrx:`xboxXRot`,thumbry:`xboxYRot`,btn_lt:`xboxLSButton`,btn_rt:`xboxRSButton`},ps:{button1:`psCross`,button3:`psTriangle`,button0:`psSquare`,button2:`psCircle`,button8:`psCreate2`,button9:`psMenu2`,button4:`psL1`,button6:`psL2`,button5:`psR1`,button7:`psR2`,dpov:`psDDown`,lpov:`psDLeft`,rpov:`psDRight`,upov:`psDUp`,xaxis:`psLSX`,yaxis:`psLSY`,zaxis:`psRSX`,rzaxis:`psRSY`,rxaxis:`psL2`,ryaxis:`psR2`,button10:`psL3Button`,button11:`psR3Button`,button13:`psTrackpadPressCenter`}};const DEVICE_CONTROLS={pc_mouse:Object.keys(CONTROL_ICONS.pc_mouse),xbox:Object.keys(CONTROL_ICONS.xbox),ps:Object.keys(CONTROL_ICONS.ps)};var extendControlGroupNames=groups=>groups.reduce((res,group)=>(res.push(group),res.push({...group,controls:group.controls.map(ctl=>CONTROL_LABELS[ctl])}),res),[]),GROUPED_CONTROLS={pc_keyboard:extendControlGroupNames([{label:`↑↓←→`,controls:[`left`,`right`,`up`,`down`]},{label:`NP 8↑ 2↓ 4← 6→`,controls:[`numpad2`,`numpad4`,`numpad6`,`numpad8`]}]),xbox:extendControlGroupNames([{icon:`xboxDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`xboxThumbL`,controls:[`thumblx`,`thumbly`]},{icon:`xboxThumbR`,controls:[`thumbrx`,`thumbry`]}]),ps:extendControlGroupNames([{icon:`psDDefaultSolid`,controls:[`upov`,`dpov`,`lpov`,`rpov`]},{icon:`psLS`,controls:[`xaxis`,`yaxis`]},{icon:`psRS`,controls:[`zaxis`,`rzaxis`]}])},DEVICE_FAMILY={mouse:`pc_mouse`,keyboard:`pc_keyboard`,xinput:`xbox`,ps5:`ps`},CONTROL_ICON_KEYS=Object.keys(DEVICE_FAMILY),getViewerOverrides=(devName=void 0,imagePack=void 0)=>{let family;return imagePack&&(imagePack in DEVICE_FAMILY?family=DEVICE_FAMILY[imagePack]:imagePack in CONTROL_ICONS&&(family=imagePack)),!family&&devName&&(devName=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))||devName,devName in DEVICE_FAMILY?family=DEVICE_FAMILY[devName]:devName in CONTROL_ICONS&&(family=devName)),family?{family,icons:CONTROL_ICONS[family]||{},groups:GROUPED_CONTROLS[family]||[]}:null},DEVICE_ORDER=[`wheel`,`joystick`,`xinput`,`gamepad`,`mouse`,`keyboard`],makeStore=defineStore(STORE_NAME,()=>{let{events:events$3}=useBridge(),devNamesOrder=DEVICE_ORDER.map(devType=>devType+`0`),actions=ref([]),categories=ref({}),categoriesList=ref([]),bindings=ref([]),bindingsPerDevice=computed(()=>Object.fromEntries(bindings.value.map(b=>[b.devname,b]))),bindingTemplate=ref({}),controllers=ref({}),players=ref({}),lastDeviceOrder=ref([...devNamesOrder]),lastDevice=computed(()=>isKbm(lastDeviceOrder.value[0])?kbmDevNames:lastDeviceOrder.value[0]),lastControllers=computed(()=>lastDeviceOrder.value.filter(devName=>!isKbm(devName))),lastControllersSignature=computed(()=>lastControllers.value.sort().join(`::`)),isControllerUsed=computed(()=>!isKbm(lastDeviceOrder.value[0])),isControllerAvailable=computed(()=>lastDeviceOrder.value.some(devName=>!isKbm(devName))),lastDeviceSimple=computed(()=>isControllerUsed.value?lastDevice.value:null),getDevType=devName=>devName?devName.replace(/\d+$/,``):``,deviceSorter=(a$1,b)=>DEVICE_ORDER.indexOf(getDevType(a$1))-DEVICE_ORDER.indexOf(getDevType(b)),kbmDevNames=[`keyboard0`,`mouse0`].sort(deviceSorter),kbmShortNames=kbmDevNames.map(devName=>devName.slice(0,3)),isKbm=devName=>devName&&kbmShortNames.includes(devName.slice(0,3)),_receiveControlsData=data=>(controllers.value=data,_updateDeviceNotes()),_receivePlayersData=data=>players.value=data,_receiveBindingsData=_processBindingsData,_getBindingsData=()=>Lua_default.extensions.core_input_bindings.notifyUI(`Vue controls service needs the data`),connect=(state=!0)=>{let method=state?`on`:`off`;events$3[method](`ControllersChanged`,_receiveControlsData),events$3[method](`AssignedPlayersChanged`,_receivePlayersData),events$3[method](`InputBindingsChanged`,_receiveBindingsData),events$3[method](`RecentDevicesChanged`,_requestRecentDevices)},disconnect=()=>connect(!1),deviceIcon=deviceName=>DEVICE_ICONS[(deviceName||``).slice(0,3)]||DEVICE_ICONS.default;async function _requestRecentDevices(devNames=void 0){devNames||=await Lua_default.extensions.core_input_bindings.getRecentDevices(),!Array.isArray(devNames)||devNames.length===0?devNames=devNamesOrder:isKbm(devNames[0])&&(devNames=[...kbmDevNames,...devNames.filter(devName=>!isKbm(devName))]),lastDeviceOrder.value.splice(0,lastDeviceOrder.value.length,...devNames)}function*getBindingsIter(devFilter=[],useLastDeviceOrder=!1){if(!useLastDeviceOrder||devFilter.length>0)yield*bindings.value;else for(let devName of lastDeviceOrder.value){let binding=bindingsPerDevice.value[devName];binding&&(yield binding)}}let findBindingForAction=(action,devName=void 0,useLastDeviceOrder=!1)=>{let devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let found=binding.contents.bindings.find(b=>b.action===action);if(found){let help=getBindingDetails(binding.devname,found.control,action);if(help)return help.devName=binding.devname,help.imagePack=binding.contents.imagePack,help}}},findAllBindingsForAction=(action,devName=void 0,allDevices=!1,useLastDeviceOrder=!1)=>{let res=[],devFilter=devName?Array.isArray(devName)?devName:[devName]:[],bindingsIter=getBindingsIter(devFilter,useLastDeviceOrder);for(let binding of bindingsIter){if(devFilter.length>0&&!devFilter.includes(binding.devname))continue;let matches$1=binding.contents.bindings.filter(b=>b.action===action);if(matches$1.length>0)for(let match of matches$1){let help=getBindingDetails(binding.devname,match.control,action);help&&(!allDevices&&devFilter.length===0&&devFilter.push(binding.devname),help.devName=binding.devname,help.imagePack=binding.contents.imagePack,res.push(help))}}return res},defaultBindingEntry=(action,control)=>({...bindingTemplate.value,action,control}),isAxis=(device,control)=>{let c=controllers.value[device].controls[control];return c&&c.control_type==`axis`},bindingConflicts=(device,control,action)=>bindings.value.find(b=>b.devname==device).contents.bindings.filter(b=>b.control==control).filter(b=>b.action!=action).map(b=>({...b,...getBindingDetails(device,control,b.action),resolved:!1})),captureBinding=(modifiersAllowed=!0)=>{let controlCaptured=!1,eventsRegister={},d=defer(),capturingBinding=!0;function _listener(data){if(!capturingBinding||controlCaptured)return;let devName=data.devName;eventsRegister[devName]||(eventsRegister[devName]={axis:{},key:[null,null]});let eventData=eventsRegister[devName];d.notify(eventsRegister);let valid=!1,key0,key1,key0Parts,key1Parts,genericModifierKeys=[`lalt`,`lcontrol`,`lshift`,`ralt`,`rcontrol`,`rshift`];switch(data.controlType){case`axis`:if(!eventData.axis[data.control])eventData.axis[data.control]={first:data.value,last:data.value,accumulated:0};else{let detectionThreshold=devName.startsWith(`mouse`)?1:.5;eventData.axis[data.control].accumulated+=Math.abs(eventData.axis[data.control].last-data.value)/detectionThreshold,eventData.axis[data.control].last=data.value}valid=eventData.axis[data.control].accumulated>=1;break;case`button`:case`pov`:case`key`:if(eventData.key=[eventData.key.at(-1),data.control],key0=eventData.key[0],key1=eventData.key[1],key0&&key1){let validSet=!1;key0Parts=key0.split(` `),key1Parts=key1.split(` `),key0Parts.length===1&&key1Parts.length===2&&key1Parts[1]===key0Parts[0]&&(eventData.key[1]=key0,key1=key0,data.control=key0,modifiersAllowed||(valid=!1,validSet=!0)),validSet||(valid=key0===key1,!modifiersAllowed&&(key0Parts.length===2||genericModifierKeys.includes(data.control))&&(valid=!1)),data.value===0&&(eventData.key=[null,null])}break;default:console.error(`Unrecognised raw input controlType: `+JSON.stringify(data))}valid&&data.devName.startsWith(`mouse`)&&data.control===`button1`&&(valid=!1),valid&&(controlCaptured=!0,capturingBinding=!1,data.direction=data.controlType===`axis`?Math.sign(eventData.axis[data.control].last-eventData.axis[data.control].first):0,d.resolve(data),_captureHelper.stopListening())}return Lua_default.ActionMap.enableBindingCapturing(!0),Lua_default.setCEFTyping(!0),_captureHelper.stopListening=()=>{Lua_default.ActionMap.enableBindingCapturing(!1),Lua_default.WinInput.setForwardRawEvents(!1),Lua_default.setCEFTyping(!1),events$3.off(`RawInputChanged`,_listener)},events$3.on(`RawInputChanged`,_listener),Lua_default.WinInput.setForwardRawEvents(!0),d.promise},removeBinding=(device,control,action,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};deviceContents.bindings=[...deviceContents.bindings];let entryIndex=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action)||null;if(entryIndex)if(deviceContents.bindings.splice(entryIndex,1),mockSave){let deviceIndex=bindings.value.findIndex(b=>b.devname==device);bindings.value[deviceIndex].contents=deviceContents}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},addBinding=(device,bindingData,replace,mockSave)=>{let deviceContents={...bindings.value.find(b=>b.devname==device).contents};if(deviceContents.bindings=[...deviceContents.bindings],replace){let deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==bindingData.details.control&&b.action==bindingData.details.action);deviceContents[deprecatedIndex]=bindingData}else serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)},isFFBBound=()=>{for(let i=0;i{let ffbCapable=()=>Object.values(controllers.value).some(controller=>controller.ffbAxes&&Object.keys(controller.ffbAxes).length>0);return asRef?computed(()=>ffbCapable()):ffbCapable},getIsControllerAvailable=(asRef=!1)=>asRef?isControllerAvailable:isControllerAvailable.value,isWheelFound=vendorId=>{for(let b of bindings.value)if(b.devname.slice(0,3)===`whe`&&b.contents.vidpid.slice(4,8)==vendorId)return!0;return!1};function isFFBEnabled(asRef=!1){let filter=()=>bindings.value.filter(b=>b.devname.slice(0,3)!==`xin`).some(b=>b.contents.bindings.some(binding=>binding.action===`steering`&&binding.isForceEnabled));return asRef?computed(()=>filter()):filter()}function isPidVidFound(desiredVid,desiredPid,asRef=!1){let filter=()=>bindings.value.some(b=>{let vid=desiredVid===void 0?desiredVid:b.contents.vidpid.slice(4,8),pid$1=desiredPid===void 0?desiredPid:b.contents.vidpid.slice(0,4);return vid==desiredVid&&pid$1==desiredPid});return asRef?computed(()=>filter()):filter()}function getBindingDetails(device,control,action){let actionDetails=getActionDetails(action);if(!actionDetails){console.warn(`Action details not found: `,action);return}let deviceBindings=bindings.value.find(b=>b.devname===device).contents.bindings,common={icon:deviceIcon(device),title:actionDetails.title,desc:actionDetails.desc},details=deviceBindings.find(b=>b.control===control&&b.action===action)||defaultBindingEntry(action,control),isBindingAxis=isAxis(device,control);return{...bindingTemplate.value,...details,...common,isAxis:isBindingAxis,action:actionDetails.action,actionName:actionDetails.actionName}}function getActionDetails(action){let actionDetails=actions.value[action];if(actionDetails)return{...actionDetails,action:actionDetails.actionName}}function addNewBinding(bindingData){let{devname,control,action}=bindingData,device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents;deviceContents.bindings.push({...bindingTemplate.value,...bindingData,control,action}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function updateBinding(bindingData){let{devname,control,action}=bindingData,oldDevname=bindingData.oldDevname||devname,oldControl=bindingData.oldControl||control,device=bindings.value.find(b=>b.devname==oldDevname);if(!device){console.warn(`Device not found: `,oldDevname);return}let deviceContents=device.contents,deprecatedIndex=deviceContents.bindings.findIndex(b=>b.control==oldControl&&b.action==action);if(deprecatedIndex===-1){console.warn(`Binding not found: `,oldDevname,oldControl,action);return}if(devname===oldDevname)delete bindingData.oldDevname,delete bindingData.oldControl,deviceContents.bindings[deprecatedIndex]={...bindingData};else{deviceContents.bindings.splice(deprecatedIndex,1);let newDeviceContents=bindings.value.find(b=>b.devname===devname).contents;newDeviceContents.bindings.push({...bindingData,bindingTemplate:bindingTemplate.value}),serializeCheck(newDeviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(newDeviceContents)}serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function deleteBindings(bindingsData){let bindingsByDevname=bindingsData.reduce((acc,b)=>(acc[b.devname]=acc[b.devname]||[],acc[b.devname].push(b),acc),{});for(let devname in bindingsByDevname){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);continue}let deviceContents=device.contents;bindingsByDevname[devname].forEach(b=>{let index=deviceContents.bindings.findIndex(binding=>binding.control==b.control&&binding.action==b.action);index!==-1&&deviceContents.bindings.splice(index,1)}),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}}function deleteBinding({devname,control,action}){let device=bindings.value.find(b=>b.devname==devname);if(!device){console.warn(`Device not found: `,devname);return}let deviceContents=device.contents,index=deviceContents.bindings.findIndex(b=>b.control==control&&b.action==action);if(index===-1){console.warn(`Binding not found: Skipping...`,devname,control,action);return}deviceContents.bindings.splice(index,1),serializeCheck(deviceContents.name),Lua_default.extensions.core_input_bindings.saveBindingsToDisk(deviceContents)}function getAllBindingsForAction(action,devName,asRef=!1){let filteredBindings=()=>bindings.value.filter(b=>(!devName||b.devname==devName)&&b.contents.bindings.find(a$1=>a$1.action===action)).flatMap(b=>b.contents.bindings.filter(x=>x.action===action).map(x=>({...x,...getBindingDetails(b.devname,x.control,x.action),devname:b.devname,action,actionName:action})));return asRef?computed(()=>filteredBindings()):filteredBindings()}let _captureHelper={devName:null,stopListening:null};function _updateDeviceNotes(){Object.values(bindings.value).forEach(({contents:bindingContents})=>{for(let id in controllers.value){let controller=controllers.value[id];if(bindingContents.vidpid==controller.vidpid){controller.notes=bindingContents.notes;break}}})}let lastBindingsData=null;function _processBindingsData(data){let newBindingsData=JSON.stringify(data);if(lastBindingsData===newBindingsData)return;if(lastBindingsData=newBindingsData,Array.isArray(data.bindings)||(data.bindings=[]),data.bindings.forEach(device=>{Array.isArray(device.contents.bindings)||(device.contents.bindings=Object.values(device.contents.bindings))}),bindingTemplate.value=data.bindingTemplate,bindings.value=data.bindings,!data.actionCategories||!data.bindingTemplate||data.bindings.length===0){logger_default.debug(`Did not receive bindings data. Timing issue?`);return}bindings.value.sort((a$1,b)=>deviceSorter(a$1.devname,b.devname)),devNamesOrder.splice(0),kbmDevNames.splice(0);for(let binding of data.bindings){let devName=binding.devname;devNamesOrder.includes(devName)||devNamesOrder.push(devName),isKbm(devName)&&kbmDevNames.push(devName),binding.icon=deviceIcon(devName)}_requestRecentDevices();let acts={};for(let act in data.actions)acts[act]={actionName:act,...data.actions[act]};for(let cat in actions.value=acts,categories.value=data.actionCategories,categories.value)typeof categories.value[cat]==`object`&&(categories.value[cat].actions=[]);for(let act in actions.value){let obj={key:act,...actions.value[act]};actions.value[act].cat in categories.value||(categories.value[actions.value[act].cat]={order:99,icon:`symbol_exclamation`,title:`UNDEFINED CATEGORY: `+actions.value[act].cat,desc:``,actions:[]}),categories.value[actions.value[act].cat].actions.push(obj)}for(let x in categoriesList.value=[],Object.entries(categories.value).forEach(([catName,cat])=>categoriesList.value.push({key:catName,...cat})),categoriesList.value)for(let y in categoriesList.value[x].actions)for(let z in categoriesList.value[x].actions[y].titleTranslated=$translate.instant(categoriesList.value[x].actions[y].title),categoriesList.value[x].actions[y].descTranslated=$translate.instant(categoriesList.value[x].actions[y].desc),categoriesList.value[x].actions[y].tags)categoriesList.value[x].actions[y].tagsTranslated||(categoriesList.value[x].actions[y].tagsTranslated=[]),categoriesList.value[x].actions[y].tagsTranslated[z]=$translate.instant(categoriesList.value[x].actions[y].tags[z]);_updateDeviceNotes()}function makeViewerObj({deviceKey,device,action,uiEvent,imagePack,controller=!1,actionVariants=!1,useLastDevice=!1}){let viewerObj,multiDevice=!1;if(device&&Array.isArray(device)&&device.length===0&&(device=void 0),Array.isArray(device)&&(device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),!device&&controller&&(device=lastControllers.value,device.length===0?device=void 0:device.length===1?device=device[0]:multiDevice=!0),uiEvent&&(action=ACTIONS_BY_UI_EVENT[uiEvent]),action?actionVariants?(viewerObj=_buildViewerObjVariants(findAllBindingsForAction(action,device,!1,useLastDevice)),actionVariants=!!viewerObj?.variants,actionVariants&&viewerObj.variants.sort((a$1,b)=>a$1.isInverted-b.isInverted)):viewerObj=findBindingForAction(action,device,useLastDevice):actionVariants=!1,deviceKey){let devName=viewerObj?.devName||(multiDevice?device[0]:device);viewerObj={icon:deviceIcon(devName),control:deviceKey,devName,imagePack:viewerObj?.imagePack||imagePack}}return viewerObj&&(_parseViewerObj(viewerObj,imagePack,actionVariants),viewerObj.variants&&viewerObj.variants.forEach(obj=>_parseViewerObj(obj,imagePack,actionVariants,device))),viewerObj}function _buildViewerObjVariants(viewerObjs){let len=viewerObjs?.length||0;if(len!==0)return len===1?viewerObjs[0]:{...viewerObjs[0],variants:viewerObjs}}let rgxCombo=/modifier(?\d+)[ -]+|[ -]*(?.+)/gi;function _parseViewerObj(viewerObj,imagePack=void 0,actionVariants=!1,devNames=void 0){let devName=viewerObj.devName;if(imagePack=viewerObj.imagePack||imagePack,!imagePack){let binding=bindings.value?.find(b=>b.devname===devName);binding?.contents?.imagePack&&(imagePack=binding.contents.imagePack),!imagePack&&devName&&(imagePack=CONTROL_ICON_KEYS.find(key=>devName.startsWith(key))),viewerObj.imagePack=imagePack}if(viewerObj.control.startsWith(`modifier`)){let matches$1=[...viewerObj.control.matchAll(rgxCombo)].map(m=>m.groups);if(matches$1.length>0){viewerObj.multiControls=[];for(let match of matches$1)if(match.mod){let modName=`customModifier`+match.mod,mod=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devName,!1,!1)):findBindingForAction(modName,devName);mod||=actionVariants?_buildViewerObjVariants(findAllBindingsForAction(modName,devNames,!1,!1)):findBindingForAction(modName,devNames),mod&&viewerObj.multiControls.push(mod)}else viewerObj.multiControls.push({devName,control:match.key,icon:viewerObj.icon,imagePack})}}_addCustomInfo(viewerObj),viewerObj.multiControls&&viewerObj.multiControls.forEach(_addCustomInfo)}function _addCustomInfo(viewerObj){let devOverrides=getViewerOverrides(viewerObj.devName,viewerObj.imagePack);viewerObj.family=devOverrides?.family;let ownIcon=devOverrides?.icons[viewerObj.control];viewerObj.special=!!ownIcon,viewerObj.ownGroups=devOverrides?.groups,viewerObj.special?viewerObj.ownIcon=ownIcon:viewerObj.control=controlLabel(viewerObj.control)}return connect(),_getBindingsData(),{categories:computed(()=>categories.value),categoriesList:computed(()=>categoriesList.value),controllers:computed(()=>controllers.value),players:computed(()=>players.value),bindingTemplate:computed(()=>bindingTemplate.value),lastDevice:lastDeviceSimple,lastDevices:lastDeviceOrder,lastControllers,lastControllersSignature,isControllerAvailable,isControllerUsed,showIfController:isControllerUsed,focusIfController:isControllerAvailable,addNewBinding,connect,deleteBinding,deleteBindings,disconnect,deviceIcon,findBindingForAction,findAllBindingsForAction,getActionDetails,getBindingDetails,getAllBindingsForAction,defaultBindingEntry,isAxis,bindingConflicts,captureBinding,removeBinding,addBinding,isFFBBound,isFFBEnabled,isFFBCapable,isGamepadAvailable:getIsControllerAvailable,isWheelFound,isPidVidFound,makeViewerObj,updateBinding}}),useStore=()=>store||=makeStore(),controls_default=useStore,direction=`right`,focusClass=`focus-visible`,isController$1={value:!1},now=()=>new Date().getTime(),inited=!1,gamepadInited=!1,elms$3=[];function setFocus(elm,enable=!0){if(enable){if(elm.classList.add(focusClass),elm===document.activeElement)return}else if(elm.classList.remove(focusClass),elm!==document.activeElement)return;try{enable&&focusOnElement(elm)}catch{}}function setFocusExternal(elm,enable=!0,attemptScroll=!0){return elm?(!gamepadInited&&gamepadInit(),enable&&!isController$1.value?(attemptScroll&&isOccluded(elm,!0)&&scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`down`),!1):(setFocus(elm,enable),!0)):!1}function ensureFocus(elm,onNextTick=!0){elm&&(!gamepadInited&&gamepadInit(),isController$1.value&&document.activeElement===elm&&!elm.classList.contains(focusClass)&&(onNextTick?nextTick(()=>elm&&setFocus(elm)):setFocus(elm)))}function gamepadInit(){gamepadInited||(gamepadInited=!0,isController$1=storeToRefs(controls_default()).focusIfController)}function init$1(){inited||(inited=!0,gamepadInit(),watch(isController$1,val=>{let active=document.activeElement;if(isNavigable$1(active)){let focused$1=active.classList.contains(focusClass);val&&!focused$1?setFocus(active,!0):!val&&focused$1&&setFocus(active,!1);return}if(val){if(priorityFocus())return;navigate(collectRects(direction),direction)&&window.requestAnimationFrame(()=>setFocus(document.activeElement,!0))}}))}function priorityFocus(){collectRects(direction);for(let{elm}of elms$3)if(isNavigable$1(elm))return setFocus(elm,!0),!0;return!1}function wantsFocus(elm,priority){inited||init$1();let dat=elms$3.find(itm=>itm.element===elm)||{elm,time:now()},isNew=!(`priority`in dat);if(typeof priority!=`number`||isNaN(priority)){if(!isNew){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx>-1&&elms$3.splice(idx,1)}return}dat.priority=priority,isNew&&elms$3.push(dat),elms$3.sort((a$1,b)=>b.priority-a$1.priority||b.time-a$1.time),collectRects(direction,elm.parentNode),isNew&&isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus()}function unwantsFocus(elm){let idx=elms$3.findIndex(itm=>itm.elm===elm);idx!==-1&&(elms$3.splice(idx,1),isController$1.value&&!isNavigable$1(document.activeElement)&&priorityFocus())}function initFocusVisible(){let raf=window.requestAnimationFrame,curFocused=null,holdFocus=!1;function notify(type,target,relatedTarget){let evt=new CustomEvent(`uinav-`+type,{bubbles:!0,cancelable:!0,detail:{target,relatedTarget}});document.dispatchEvent(evt)}function procFocus(target,relatedTarget){if(!(target&&target===curFocused)&&(relatedTarget===target&&(relatedTarget=void 0),relatedTarget&&doBlur(relatedTarget),curFocused&&=((!relatedTarget||relatedTarget!==curFocused)&&(relatedTarget=curFocused),doBlur(curFocused),null),target))try{if(target.disabled)return;if(`tabIndex`in target){if(typeof target.tabIndex==`string`&&target.tabIndex===`-1`||typeof target.tabIndex==`number`&&target.tabIndex===-1||target.tabIndex===``)return}else if(`contentEditable`in target){if(typeof target.contentEditable==`string`&&target.contentEditable!==`true`||typeof target.contentEditable==`boolean`&&!target.contentEditable)return}else return;let style=window.getComputedStyle(target);if(style.display===`none`||style.visibility===`hidden`||style.pointerEvents===`none`)return;if(isController$1.value&&target.classList.add(focusClass),curFocused=target,focusRegistry.includes(target)||focusRegistry.push(target),document.activeElement!==curFocused){holdFocus=!0;let holdFocusCounter=0;raf(function check(){!curFocused||holdFocusCounter>10||document.activeElement===curFocused?(holdFocus=!1,!curFocused||target!==curFocused?doBlur(target):notify(`focus`,curFocused,relatedTarget)):(holdFocusCounter++,curFocused.focus(),raf(check))})}else notify(`focus`,target,relatedTarget)}catch{}}function doBlur(target){if(target&&!(holdFocus&&target===curFocused))try{target.classList.remove(focusClass),target===curFocused&&(curFocused=null);let idx=focusRegistry.indexOf(target);idx!==-1&&(focusRegistry.splice(idx,1),notify(`blur`,target))}catch{}}document.addEventListener(`focusin`,evt=>procFocus(evt.target,evt.relatedTarget),!0),document.addEventListener(`focusout`,evt=>doBlur(evt.target),!0);let focusRegistry=[],originalFocus=HTMLElement.prototype.focus.__original__||HTMLElement.prototype.focus,originalBlur=HTMLElement.prototype.blur.__original__||HTMLElement.prototype.blur;HTMLElement.prototype.focus=function(...args){let target=this,prevFocused=document.activeElement;prevFocused.classList.contains(focusClass)||(focusRegistry.length>0?focusRegistry.forEach(elm=>elm!==target&&elm.blur()):document.querySelectorAll(`.`+focusClass).forEach(elm=>elm!==target&&doBlur(elm))),originalFocus.apply(target,args),procFocus(target,prevFocused)},HTMLElement.prototype.blur=function(...args){doBlur(this),originalBlur.apply(this,args)},HTMLElement.prototype.focus.__original__=originalFocus,HTMLElement.prototype.blur.__original__=originalBlur}var EVENT_CALLS=Object.entries({focus:[`uinav-focus`,`focus`,`focusin`,`click`],hide:[`mouseenter`],show:[`uinav-blur`,`blur`,`focusout`,`mouseleave`]}).reduce((res,[name,events$3])=>(events$3.forEach(event=>res[event]=name),res),{}),ID$1=`__bngFocusCapture`,elms$2={},isController;function setupController(){isController||(isController=storeToRefs(controls_default()).isControllerUsed,watch(isController,val=>{for(let data of Object.values(elms$2))val?data.show():data.hide()}))}function getClosestNavigable(elm){let target=collectRects(`down`,elm).down[0]?.dom;return target&&isNavigable$1(target)?target:null}function update$3(data,value,firstTime=!1){if(typeof value==`function`?(data.handler=()=>{let elm=value(data.parent);return elm?.$el||elm},delete data.disabled):typeof value==`boolean`&&!value?data.disabled=!0:delete data.disabled,data.disabled){if(data.hide(),!firstTime)for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]])}else for(let event in data.parent.appendChild(data.capture),data.show(),EVENT_CALLS)data.parent.addEventListener(event,data[EVENT_CALLS[event]])}var BngFocusCapture_default={mounted(elm,{arg,value}){setupController();let id=uniqueId(ID$1),parent=elm,capture=document.createElement(`div`),data={id,shown:!0,parent,capture,handler:()=>getClosestNavigable(data.parent)};elms$2[id]=data,parent[ID$1]=id,capture.className=`bng-focus-capture`,capture.style.setProperty(`position`,`absolute`,`important`),capture.style.setProperty(`display`,`block`,`important`),capture.style.setProperty(`top`,`0%`,`important`),capture.style.setProperty(`left`,`0%`,`important`),capture.style.setProperty(`width`,`100%`,`important`),capture.style.setProperty(`height`,`100%`,`important`),capture.style.setProperty(`z-index`,arg&&/^\d+$/.test(arg)?arg:`1000`,`important`),capture.style.setProperty(`pointer-events`,`all`,`important`),capture.setAttribute(`bng-nav-item`,``),capture.setAttribute(`tabindex`,`0`),data.focus=()=>{if(data.hide(),!isController.value)return;let active=document.activeElement;if(!(active!==data.capture&&data.parent.contains(active))&&data.handler){let elm$1=data.handler(data.parent);elm$1&&nextTick(()=>setFocusExternal(elm$1))}},data.hide=()=>{data.shown&&(data.shown=!1,capture.style.setProperty(`pointer-events`,`none`,`important`))},data.show=evt=>{if(data.shown||(data.shown=!0,data.disabled||!isController.value))return;let active=document.activeElement;if(data.parent.contains(active))return;let target=evt?.relatedTarget||evt?.target||active;data.parent.contains(target)||capture.style.setProperty(`pointer-events`,`all`,`important`)},update$3(data,value,!0)},updated(elm,{arg,value}){let id=elm[ID$1];if(!id)return;let data=elms$2[id];data&&update$3(data,value)},unmounted(elm){let id=elm[ID$1];if(!id)return;delete elm[ID$1];let data=elms$2[id];if(data){for(let event in data.capture.remove(),EVENT_CALLS)data.parent.removeEventListener(event,data[EVENT_CALLS[event]]);delete elms$2[id]}}},BngFocusIf_default=(el,{value})=>value&&nextTick(()=>{let shouldFocus=typeof value==`object`?value.value:value,findNavItem=typeof value==`object`?value.findNavItem:!1;if(!el||!shouldFocus)return;let targetEl=el;if(findNavItem){let navItems=el.querySelectorAll(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);navItems&&navItems.length>0&&(targetEl=navItems[0])}targetEl.focus();let blur$1=()=>{targetEl.classList.remove(`focus-visible`),targetEl.removeEventListener(`blur`,blur$1)};targetEl.addEventListener(`blur`,blur$1),targetEl.classList.add(`focus-visible`)}),elems=new WeakMap,curHorizontal=0,curVertical=0;function updateGE(horizontal=0,vertical=0){curHorizontal=horizontal,curVertical=vertical,bngApi.engineLua(`scenetree.OnlyGui:setFrustumCameraCenterOffset(Point2F(${horizontal}, ${vertical}))`)}var moveSpeed=1,smoothingUpdate;function updateGEsmooth(horizontal=0,vertical=0){if(smoothingUpdate){smoothingUpdate(horizontal,vertical);return}let dirH=1,dirV=1;function setDir(){dirH=horizontal>=curHorizontal?1:-1,dirV=vertical>=curVertical?1:-1}setDir(),smoothingUpdate=(h$1=0,v=0)=>{horizontal=h$1,vertical=v,setDir()},window.requestAnimationFrame(function(ms){let speed=moveSpeed/1e3,movH=curHorizontal,movV=curVertical,lastTime=ms,smoother=0;window.requestAnimationFrame(function step(ms$1){if(curHorizontal===horizontal&&curVertical===vertical){smoothingUpdate=null;return}smoother+=(ms$1-lastTime-smoother)*.02,lastTime=ms$1;let moveDelta=smoother*speed;movH+=moveDelta*dirH,movV+=moveDelta*dirV,(dirH>0&&movH>horizontal||dirH<0&&movH0&&movV>vertical||dirV<0&&movV{let updateDebounce=debounce(updateFrustum,50),updateWrapper=()=>updateDebounce(),resizeObserver=new ResizeObserver(updateWrapper);resizeObserver.observe(el),elems.set(el,{updateFrustum:updateDebounce,destroy:()=>{resizeObserver.disconnect(),window.removeEventListener(`resize`,updateWrapper),elems.delete(el),updateDebounce(0,0)}}),window.addEventListener(`resize`,updateWrapper);let curDirection=binding.arg||`left`,curSmooth=binding.modifiers.smooth,curState=binding.value===void 0?!0:!!binding.value;function updateFrustum(direction$1,enabled,smooth){direction$1||=curDirection,[`left`,`right`,`up`,`down`].includes(direction$1)?curDirection=direction$1:(console.error(`Frustum mover only supports left/right/up/down directions`),enabled=!1),typeof enabled!=`boolean`&&(enabled=curState),curState=enabled,typeof smooth!=`boolean`&&(smooth=curSmooth),curSmooth=smooth;let updater=smooth?updateGEsmooth:updateGE;if(!enabled){updater();return}let side=direction$1===`left`||direction$1===`right`?`width`:`height`,screenSize=window.screen[side],movePower=el.getBoundingClientRect()[side]/screenSize*power;movePower<.001?movePower=0:(direction$1===`left`||direction$1===`down`)&&(movePower=-movePower),updater(direction$1===`left`||direction$1===`right`?movePower:0,direction$1===`up`||direction$1===`down`?movePower:0)}},updated:(el,binding)=>{let itm=elems.get(el);itm&&itm.updateFrustum(binding.arg,!!binding.value,!!binding.modifiers.smooth)},unmounted:(el,binding)=>{let itm=elems.get(el);itm&&itm.destroy()}},highlighter=[``,``],rgxSanitize=str=>str.replace(/[\\[]\?:.\*\+\-]/g,`\\$1`),BngHighlighter_default=(el,binding,vnode,prevVnode)=>{if(vnode.children.length!==1||vnode.children[0].type.toString()!==`Symbol(v-txt)`){el.__highlightwarned||(el.__highlightwarned=!0,console.warn(`Only a single inner text v-node supported`,el));return}let res=vnode.children[0].children.replace(//g,`>`),highlight=binding.value;if(highlight){let rgx;if(highlight instanceof RegExp)highlight.test(res)&&(rgx=highlight);else{let searchCase=str=>binding.modifiers.case?str:str.toLowerCase(),searchSource=searchCase(res),checkString=str=>searchSource.indexOf(str)>-1,buildRegexp=str=>RegExp(`(${str})`,`gm`+(binding.modifiers.case?``:`i`));if(typeof highlight==`object`&&Array.isArray(highlight)){let found=[];for(let str of highlight)str&&(str=searchCase(String(str)),checkString(str)&&found.push(str));found.length>0&&(rgx=buildRegexp(found.map(str=>rgxSanitize(str)).join(`|`)))}else{let str=searchCase(String(highlight));checkString(str)&&(rgx=buildRegexp(rgxSanitize(str)))}}rgx&&(res=res.replace(rgx,`${highlighter[0]}$1${highlighter[1]}`))}el.innerHTML!==res&&(el.innerHTML=res)},ExecQueue=class{resolution={rejectThis:`rejectThis`,rejectOthers:`rejectOthers`,resolveThis:`resolveThis`,resolveOthers:`resolveOthers`,replaceWithReject:`replaceWithReject`,replaceWithResolve:`replaceWithResolve`,merge:`merge`};_queue=[];_processing=!1;_tick=0;_tickFunc=nextTick;_runningCount=0;_concurrency=1;constructor(tick=0,concurrency=1){this.tick=tick,this.concurrency=concurrency}get tick(){return this._tick}set tick(val){typeof val!=`number`&&(val=0),this._tick=val,this._tickFunc=val===0?func=>nextTick(func.bind(this)):func=>setTimeout(func.bind(this),this._tick)}get concurrency(){return this._concurrency}set concurrency(val){(typeof val!=`number`||val<1)&&(val=1),this._concurrency=val}shuffle(){this._shuffle=!0}async process(){if(!(this._processing||this._queue.length===0))for(this._processing=!0,this._shuffle&&=(this._queue=this._queue.sort(()=>Math.random()-.5),!1);this._runningCount0;){let item=this._queue.shift();if(!item)break;item.running=!0,this._runningCount++,this._processItem(item)}}async _processItem(item){try{let result=await item.func(...item.args);item.resolves?.forEach(resolve$1=>resolve$1?.(result))}catch(err){item.rejects.length>0?item.rejects?.forEach(reject=>reject?.(err)):console.error(err)}finally{this._runningCount--,this._tickFunc(()=>{this._processing=!1,this.process()})}}enqueue(name,func,args=[],conflicts={},resolve$1=null,reject=null){if(typeof conflicts==`object`&&Object.keys(conflicts).length>0)for(let i=this._queue.length-1;i>=0;i--){let item=this._queue[i];if(item.name in conflicts)switch(conflicts[item.name]){case this.resolution.merge:resolve$1&&item.resolves.push(resolve$1),reject&&item.rejects.push(reject);return;default:case this.resolution.rejectThis:reject?.(Error(`Function ${item.name} is rejected due to conflict`));return;case this.resolution.resolveThis:resolve$1?.();return;case this.resolution.rejectOthers:item.running||(item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is rejected due to conflict`))),this._queue.splice(i,1));break;case this.resolution.resolveOthers:case this.resolution.replaceWithResolve:item.running||(item.resolves?.forEach(resolve$2=>resolve$2?.()),this._queue.splice(i,1));break;case this.resolution.replaceWithReject:item.rejects?.forEach(reject$1=>reject$1?.(Error(`Function ${item.name} is replaced`))),this._queue.splice(i,1);break}}this._queue.push({name,func,args,resolves:[resolve$1],rejects:[reject]}),this._processing||(this._processing=!0,this._tickFunc(()=>{this._processing=!1,this.process()}))}promise(name,func,args=[],conflicts={}){return new Promise((resolve$1,reject)=>this.enqueue(name,func,args,conflicts,resolve$1,reject))}wrap(name,func,conflicts={}){return async(...args)=>await this.promise(name,func,args,conflicts)}},MAX_SIZE=500,OVERSIZE_LIMIT=100,CONCURRENCY_LIMIT=20,QUEUE_INTERVAL$1=0,OBS_ID=`__bngLazyImage`,cache=new Map,queue=new ExecQueue(QUEUE_INTERVAL$1,CONCURRENCY_LIMIT),observer$1=new IntersectionObserver(entries=>{for(let entry of entries)if(entry.isIntersecting){observer$1.unobserve(entry.target);let data=entry.target[OBS_ID];data.observed&&(data.observed=!1,queue.shuffle(),process(entry.target,data))}}),loadImage=url=>new Promise((resolve$1,reject)=>{let img=new Image;img.onload=async()=>{try{if(cache.sizeMAX_SIZE||img.height>MAX_SIZE)){let ratio=img.width/img.height,width$1,height$1;img.width>img.height?(width$1=MAX_SIZE,height$1=MAX_SIZE/ratio):(height$1=MAX_SIZE,width$1=MAX_SIZE*ratio);let cvs=new OffscreenCanvas(width$1,height$1);cvs.getContext(`2d`).drawImage(img,0,0,width$1,height$1);let bmp=await createImageBitmap(cvs);cache.set(img.src,{url,bmp})}}catch(err){reject(err)}resolve$1({url})},img.onerror=()=>reject(Error(`Failed to load image`)),img.src=url});function process(el,data){let{url,callback}=data,apply$1=imgData=>callback(el,imgData.url,imgData.bmp);if(cache.has(url)){apply$1(cache.get(url));return}apply$1(emptyImage),queue.enqueue(url,loadImage,[url],{url:queue.resolution.merge},data$1=>{apply$1(data$1)},err=>{logger_default.error(err),apply$1(url)})}function update$2(el,{arg,value}){let data={url:void 0,target:`src`,callback:void 0};if(typeof value==`string`)data.url=value;else if(typeof value==`object`&&!Array.isArray(value)&&value.url){if(data.url=value.url,data.target=value.target,data.callback=typeof value.callback==`function`?value.callback:void 0,!data.url||!data.target&&!data.callback)return}else return;if(el[OBS_ID]){let old=el[OBS_ID];if(old.observed&&observer$1.unobserve(el),old.url===data.url&&old.target===data.target&&old.callback===data.callback)return}el[OBS_ID]=data,arg===`observe`?(data.observed=!0,observer$1.observe(el)):process(el,data)}var BngLazyImage_default={mounted:update$2,updated:update$2,unmounted(el){el[OBS_ID]&&(el[OBS_ID].observed&&observer$1.unobserve(el),delete el[OBS_ID])}},elms$1=new Map,observer=new ResizeObserver(observed$1);function observed$1(entries){for(let entry of entries)elms$1.has(entry.target)?update$1(entry.target):observer.unobserve(entry.target)}function update$1(elm,data=void 0){if(data||=elms$1.get(elm),data)if(isVisibleFast(elm)){let screen$1={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},rect=elm.getBoundingClientRect(),metrics={x:rect.left+screen$1.scrollX,y:rect.top+screen$1.scrollY,width:rect.width,height:rect.height};data.set(data.id,metrics.x/screen$1.width,metrics.y/screen$1.height,metrics.width/screen$1.width,metrics.height/screen$1.height)}else data.reset(data.id)}var UINAV_PROP=`__BngOnUiNav`,_handlerToElement=handler$1=>{let element;switch(typeof handler$1){case`string`:element=document.querySelectorAll(handler$1)[0];break;case`object`:element=handler$1;break}return element instanceof HTMLElement&&element},_generateSignature=(vnode,eventNames,modifiers)=>`${UINAV_PROP}[${vnode.ctx.uid}]:`+(typeof eventNames==`string`?eventNames.split(`,`):eventNames).sort().join(`,`)+[``,...Object.keys(modifiers)].sort().join(`.`),_normalizedEvents=eventNames=>eventNames===`*`?[]:eventNames.split(`,`),_getDirData=(element,signature)=>element[UINAV_PROP]?.find(dir=>dir.signature===signature);function setup$2(data,element,vnode){if(data.modifiers.asMouse){if(data.eventNames.find(name=>!isOnOffEvent(name))){window.BNG_Logger&&window.BNG_Logger.error(`UINav directive asMouse modifier is only supported for on/off type events`,element);return}setupAsMouse(data,vnode)}typeof data.handler==`function`&&(applyUiNav(data,element),applyTracker(data,element))}function setupAsMouse(data,vnode){let handlerElement=_handlerToElement(data.handler);handlerElement&&(vnode={el:handlerElement});let eventFirer$1=vnode.ctx?.exposed?.fireEvent||eventDispatcherForElement(vnode.el),checkElementDisabled=vnode.ctx?.exposed?.getDisabledState||(()=>vnode.el.hasAttribute(`disabled`));delete data.modifiers.down,delete data.modifiers.up,data.mousedownActive=!1,data.handler=({detail})=>{if(checkElementDisabled())return;let fromControllerMarker={fromController:detail};return detail.value?(eventFirer$1(`mousedown`,fromControllerMarker),data.mousedownActive=!0):(eventFirer$1(`mouseup`,fromControllerMarker),data.mousedownActive&&(data.mousedownActive=!1,eventFirer$1(`click`,fromControllerMarker))),!!data.modifiers.bubble}}function applyTracker(data,element){let uiNavTracker=useUINavTracker();data.modifiers.focusRequired?(element.addEventListener(`focusin`,evt=>{let prevDirs=evt.relatedTarget?.[UINAV_PROP];if(prevDirs)for(let dir of prevDirs)dir.modifiers.focusRequired&&(dir.tracked.forEach(name=>uiNavTracker.removeEvent(name,dir.signature,evt.relatedTarget)),dir.tracked=[]);let cur=_getDirData(element,data.signature);cur&&(cur.tracked.lengthuiNavTracker.updateEvent(name,cur.signature,element,{active:cur.modifiers.active,nogroup:cur.modifiers.nogroup})),cur.tracked=[...cur.eventNames]))}),element.addEventListener(`focusout`,evt=>{let cur=_getDirData(element,data.signature);if(!cur||cur.tracked.length>0)return;let nextDirs=evt.relatedTarget?.[UINAV_PROP];(!nextDirs||!nextDirs.some(directive=>directive.modifiers.focusRequired))&&(cur.tracked.forEach(name=>uiNavTracker.removeEvent(name,cur.signature,element)),cur.tracked=[])})):(data.eventNames.forEach(name=>uiNavTracker.updateEvent(name,data.signature,element,{active:data.modifiers.active,nogroup:data.modifiers.nogroup})),data.tracked=[...data.eventNames])}function applyUiNav(data,element){let valueChecker;data.modifiers.down?valueChecker=checkOn:data.modifiers.up?valueChecker=0:!data.modifiers.asMouse&&!data.eventNames.find(name=>!isOnOffEvent(name))&&(valueChecker=checkOn),data.uiNavHandler=handlers_default.add(element,{name:name=>data.eventNames.includes(name),value:valueChecker,modified:data.modifiers.modified||!1,focusRequired:data.modifiers.focusRequired?element:void 0},data.handler),element.setAttribute(UI_EVENT_ATTR,``)}function mounted$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let storage=element[UINAV_PROP]||(element[UINAV_PROP]=[]),signature=_generateSignature(vnode,eventNames,modifiers),data=storage.find(dir=>dir.signature===signature);data?window.BNG_Logger&&window.BNG_Logger.error(`Conflicting vBngOnUiNav directive on element`,element):(data={signature,eventNames:_normalizedEvents(eventNames),modifiers,handler:handler$1,uiNavHandler:null,mousedownActive:!1,tracked:[]},storage.push(data)),setup$2(data,element,vnode)}function updated$1(element,{arg:eventNames,value:handler$1,modifiers},vnode){modifiers||={};let data=_getDirData(element,_generateSignature(vnode,eventNames,modifiers));if(!data)return;typeof data.uiNavHandler==`function`&&handlers_default.remove(element,data.uiNavHandler);let normalizedEvents=_normalizedEvents(eventNames),oldEvents=data.tracked.filter(name=>!normalizedEvents.includes(name));if(oldEvents.length>0){let uiNavTracker=useUINavTracker();oldEvents.forEach(name=>uiNavTracker.removeEvent(name,data.signature,element)),data.tracked=data.tracked.filter(name=>normalizedEvents.includes(name))}data.eventNames=normalizedEvents,data.modifiers=modifiers,data.handler=handler$1,data.uiNavHandler=null,setup$2(data,element,vnode)}function dispose$1(element){let storage=element[UINAV_PROP];if(!storage)return;let uiNavTracker=useUINavTracker();storage.forEach(directive=>{directive.tracked.length>0&&directive.tracked.forEach(name=>uiNavTracker.removeEvent(name,directive.signature,element)),directive.uiNavHandler&&handlers_default.remove(element,directive.uiNavHandler)}),element.removeAttribute(UI_EVENT_ATTR),delete element[UINAV_PROP]}var BngOnUiNav_default={mounted:mounted$1,updated:updated$1,beforeUnmount:dispose$1},DIRECTIONS={horizontal:{[UI_EVENTS.focus_l]:-1,[UI_EVENTS.focus_r]:1},vertical:{[UI_EVENTS.focus_d]:-1,[UI_EVENTS.focus_u]:1}},HOLD_DELAY=400,REPEAT_INTERVAL=100,ELEMENT_FLAG=`__BNG_ONUINAVFOCUS`,BngOnUiNavFocus_default={mounted:(element,binding,vnode)=>{if(!binding.value)return;let opts={direction:binding.arg||`horizontal`,repeat:!!binding.modifiers.repeat,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL,min:-1/0,max:1/0,step:1,value:null,callback:null,...typeof binding.value==`object`?binding.value:typeof binding.value==`function`?{callback:binding.value}:{}};!opts.events&&(opts.events=DIRECTIONS[opts.direction]);function process$1(evt){let detail=evt.fromController||evt.detail;if(!detail||!(detail.name in opts.events))return;let dir=opts.events[detail.name],val;if(typeof opts.value==`function`){let cur=opts.value(),res=cur+(typeof opts.step==`function`?opts.step():opts.step)*dir;dir<0&&res0&&res>opts.max&&(res=opts.max);let precision=10**(opts.step+`.`).split(/[.,]/)[1].length;res=precision>0?Math.round(res*precision)/precision:Math.round(res),cur===res?dir=0:val=res}dir&&opts.callback&&opts.callback(dir,val)}let dirUINav={arg:Object.keys(opts.events).join(`,`),modifiers:{focusRequired:!0,asMouse:!0}},dirClick={value:{clickCallback:process$1,holdCallback:opts.repeat?process$1:void 0,holdDelay:HOLD_DELAY,repeatInterval:REPEAT_INTERVAL}};BngOnUiNav_default.mounted(element,dirUINav,vnode),BngClick_default.mounted(element,dirClick,vnode),element[ELEMENT_FLAG]=!0},beforeUnmount:element=>{element[ELEMENT_FLAG]&&(BngClick_default.beforeUnmount(element),BngOnUiNav_default.beforeUnmount(element))}},DEFAULT_OPTS={intiallyOpen:!1,navEventToOpen:UI_EVENTS.ok,navEventToClose:UI_EVENTS.back},min=Math.min,max=Math.max,round$1=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oppositeAlignmentMap={start:`end`,end:`start`};function clamp$1(start,value,end){return max(start,min(value,end))}function evaluate(value,param){return typeof value==`function`?value(param):value}function getSide(placement){return placement.split(`-`)[0]}function getAlignment(placement){return placement.split(`-`)[1]}function getOppositeAxis(axis){return axis===`x`?`y`:`x`}function getAxisLength(axis){return axis===`y`?`height`:`width`}var yAxisSides=new Set([`top`,`bottom`]);function getSideAxis(placement){return yAxisSides.has(getSide(placement))?`y`:`x`}function getAlignmentAxis(placement){return getOppositeAxis(getSideAxis(placement))}function getAlignmentSides(placement,rects,rtl){rtl===void 0&&(rtl=!1);let alignment=getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis),mainAlignmentSide=alignmentAxis===`x`?alignment===(rtl?`end`:`start`)?`right`:`left`:alignment===`start`?`bottom`:`top`;return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}function getExpandedPlacements(placement){let oppositePlacement=getOppositePlacement(placement);return[getOppositeAlignmentPlacement(placement),oppositePlacement,getOppositeAlignmentPlacement(oppositePlacement)]}function getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,alignment=>oppositeAlignmentMap[alignment])}var lrPlacement=[`left`,`right`],rlPlacement=[`right`,`left`],tbPlacement=[`top`,`bottom`],btPlacement=[`bottom`,`top`];function getSideList(side,isStart,rtl){switch(side){case`top`:case`bottom`:return rtl?isStart?rlPlacement:lrPlacement:isStart?lrPlacement:rlPlacement;case`left`:case`right`:return isStart?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(placement,flipAlignment,direction$1,rtl){let alignment=getAlignment(placement),list=getSideList(getSide(placement),direction$1===`start`,rtl);return alignment&&(list=list.map(side=>side+`-`+alignment),flipAlignment&&(list=list.concat(list.map(getOppositeAlignmentPlacement)))),list}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,side=>oppositeSideMap[side])}function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}function getPaddingObject(padding){return typeof padding==`number`?{top:padding,right:padding,bottom:padding,left:padding}:expandPaddingObject(padding)}function rectToClientRect(rect){let{x,y,width:width$1,height:height$1}=rect;return{width:width$1,height:height$1,top:y,left:x,right:x+width$1,bottom:y+height$1,x,y}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference,floating}=_ref,sideAxis=getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=getSide(placement),isVertical=sideAxis===`y`,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2,coords;switch(side){case`top`:coords={x:commonX,y:reference.y-floating.height};break;case`bottom`:coords={x:commonX,y:reference.y+reference.height};break;case`right`:coords={x:reference.x+reference.width,y:commonY};break;case`left`:coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(getAlignment(placement)){case`start`:coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case`end`:coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1);break}return coords}var computePosition$1=async(reference,floating,config)=>{let{placement=`bottom`,strategy=`absolute`,middleware=[],platform:platform$1}=config,validMiddleware=middleware.filter(Boolean),rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(floating)),rects=await platform$1.getElementRects({reference,floating,strategy}),{x,y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:`arrow`,options,async fn(state){let{x,y,placement,rects,platform:platform$1,elements,middlewareData}=state,{element,padding=0}=evaluate(options,state)||{};if(element==null)return{};let paddingObject=getPaddingObject(padding),coords={x,y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform$1.getDimensions(element),isYAxis=axis===`y`,minProp=isYAxis?`top`:`left`,maxProp=isYAxis?`bottom`:`right`,clientProp=isYAxis?`clientHeight`:`clientWidth`,endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(platform$1.getOffsetParent==null?void 0:platform$1.getOffsetParent(element)),clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;(!clientSize||!await(platform$1.isElement==null?void 0:platform$1.isElement(arrowOffsetParent)))&&(clientSize=elements.floating[clientProp]||rects.floating[length]);let centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=min(paddingObject[minProp],largestPossiblePadding),maxPadding=min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max$1=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset$2=clamp$1(min$1,center,max$1),shouldAddOffset=!middlewareData.arrow&&getAlignment(placement)!=null&¢er!==offset$2&&rects.reference[length]/2-(centerside$1<=0)){var _middlewareData$flip2,_overflowsData$filter;let nextIndex=(middlewareData.flip?.index||0)+1,nextPlacement=placements$1[nextIndex];if(nextPlacement&&(!(checkCrossAxis===`alignment`&&initialSideAxis!==getSideAxis(nextPlacement))||overflowsData.every(d=>getSideAxis(d.placement)===initialSideAxis?d.overflows[0]>0:!0)))return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=overflowsData.filter(d=>d.overflows[0]<=0).sort((a$1,b)=>a$1.overflows[1]-b.overflows[1])[0]?.placement;if(!resetPlacement)switch(fallbackStrategy){case`bestFit`:{var _overflowsData$filter2;let placement$1=overflowsData.filter(d=>{if(hasFallbackAxisSideDirection){let currentSideAxis=getSideAxis(d.placement);return currentSideAxis===initialSideAxis||currentSideAxis===`y`}return!0}).map(d=>[d.placement,d.overflows.filter(overflow$1=>overflow$1>0).reduce((acc,overflow$1)=>acc+overflow$1,0)]).sort((a$1,b)=>a$1[1]-b[1])[0]?.[0];placement$1&&(resetPlacement=placement$1);break}case`initialPlacement`:resetPlacement=initialPlacement;break}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}},originSides=new Set([`left`,`top`]);async function convertValueToCoords(state,options){let{placement,platform:platform$1,elements}=state,rtl=await(platform$1.isRTL==null?void 0:platform$1.isRTL(elements.floating)),side=getSide(placement),alignment=getAlignment(placement),isVertical=getSideAxis(placement)===`y`,mainAxisMulti=originSides.has(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=evaluate(options,state),{mainAxis,crossAxis,alignmentAxis}=typeof rawValue==`number`?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:rawValue.mainAxis||0,crossAxis:rawValue.crossAxis||0,alignmentAxis:rawValue.alignmentAxis};return alignment&&typeof alignmentAxis==`number`&&(crossAxis=alignment===`end`?alignmentAxis*-1:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}var offset$1=function(options){return options===void 0&&(options=0),{name:`offset`,options,async fn(state){var _middlewareData$offse,_middlewareData$arrow;let{x,y,placement,middlewareData}=state,diffCoords=await convertValueToCoords(state,options);return placement===middlewareData.offset?.placement&&(_middlewareData$arrow=middlewareData.arrow)!=null&&_middlewareData$arrow.alignmentOffset?{}:{x:x+diffCoords.x,y:y+diffCoords.y,data:{...diffCoords,placement}}}}},shift$1=function(options){return options===void 0&&(options={}),{name:`shift`,options,async fn(state){let{x,y,placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter={fn:_ref=>{let{x:x$1,y:y$1}=_ref;return{x:x$1,y:y$1}}},...detectOverflowOptions}=evaluate(options,state),coords={x,y},overflow=await detectOverflow$1(state,detectOverflowOptions),crossAxis=getSideAxis(getSide(placement)),mainAxis=getOppositeAxis(crossAxis),mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){let minSide=mainAxis===`y`?`top`:`left`,maxSide=mainAxis===`y`?`bottom`:`right`,min$1=mainAxisCoord+overflow[minSide],max$1=mainAxisCoord-overflow[maxSide];mainAxisCoord=clamp$1(min$1,mainAxisCoord,max$1)}if(checkCrossAxis){let minSide=crossAxis===`y`?`top`:`left`,maxSide=crossAxis===`y`?`bottom`:`right`,min$1=crossAxisCoord+overflow[minSide],max$1=crossAxisCoord-overflow[maxSide];crossAxisCoord=clamp$1(min$1,crossAxisCoord,max$1)}let limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y,enabled:{[mainAxis]:checkMainAxis,[crossAxis]:checkCrossAxis}}}}}};function hasWindow(){return typeof window<`u`}function getNodeName(node){return isNode(node)?(node.nodeName||``).toLowerCase():`#document`}function getWindow(node){var _node$ownerDocument;return(node==null||(_node$ownerDocument=node.ownerDocument)==null?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return((isNode(node)?node.ownerDocument:node.document)||window.document)?.documentElement}function isNode(value){return hasWindow()?value instanceof Node||value instanceof getWindow(value).Node:!1}function isElement(value){return hasWindow()?value instanceof Element||value instanceof getWindow(value).Element:!1}function isHTMLElement(value){return hasWindow()?value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement:!1}function isShadowRoot(value){return!hasWindow()||typeof ShadowRoot>`u`?!1:value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot}var invalidOverflowDisplayValues=new Set([`inline`,`contents`]);function isOverflowElement(element){let{overflow,overflowX,overflowY,display}=getComputedStyle$1(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!invalidOverflowDisplayValues.has(display)}var tableElements=new Set([`table`,`td`,`th`]);function isTableElement(element){return tableElements.has(getNodeName(element))}var topLayerSelectors=[`:popover-open`,`:modal`];function isTopLayer(element){return topLayerSelectors.some(selector=>{try{return element.matches(selector)}catch{return!1}})}var transformProperties=[`transform`,`translate`,`scale`,`rotate`,`perspective`],willChangeValues=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],containValues=[`paint`,`layout`,`strict`,`content`];function isContainingBlock(elementOrCss){let webkit=isWebKit(),css=isElement(elementOrCss)?getComputedStyle$1(elementOrCss):elementOrCss;return transformProperties.some(value=>css[value]?css[value]!==`none`:!1)||(css.containerType?css.containerType!==`normal`:!1)||!webkit&&(css.backdropFilter?css.backdropFilter!==`none`:!1)||!webkit&&(css.filter?css.filter!==`none`:!1)||willChangeValues.some(value=>(css.willChange||``).includes(value))||containValues.some(value=>(css.contain||``).includes(value))}function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;if(isTopLayer(currentNode))return null;currentNode=getParentNode(currentNode)}return null}function isWebKit(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var lastTraversableNodeNames=new Set([`html`,`body`,`#document`]);function isLastTraversableNode(node){return lastTraversableNodeNames.has(getNodeName(node))}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.scrollX,scrollTop:element.scrollY}}function getParentNode(node){if(getNodeName(node)===`html`)return node;let result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){let parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list,traverseIframes){var _node$ownerDocument2;list===void 0&&(list=[]),traverseIframes===void 0&&(traverseIframes=!0);let scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===node.ownerDocument?.body,win=getWindow(scrollableAncestor);if(isBody){let frameElement=getFrameElement(win);return list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[],frameElement&&traverseIframes?getOverflowAncestors(frameElement):[])}return list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor,[],traverseIframes))}function getFrameElement(win){return win.parent&&Object.getPrototypeOf(win.parent)?win.frameElement:null}function getCssDimensions(element){let css=getComputedStyle$1(element),width$1=parseFloat(css.width)||0,height$1=parseFloat(css.height)||0,hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width$1,offsetHeight=hasOffset?element.offsetHeight:height$1,shouldFallback=round$1(width$1)!==offsetWidth||round$1(height$1)!==offsetHeight;return shouldFallback&&(width$1=offsetWidth,height$1=offsetHeight),{width:width$1,height:height$1,$:shouldFallback}}function unwrapElement$1(element){return isElement(element)?element:element.contextElement}function getScale(element){let domElement=unwrapElement$1(element);if(!isHTMLElement(domElement))return createCoords(1);let rect=domElement.getBoundingClientRect(),{width:width$1,height:height$1,$}=getCssDimensions(domElement),x=($?round$1(rect.width):rect.width)/width$1,y=($?round$1(rect.height):rect.height)/height$1;return(!x||!Number.isFinite(x))&&(x=1),(!y||!Number.isFinite(y))&&(y=1),{x,y}}var noOffsets=createCoords(0);function getVisualOffsets(element){let win=getWindow(element);return!isWebKit()||!win.visualViewport?noOffsets:{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}}function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return isFixed===void 0&&(isFixed=!1),!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element)?!1:isFixed}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);let clientRect=element.getBoundingClientRect(),domElement=unwrapElement$1(element),scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));let visualOffsets=shouldAddVisualOffsets(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0),x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width$1=clientRect.width/scale.x,height$1=clientRect.height/scale.y;if(domElement){let win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent,currentWin=win,currentIFrame=getFrameElement(currentWin);for(;currentIFrame&&offsetParent&&offsetWin!==currentWin;){let iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=getComputedStyle$1(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width$1*=iframeScale.x,height$1*=iframeScale.y,x+=left,y+=top,currentWin=getWindow(currentIFrame),currentIFrame=getFrameElement(currentWin)}}return rectToClientRect({width:width$1,height:height$1,x,y})}function getWindowScrollBarX(element,rect){let leftScroll=getNodeScroll(element).scrollLeft;return rect?rect.left+leftScroll:getBoundingClientRect(getDocumentElement(element)).left+leftScroll}function getHTMLOffset(documentElement,scroll$1){let htmlRect=documentElement.getBoundingClientRect();return{x:htmlRect.left+scroll$1.scrollLeft-getWindowScrollBarX(documentElement,htmlRect),y:htmlRect.top+scroll$1.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{elements,rect,offsetParent,strategy}=_ref,isFixed=strategy===`fixed`,documentElement=getDocumentElement(offsetParent),topLayer=elements?isTopLayer(elements.floating):!1;if(offsetParent===documentElement||topLayer&&isFixed)return rect;let scroll$1={scrollLeft:0,scrollTop:0},scale=createCoords(1),offsets=createCoords(0),isOffsetParentAnElement=isHTMLElement(offsetParent);if((isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){let offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll$1.scrollLeft*scale.x+offsets.x+htmlOffset.x,y:rect.y*scale.y-scroll$1.scrollTop*scale.y+offsets.y+htmlOffset.y}}function getClientRects(element){return Array.from(element.getClientRects())}function getDocumentRect(element){let html=getDocumentElement(element),scroll$1=getNodeScroll(element),body=element.ownerDocument.body,width$1=max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height$1=max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight),x=-scroll$1.scrollLeft+getWindowScrollBarX(element),y=-scroll$1.scrollTop;return getComputedStyle$1(body).direction===`rtl`&&(x+=max(html.clientWidth,body.clientWidth)-width$1),{width:width$1,height:height$1,x,y}}var SCROLLBAR_MAX=25;function getViewportRect(element,strategy){let win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width$1=html.clientWidth,height$1=html.clientHeight,x=0,y=0;if(visualViewport){width$1=visualViewport.width,height$1=visualViewport.height;let visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&strategy===`fixed`)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}let windowScrollbarX=getWindowScrollBarX(html);if(windowScrollbarX<=0){let doc$1=html.ownerDocument,body=doc$1.body,bodyStyles=getComputedStyle(body),bodyMarginInline=doc$1.compatMode===`CSS1Compat`&&parseFloat(bodyStyles.marginLeft)+parseFloat(bodyStyles.marginRight)||0,clippingStableScrollbarWidth=Math.abs(html.clientWidth-body.clientWidth-bodyMarginInline);clippingStableScrollbarWidth<=SCROLLBAR_MAX&&(width$1-=clippingStableScrollbarWidth)}else windowScrollbarX<=SCROLLBAR_MAX&&(width$1+=windowScrollbarX);return{width:width$1,height:height$1,x,y}}var absoluteOrFixed=new Set([`absolute`,`fixed`]);function getInnerBoundingClientRect(element,strategy){let clientRect=getBoundingClientRect(element,!0,strategy===`fixed`),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if(clippingAncestor===`viewport`)rect=getViewportRect(element,strategy);else if(clippingAncestor===`document`)rect=getDocumentRect(getDocumentElement(element));else if(isElement(clippingAncestor))rect=getInnerBoundingClientRect(clippingAncestor,strategy);else{let visualOffsets=getVisualOffsets(element);rect={x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y,width:clippingAncestor.width,height:clippingAncestor.height}}return rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){let parentNode=getParentNode(element);return parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode)?!1:getComputedStyle$1(parentNode).position===`fixed`||hasFixedPositionAncestor(parentNode,stopNode)}function getClippingElementAncestors(element,cache$1){let cachedResult=cache$1.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element,[],!1).filter(el=>isElement(el)&&getNodeName(el)!==`body`),currentContainingBlockComputedStyle=null,elementIsFixed=getComputedStyle$1(element).position===`fixed`,currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){let computedStyle=getComputedStyle$1(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);!currentNodeIsContaining&&computedStyle.position===`fixed`&&(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&computedStyle.position===`static`&¤tContainingBlockComputedStyle&&absoluteOrFixed.has(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter(ancestor=>ancestor!==currentNode):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache$1.set(element,result),result}function getClippingRect(_ref){let{element,boundary,rootBoundary,strategy}=_ref,clippingAncestors=[...boundary===`clippingAncestors`?isTopLayer(element)?[]:getClippingElementAncestors(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce((accRect,clippingAncestor)=>{let rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect},getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}}function getDimensions(element){let{width:width$1,height:height$1}=getCssDimensions(element);return{width:width$1,height:height$1}}function getRectRelativeToOffsetParent(element,offsetParent,strategy){let isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed=strategy===`fixed`,rect=getBoundingClientRect(element,!0,isFixed,offsetParent),scroll$1={scrollLeft:0,scrollTop:0},offsets=createCoords(0);function setLeftRTLScrollbarOffset(){offsets.x=getWindowScrollBarX(documentElement)}if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if((getNodeName(offsetParent)!==`body`||isOverflowElement(documentElement))&&(scroll$1=getNodeScroll(offsetParent)),isOffsetParentAnElement){let offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&setLeftRTLScrollbarOffset();isFixed&&!isOffsetParentAnElement&&documentElement&&setLeftRTLScrollbarOffset();let htmlOffset=documentElement&&!isOffsetParentAnElement&&!isFixed?getHTMLOffset(documentElement,scroll$1):createCoords(0);return{x:rect.left+scroll$1.scrollLeft-offsets.x-htmlOffset.x,y:rect.top+scroll$1.scrollTop-offsets.y-htmlOffset.y,width:rect.width,height:rect.height}}function isStaticPositioned(element){return getComputedStyle$1(element).position===`static`}function getTrueOffsetParent(element,polyfill){if(!isHTMLElement(element)||getComputedStyle$1(element).position===`fixed`)return null;if(polyfill)return polyfill(element);let rawOffsetParent=element.offsetParent;return getDocumentElement(element)===rawOffsetParent&&(rawOffsetParent=rawOffsetParent.ownerDocument.body),rawOffsetParent}function getOffsetParent(element,polyfill){let win=getWindow(element);if(isTopLayer(element))return win;if(!isHTMLElement(element)){let svgOffsetParent=getParentNode(element);for(;svgOffsetParent&&!isLastTraversableNode(svgOffsetParent);){if(isElement(svgOffsetParent)&&!isStaticPositioned(svgOffsetParent))return svgOffsetParent;svgOffsetParent=getParentNode(svgOffsetParent)}return win}let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&isStaticPositioned(offsetParent);)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&isLastTraversableNode(offsetParent)&&isStaticPositioned(offsetParent)&&!isContainingBlock(offsetParent)?win:offsetParent||getContainingBlock(element)||win}var getElementRects=async function(data){let getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions,floatingDimensions=await getDimensionsFn(data.floating);return{reference:getRectRelativeToOffsetParent(data.reference,await getOffsetParentFn(data.floating),data.strategy),floating:{x:0,y:0,width:floatingDimensions.width,height:floatingDimensions.height}}};function isRTL(element){return getComputedStyle$1(element).direction===`rtl`}var platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(a$1,b){return a$1.x===b.x&&a$1.y===b.y&&a$1.width===b.width&&a$1.height===b.height}function observeMove(element,onMove){let io=null,timeoutId,root=getDocumentElement(element);function cleanup(){var _io;clearTimeout(timeoutId),(_io=io)==null||_io.disconnect(),io=null}function refresh$1(skip,threshold){skip===void 0&&(skip=!1),threshold===void 0&&(threshold=1),cleanup();let elementRectForRootMargin=element.getBoundingClientRect(),{left,top,width:width$1,height:height$1}=elementRectForRootMargin;if(skip||onMove(),!width$1||!height$1)return;let insetTop=floor(top),insetRight=floor(root.clientWidth-(left+width$1)),insetBottom=floor(root.clientHeight-(top+height$1)),insetLeft=floor(left),options={rootMargin:-insetTop+`px `+-insetRight+`px `+-insetBottom+`px `+-insetLeft+`px`,threshold:max(0,min(1,threshold))||1},isFirstUpdate=!0;function handleObserve(entries){let ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh$1();ratio?refresh$1(!1,ratio):timeoutId=setTimeout(()=>{refresh$1(!1,1e-7)},1e3)}ratio===1&&!rectsAreEqual(elementRectForRootMargin,element.getBoundingClientRect())&&refresh$1(),isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch{io=new IntersectionObserver(handleObserve,options)}io.observe(element)}return refresh$1(!0),cleanup}function autoUpdate(reference,floating,update$6,options){options===void 0&&(options={});let{ancestorScroll=!0,ancestorResize=!0,elementResize=typeof ResizeObserver==`function`,layoutShift=typeof IntersectionObserver==`function`,animationFrame=!1}=options,referenceEl=unwrapElement$1(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.addEventListener(`scroll`,update$6,{passive:!0}),ancestorResize&&ancestor.addEventListener(`resize`,update$6)});let cleanupIo=referenceEl&&layoutShift?observeMove(referenceEl,update$6):null,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver(_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame(()=>{var _resizeObserver;(_resizeObserver=resizeObserver)==null||_resizeObserver.observe(floating)})),update$6()}),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let frameId,prevRefRect=animationFrame?getBoundingClientRect(reference):null;animationFrame&&frameLoop();function frameLoop(){let nextRefRect=getBoundingClientRect(reference);prevRefRect&&!rectsAreEqual(prevRefRect,nextRefRect)&&update$6(),prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}return update$6(),()=>{var _resizeObserver2;ancestors.forEach(ancestor=>{ancestorScroll&&ancestor.removeEventListener(`scroll`,update$6),ancestorResize&&ancestor.removeEventListener(`resize`,update$6)}),cleanupIo?.(),(_resizeObserver2=resizeObserver)==null||_resizeObserver2.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}var offset=offset$1,shift=shift$1,flip=flip$1,arrow$1=arrow$2,computePosition=(reference,floating,options)=>{let cache$1=new Map,mergedOptions={platform,...options},platformWithCache={...mergedOptions.platform,_c:cache$1};return computePosition$1(reference,floating,{...mergedOptions,platform:platformWithCache})};function isComponentPublicInstance(target){return typeof target==`object`&&!!target&&`$el`in target}function unwrapElement(target){if(isComponentPublicInstance(target)){let element=target.$el;return isNode(element)&&getNodeName(element)===`#comment`?null:element}return target}function toValue(source){return typeof source==`function`?source():unref(source)}function arrow(options){return{name:`arrow`,options,fn(args){let element=unwrapElement(toValue(options.element));return element==null?{}:arrow$1({element,padding:options.padding}).fn(args)}}}function getDPR(element){return typeof window>`u`?1:(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){let dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useFloating(reference,floating,options){options===void 0&&(options={});let whileElementsMountedOption=options.whileElementsMounted,openOption=computed(()=>{var _toValue;return toValue(options.open)??!0}),middlewareOption=computed(()=>toValue(options.middleware)),placementOption=computed(()=>{var _toValue2;return toValue(options.placement)??`bottom`}),strategyOption=computed(()=>{var _toValue3;return toValue(options.strategy)??`absolute`}),transformOption=computed(()=>{var _toValue4;return toValue(options.transform)??!0}),referenceElement=computed(()=>unwrapElement(reference.value)),floatingElement=computed(()=>unwrapElement(floating.value)),x=ref(0),y=ref(0),strategy=ref(strategyOption.value),placement=ref(placementOption.value),middlewareData=shallowRef({}),isPositioned=ref(!1),floatingStyles=computed(()=>{let initialStyles={position:strategy.value,left:`0`,top:`0`};if(!floatingElement.value)return initialStyles;let xVal=roundByDPR(floatingElement.value,x.value),yVal=roundByDPR(floatingElement.value,y.value);return transformOption.value?{...initialStyles,transform:`translate(`+xVal+`px, `+yVal+`px)`,...getDPR(floatingElement.value)>=1.5&&{willChange:`transform`}}:{position:strategy.value,left:xVal+`px`,top:yVal+`px`}}),whileElementsMountedCleanup;function update$6(){if(referenceElement.value==null||floatingElement.value==null)return;let open$1=openOption.value;computePosition(referenceElement.value,floatingElement.value,{middleware:middlewareOption.value,placement:placementOption.value,strategy:strategyOption.value}).then(position=>{x.value=position.x,y.value=position.y,strategy.value=position.strategy,placement.value=position.placement,middlewareData.value=position.middlewareData,isPositioned.value=open$1!==!1})}function cleanup(){typeof whileElementsMountedCleanup==`function`&&(whileElementsMountedCleanup(),whileElementsMountedCleanup=void 0)}function attach(){if(cleanup(),whileElementsMountedOption===void 0){update$6();return}if(referenceElement.value!=null&&floatingElement.value!=null){whileElementsMountedCleanup=whileElementsMountedOption(referenceElement.value,floatingElement.value,update$6);return}}function reset$1(){openOption.value||(isPositioned.value=!1)}return watch([middlewareOption,placementOption,strategyOption,openOption],update$6,{flush:`sync`}),watch([referenceElement,floatingElement],attach,{flush:`sync`}),watch(openOption,reset$1,{flush:`sync`}),getCurrentScope()&&onScopeDispose(cleanup),{x:shallowReadonly(x),y:shallowReadonly(y),strategy:shallowReadonly(strategy),placement:shallowReadonly(placement),middlewareData:shallowReadonly(middlewareData),isPositioned:shallowReadonly(isPositioned),floatingStyles,update:update$6}}var ARROW_POSITION={top:`bottom`,right:`left`,bottom:`top`,left:`right`};const usePopover=defineStore(`popover`,()=>{let _counter=ref(0),_currentPopover=ref(null),popovers=ref({}),currentPopover=computed(()=>_currentPopover.value),register=(name,popover,popoverPlacement=void 0,options={})=>{if(popovers.value[name])return;popovers.value[name]={element:popover,target:null,placement:popoverPlacement||`bottom`,show:!1};let popoverInstance=buildPopover(popover,toRef(popovers.value[name],`target`),toRef(popovers.value[name],`placement`),options),scope$1=effectScope(),show$1;scope$1.run(()=>{show$1=computed(()=>popovers.value[name].show)});let dispose$2=()=>{scope$1.stop(),popoverInstance.dispose()};return popovers.value[name].dispose=dispose$2,_counter.value++,{show:show$1,update:popoverInstance.update,placement:popoverInstance.placement}},bind=(popoverName,el,options)=>{let scope$1=effectScope(),hidden,isBound,popoverElement;scope$1.run(()=>{hidden=computed(()=>popovers.value[popoverName]?!popovers.value[popoverName].show:void 0),isBound=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].target===el:void 0),popoverElement=computed(()=>popovers.value[popoverName]?popovers.value[popoverName].element:void 0)});let show$1=()=>{isBound.value||(popovers.value[popoverName].target=el,popovers.value[popoverName].placement=options.placement),popovers.value[popoverName].show=!0},hide$3=()=>{isBound.value&&(popovers.value[popoverName].show=!1)};return{popoverElement,hidden,isBound,show:show$1,hide:hide$3,toggle:(forceValue=void 0)=>{let doShow=forceValue;typeof doShow!=`boolean`&&(doShow=!isBound.value||!popovers.value[popoverName].show),doShow?show$1():hide$3()},isShown:()=>!!popovers.value[popoverName].show,unbind:()=>{scope$1.stop()}}},unregister=name=>{popovers.value[name]&&(popovers.value[name].dispose(),delete popovers.value[name])},isShown=name=>name in popovers.value?popovers.value[name].show:!1,show=(name,target)=>{name in popovers.value&&(popovers.value[name].show=!0,target&&(popovers.value[name].target=target),_currentPopover.value=popovers.value[name])},hide$2=name=>{name in popovers.value&&(popovers.value[name].show=!1,_currentPopover.value=null)};return{popovers,currentPopover,bind,register,unregister,isShown,show,hide:hide$2,toggle:(name,forceValue=void 0)=>{name in popovers.value&&(popovers.value[name].show=typeof forceValue==`boolean`?forceValue:!popovers.value[name].show,_currentPopover.value=popovers.value[name].show?popovers.value[name]:null)},hideAll:(startsWith=void 0)=>{let keys=Object.keys(popovers.value);startsWith&&(keys=keys.filter(name=>name.startsWith(startsWith))),keys.forEach(name=>popovers.value[name].show&&hide$2(name))},getPopover:name=>popovers.value[name],counter:computed(()=>_counter.value)}});function buildPopover(popover,reference,placementArg,options){let{floatingStyles,middlewareData,update:update$6,placement}=useFloating(reference,popover,{placement:placementArg,middleware:buildMiddleware(popover,options),whileElementsMounted:autoUpdate}),watchers$1=[];return watchers$1.push(watch(floatingStyles,async styles=>{popover.value&&await nextTick(()=>{Object.keys(styles).forEach(styleName=>popover.value.style[styleName]=styles[styleName])})})),options.arrow&&watchers$1.push(watch(middlewareData,async middlewareData$1=>{let left=middlewareData$1.arrow&&middlewareData$1.arrow.x!=null?`${middlewareData$1.arrow.x}px`:``,top=middlewareData$1.arrow&&middlewareData$1.arrow.y!=null?`${middlewareData$1.arrow.y}px`:``,arrowSide=ARROW_POSITION[middlewareData$1.offset.placement.split(`-`)[0]];await nextTick(()=>{applyStyles(options.arrow.value,{left,top,right:``,bottom:``,[arrowSide]:`-${options.arrow.value.offsetWidth/2}px`})})})),{placement,update:update$6,dispose:()=>{watchers$1.forEach(unwatch=>unwatch())}}}var arrowOffset=options=>({name:`arrowOffset`,options,fn({...state}){let arrOffset=Math.sqrt(2*options.element.value.offsetWidth**2)/2,side=state.placement.startsWith(`left`)||state.placement.startsWith(`top`)?-1:1;if(state.placement.startsWith(`left`)||state.placement.startsWith(`right`))return{x:state.x+side*arrOffset};if(state.placement.startsWith(`top`)||state.placement.startsWith(`bottom`))return{y:state.y+side*arrOffset}}});function buildMiddleware(popover,options){let middleware=[flip(),shift()],offsetValue=options.offset||0;return middleware.push(offset(offsetValue)),options.arrow&&(middleware.push(arrowOffset({element:options.arrow})),middleware.push(arrow({element:options.arrow}))),middleware}function applyStyles(el,styles){Object.keys(styles).forEach(styleName=>el.style[styleName]=styles[styleName])}var HOVER_SHOW_EVENTS=[`mouseover`,`focus`],HOVER_HIDE_EVENTS=[`mouseleave`,`blur`],TOGGLE_EVENTS=[`click`],BngPopover_default={mounted:setup$1,updated:setup$1,onBeforeUnmount:dispose};function setup$1(el,binding){dispose(el),binding.value&&(setPopoverProperties(el,binding),bindPopover(el),attachListeners(el,binding.modifiers))}function dispose(el){el.__popover&&(el.__popover.unregister&&el.__popover.unbind(),removeListeners(el))}function attachListeners(el,modifiers){el.__popover.showHandler=event=>{el.contains(event.target)&&el.__popover.show()},el.__popover.hideHandler=event=>{el.contains(event.relatedTarget)||el.__popover.hide()},el.__popover.toggleHandler=event=>{el.contains(event.target)&&el.__popover.toggle()},el.__popover.clickOutside=event=>{!el.contains(event.target)&&(!el.__popover.element.value||!el.__popover.element.value.contains(event.target))&&el.__popover.hide()},modifiers.click?(TOGGLE_EVENTS.forEach(eventName=>{el.addEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.addEventListener(eventName,el.__popover.clickOutside)})):(HOVER_SHOW_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.showHandler)),HOVER_HIDE_EVENTS.forEach(eventName=>el.addEventListener(eventName,el.__popover.hideHandler)))}function removeListeners(el){el.__popover.toggleHandler&&(TOGGLE_EVENTS.forEach(eventName=>{el.removeEventListener(eventName,el.__popover.toggleHandler)}),TOGGLE_EVENTS.forEach(eventName=>{window.removeEventListener(eventName,el.__popover.clickOutside)})),el.__popover.showHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.showHandler)),el.__popover.hideHandler&&HOVER_SHOW_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__popover.hideHandler))}function bindPopover(el){let popoverBind=usePopover().bind(el.__popover.name,el,getOptions$1(el));Object.assign(el.__popover,{toggle:popoverBind.toggle,show:popoverBind.show,isShown:popoverBind.isShown,hide:popoverBind.hide,toggle:popoverBind.toggle,hidden:popoverBind.hidden,element:popoverBind.popoverElement,unbind:popoverBind.unbind})}function setPopoverProperties(el,binding){el.__popover={name:getPopoverName(binding),placement:getPlacement(binding)}}var getOptions$1=el=>({placement:el.__popover.placement}),getPlacement=binding=>binding.arg?binding.arg:binding.placement?binding.placement:`left`,getPopoverName=binding=>typeof binding.value==`string`?binding.value:binding.value.name,TIMESPAN_TRANSLATE_ID_PREFIX=`ui.timespan.`,$t=i=>$translate.instant(TIMESPAN_TRANSLATE_ID_PREFIX+i),SECONDS_IN={year:3600*24*365,month:3600*24*30,week:3600*24*7,day:3600*24,hour:3600,minute:60,second:1},MINIMUM_SPAN=Object.entries(SECONDS_IN).slice(-1)[0][1],dateToEpoch=date=>date?typeof date==`string`?/^\d+$/.test(date)?+date:~~(new Date(date).getTime()/1e3):typeof date==`number`?date:0:0;const timeSpan=(date1,date2=null,length=2,useRelativeDescription=!1)=>{let res=`-`;if(date1=dateToEpoch(date1),!date1)return res;if(date2){if(date2=dateToEpoch(date2),!date2)return res}else date2=~~(new Date().getTime()/1e3);let diff,isFuture;return date1>=date2?(diff=date1-date2,isFuture=!0):(diff=date2-date1,isFuture=!1),res=formatTime(diff,length,useRelativeDescription,isFuture),res},formatTime=(seconds,length=2,useRelativeDescription=!1,future=!1)=>{let res=`-`;if(seconds20&&abs%10==1?abs+` `+$t(spanName+`.plural_1_pastfuture`):abs<=4||useRelativeDescription&&abs>20&&abs%10<=4?abs+` `+$t(spanName+`.plural_234`):abs+` `+$t(spanName+`.plural`),cur&&resArr.push(cur),length===1)break;length--,seconds%=spanSeconds}res=``;let resArrLen=resArr.length;return resArr.forEach((bit,i)=>{bit=bit.replace(` `,`\xA0`),i?(i===resArrLen-1?res+=` `+$t(`and`)+` `:res+=$t(`separator`)+` `,res+=bit):res+=ucaseFirst(bit)}),useRelativeDescription&&(res+=` `+$t(future?`future`:`past`)),res};var update=(element,{value})=>{let desc=timeSpan(value,null,1,!0);desc!==`-`&&(element.innerHTML=desc)},BngRelativeTime_default=update;const getScopeProperties=el=>{if(!(!el||!el.hasAttribute(`bng-ui-scope`)))return{scopeId:el.getAttribute(UI_SCOPE_ATTR$1),isScopedNav:el.hasAttribute(SCOPED_NAV_ATTR)}},findParentScope=(el,scopedNavOnly=!1)=>{let parent=el.parentElement;for(;parent;){let scopedNavId=parent.getAttribute(SCOPED_NAV_ATTR);if(scopedNavId)return{scopeId:scopedNavId,element:parent,isScopedNav:!0};if(!scopedNavOnly){let uiScopeId=parent.getAttribute(UI_SCOPE_ATTR$1);if(uiScopeId)return{scopeId:uiScopeId,element:parent,isScopedNav:!1}}parent=parent.parentElement}return null},isNavigable=el=>(!el.hasAttribute(`bng-no-nav`)||el.getAttribute(`bng-no-nav`)===`false`)&&(!el.hasAttribute(`disabled`)||el.getAttribute(`disabled`)===`false`),isDirectChild=(el,child)=>child.parentElement.closest(`[bng-scoped-nav]`)===el,getNavItems=(el,navigableOnly=!0)=>{let matches$1=el.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);return Array.from(matches$1).filter(child=>!isNavigable(child)&&navigableOnly?!1:isDirectChild(el,child))},getPassthroughEvents=el=>{let navItems=getNavItems(el,!1);if(navItems.length===0)return!1;let boundEvents=[];for(let elem of navItems){let uiNavEvents=elem.__BngOnUiNav?Object.values(elem.__BngOnUiNav).map(x=>x.eventNames).flat().filter(name=>!PASSTHROUGH_EXCLUDED_EVENTS.includes(name)):[],isDuplicate=uiNavEvents.some(event=>boundEvents.includes(event));if(uiNavEvents.length===0||isDuplicate){boundEvents=[];break}uiNavEvents.forEach(event=>{boundEvents.includes(event)||boundEvents.push(event)})}return boundEvents};var SCOPED_NAV_OBSERVER_EVENTS={onBeforeScopeActivated:`onBeforeScopeActivated`,onScopeActivated:`onScopeActivated`,onBeforeScopeDeactivated:`onBeforeScopeDeactivated`,onScopeDeactivated:`onScopeDeactivated`,onBeforeScopeSuspended:`onBeforeScopeSuspended`,onScopeSuspended:`onScopeSuspended`,onBeforeScopeResumed:`onBeforeScopeResumed`,onScopeResumed:`onScopeResumed`},scopedNavObservers={};function registerScopedNavObserver(id,observer$2){scopedNavObservers[id]=observer$2}function notifyScopedNavObservers(event,detail){Object.keys(scopedNavObservers).forEach(observerId=>{let callback=scopedNavObservers[observerId][event];if(callback&&typeof callback==`function`)try{callback(detail)}catch(error){logger_default.error(`Error in scoped nav observer ${observerId} for event ${event}`,error)}})}const useScopedNav=defineStore(`scopedNav2`,()=>{let scopeStack=ref([]),activateScope=(scopeId,element,options={activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!1})=>{notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeActivated,{scopeId,element,options});let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId),existingScope=scopeIndex===-1?void 0:scopeStack.value[scopeIndex];if(existingScope&&existingScope.activationType===options.activationType){logger_default.warn(`Scope ${scopeId} already active. Ignoring...`),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});return}existingScope?existingScope.activationType=options.activationType:(scopeStack.value.push({scopeId,element,...options}),scopeIndex=scopeStack.value.length-1),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeActivated,{scopeId,element,options});let scopeData={scopeId,...options},{type}=element[SCOPED_NAV_PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.popover||options.suspendParentScopes){let referenceElement=element;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop&&pop.target&&(referenceElement=pop.target)}if(!referenceElement){logger_default.warn(`Unable to find popover's target element. Skipping suspending parent scopes...`);return}let parentScopes=scopeStack.value.slice(0,scopeIndex);for(let i=parentScopes.length-1;i>=0;i--){let scope$1=parentScopes[i];referenceElement&&scope$1.element.contains(referenceElement)?suspendScope(scope$1.scopeId,scopeData):referenceElement&&!scope$1.element.contains(referenceElement)&&deactivateScope(scope$1.scopeId)}}return getUINavServiceInstance().setActiveScope(scopeId),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.activate,{detail:scopeData})),scopeData},deactivateScope=(scopeId,settings$1={resumePrevious:!1})=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeDeactivated,{scopeId,settings:settings$1});let scopeData=scopeStack.value[scopeIndex],element=scopeData.element,{type}=element[SCOPED_NAV_PROPERTY_NAME];if(scopeStack.value=scopeStack.value.slice(0,scopeIndex),element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.deactivate,{detail:{scopeId,settings:settings$1,...scopeData}})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeDeactivated,{scopeId,settings:settings$1}),!settings$1.resumePrevious){getUINavServiceInstance().setActiveScope(null);return}let parentScope;if(type===SCOPED_NAV_TYPES.popover){let popover=usePopover(),popoverName=element.getAttribute(`data-bng-popover-name`),pop=popover.getPopover(popoverName);pop?parentScope=findParentScope(pop.target,!0):logger_default.warn(`Unable to find popover's target element. Skipping resume...`)}else parentScope=findParentScope(element,!0);parentScope?getScopeById(parentScope.scopeId)?resumeScope(parentScope.scopeId):activateScope(parentScope.scopeId,parentScope.element):getUINavServiceInstance().setActiveScope(null)},resumeScope=scopeId=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeResumed,{scopeId});for(let i=scopeStack.value.length-1;i>scopeIndex;i--){let scope$1=scopeStack.value[i];deactivateScope(scope$1.scopeId)}let scopeData=scopeStack.value[scopeIndex];return scopeData.activationType=SCOPED_NAV_STATES.active,getUINavServiceInstance().setActiveScope(scopeData.scopeId),scopeData.element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.resume,{detail:scopeData})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeResumed,{scopeId}),scopeData},suspendScope=(scopeId,newScope)=>{let scopeIndex=scopeStack.value.findIndex(s=>s.scopeId===scopeId);if(scopeIndex===-1){logger_default.warn(`Scope ${scopeId} not found. Ignoring...`);return}notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onBeforeScopeSuspended,{scopeId,newScope});let scopeData=scopeStack.value[scopeIndex];if(scopeData.activationType===SCOPED_NAV_STATES.suspended){logger_default.warn(`Scope ${scopeId} already suspended. Ignoring...`);return}scopeData.activationType=SCOPED_NAV_STATES.suspended;let element=scopeData.element,payload={scopeId,newScope,...scopeData};return element.dispatchEvent(new CustomEvent(SCOPED_NAV_EVENTS.suspend,{detail:payload})),notifyScopedNavObservers(SCOPED_NAV_OBSERVER_EVENTS.onScopeSuspended,{scopeId,newScope}),scopeData},currentScope=()=>scopeStack.value[scopeStack.value.length-1],getScopeById=scopeId=>scopeStack.value.find(s=>s.scopeId===scopeId);return{activateScope,deactivateScope,resumeScope,suspendScope,getScopeById,currentScope,isCurrentScope:scopeId=>{let scope$1=currentScope();return scope$1&&scope$1.scopeId===scopeId},isActiveScope:scopeId=>{let current=currentScope();if(!current)return!1;if(current.scopeId===scopeId)return!0;if(current.activationType===SCOPED_NAV_STATES.partial&&scopeStack.value.length>2){let parentScope=scopeStack.value[scopeStack.value.length-2];if(parentScope.scopeId===scopeId&&parentScope.activationType===SCOPED_NAV_STATES.active)return!0}return!1},getScopes:()=>scopeStack.value}});var focusDebounceTimer=null,pendingFocusAction=null,focusListenersInitialized=!1,isActivatingScope=!1,isDeactivatingScope=!1,FOCUS_DEBOUNCE_TIME=200,focusManagerId=`focusManager`,clearFocusDebounce=()=>{focusDebounceTimer&&=(clearTimeout(focusDebounceTimer),null),pendingFocusAction=null},debouncedFocusAction=action=>{clearFocusDebounce(),pendingFocusAction=action,focusDebounceTimer=setTimeout(()=>{pendingFocusAction&&=(pendingFocusAction(),null),focusDebounceTimer=null},FOCUS_DEBOUNCE_TIME)};function useFocusManager(){let scopedNav=useScopedNav(),onUINavFocus=e=>{let{target,relatedTarget}=e.detail;if(isWithinDashmenu(target)||isWithinPopup(target))return;let targetScope=findParentScope(target,!0),scopeElement=targetScope&&targetScope.isScopedNav?targetScope.element:null,scopedNavProps=scopeElement&&scopeElement._bngScopedNav?scopeElement[SCOPED_NAV_PROPERTY_NAME]:null;if(scopedNavProps&&(scopeElement[SCOPED_NAV_PROPERTY_NAME].lastActiveElement=target),isActivatingScope||isDeactivatingScope||shouldSkipFocusHandling(scopedNavProps)){clearFocusDebounce();return}debouncedFocusAction(()=>handleFocusAction(target,targetScope,scopeElement,scopedNav))},onUINavBlur=e=>{let{target}=e.detail,scopeProperties=getScopeProperties(target);shouldHandleBlur(scopeProperties,scopedNav.currentScope())&&(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!1,scopedNav.deactivateScope(scopeProperties.scopeId,{resumePrevious:!0}))};function addFocusListeners(){focusListenersInitialized||=(document.addEventListener(`uinav-focus`,onUINavFocus),document.addEventListener(`uinav-blur`,onUINavBlur),registerScopedNavObserver(focusManagerId,{onBeforeScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!0},onScopeActivated:()=>{clearFocusDebounce(),isActivatingScope=!1},onBeforeScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!0},onScopeDeactivated:()=>{clearFocusDebounce(),isDeactivatingScope=!1}}),!0)}function removeFocusListeners(){focusListenersInitialized&&=(document.removeEventListener(`uinav-focus`,onUINavFocus),document.removeEventListener(`uinav-blur`,onUINavBlur),!1)}function setup$3(){addFocusListeners()}function dispose$2(){removeFocusListeners()}return onMounted(()=>{setup$3()}),onBeforeUnmount(()=>{dispose$2()}),{setup:setup$3,dispose:dispose$2}}function isWithinDashmenu(target){return document.getElementById(`dashmenu`)?.contains(target)}function isWithinPopup(target){return!!target.closest(`dialog`)}function shouldSkipFocusHandling(scopedNavProps){return scopedNavProps?.type===SCOPED_NAV_TYPES.popover}function shouldHandleBlur(scopeProperties,currScope){return scopeProperties?.isScopedNav&&currScope?.scopeId===scopeProperties.scopeId&&currScope?.activationType===SCOPED_NAV_STATES.partial}function handleFocusAction(target,targetScope,scopeElement,scopedNavStore){if(!document.contains(target)&&!document.contains(scopeElement))return;let activeScope=scopedNavStore.currentScope();if(activeScope?.element===target)return;let existingScope,scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===scopeElement){existingScope=scope$1;break}}if(existingScope&&activeScope&&existingScope.scopeId!==activeScope.scopeId){scopedNavStore.resumeScope(existingScope.scopeId);return}scopes=scopedNavStore.getScopes();for(let i=scopes.length-1;i>=0;i--){let scope$1=scopes[i];if(scope$1.element===target||scope$1.element.contains(target)||scopeElement===scope$1.element||scope$1.element.contains(scopeElement))break;scopedNavStore.deactivateScope(scope$1.scopeId)}if(scopes=scopedNavStore.getScopes(),targetScope&&targetScope.isScopedNav){let lastScope=scopes.length>0?scopes[scopes.length-1]:null;lastScope&&activeScope&&activeScope.scopeId===lastScope.scopeId&&targetScope.scopeId!==lastScope.scopeId&&lastScope.activationType!==SCOPED_NAV_STATES.suspended&&scopedNavStore.suspendScope(lastScope.scopeId,{scopeId:targetScope.scopeId,scopeElement}),(!activeScope||activeScope.scopeId!==targetScope.scopeId)&&scopeElement._bngScopedNav.canActivate()&&scopedNavStore.activateScope(targetScope.scopeId,scopeElement)}if(target.hasAttribute(`bng-scoped-nav`)){let allowPartialActivation=target[SCOPED_NAV_PROPERTY_NAME].passthroughEnabled,canActivate=target[SCOPED_NAV_PROPERTY_NAME].canActivate();if(target[SCOPED_NAV_PROPERTY_NAME].passthroughActive=!0,allowPartialActivation&&canActivate){let partialScope=getScopeProperties(target);scopedNavStore.activateScope(partialScope.scopeId,target,{activationType:SCOPED_NAV_STATES.partial})}}}var PROPERTY_NAME=`_bngScopedNav`,ATTR_NAME=`bng-scoped-nav`,AUTOFOCUS_ATTR=`bng-scoped-nav-autofocus`,UI_SCOPE_ATTR=`bng-ui-scope`,NAV_ITEM_ATTR=`bng-nav-item`,BNG_ON_UI_NAV_ATTR=`__BngOnUiNav`,DEFAULT_AUTO_FOCUS_DELAY=100,EVENTS_UINAV_MAP={activate:[UI_EVENTS.ok],deactivate:[UI_EVENTS.back],navigation:[...UI_EVENT_GROUPS.focusMove,...UI_EVENT_GROUPS.focusMoveScalar]},NAV_EVENTS={activate:`activate`,deactivate:`deactivate`,suspend:`suspend`,resume:`resume`};const ACTIONS_ON_SUSPEND={allowNavigationLastNavItem:`allowNavigationLastNavItem`,allowNavigationByAttribute:`allowNavigationByAttribute`,disableNavigation:`disableNavigation`};var BngScopedNav_default={beforeMount,mounted,updated,beforeUnmount,unmounted},getDefaultOptions=()=>({type:SCOPED_NAV_TYPES.normal,activateOnMount:!1,actionsOnSuspend:[ACTIONS_ON_SUSPEND.disableNavigation],bubbleWhitelistEvents:[],bubbleBlacklistEvents:[],forcePassthroughEvents:[],canActivate:()=>!0,canDeactivate:()=>!0,autoFocusDelay:DEFAULT_AUTO_FOCUS_DELAY}),canBubbleEventInternal=(el,e)=>{let{bubbleWhitelistEvents,canBubbleEvent}=el[PROPERTY_NAME];return canBubbleEvent&&typeof canBubbleEvent==`function`?canBubbleEvent(e):bubbleWhitelistEvents&&Array.isArray(bubbleWhitelistEvents)&&bubbleWhitelistEvents.length>0?bubbleWhitelistEvents.includes(e.detail.name):!1},shouldBubbleToNextScope=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME],isActive=currentScope&¤tScope.scopeId===scopeId,isPartial=isActive&¤tScope.activationType===SCOPED_NAV_STATES.partial,isContainer=type===SCOPED_NAV_TYPES.container,isInactiveAndFocused=document.activeElement===el&&!isActive;return!currentScope||isInactiveAndFocused||canBubbleEventInternal(el,e)||isPartial||isContainer},getOptions=(el,binding,vnode)=>{let options={...getDefaultOptions(),...binding.value};if(!Object.values(SCOPED_NAV_TYPES).includes(options.type)){console.error(`Invalid scoped nav type: ${options.type}`);return}return options},applyOptions=(el,options)=>{let attributes={};switch(options.type){case SCOPED_NAV_TYPES.normal:attributes[NAV_ITEM_ATTR]=``,attributes[NO_CHILD_NAV_ATTR]=`true`;break;case SCOPED_NAV_TYPES.nonav:attributes[NO_NAV_ATTR]=`true`,attributes[NO_CHILD_NAV_ATTR]=`true`;break}Object.keys(attributes).forEach(attr=>el.setAttribute(attr,attributes[attr]))},findAutoFocusItem=navItems=>navItems.find(item=>item.hasAttribute(AUTOFOCUS_ATTR)&&item.getAttribute(AUTOFOCUS_ATTR)!==`false`),getAutoFocusItem=el=>findAutoFocusItem(getNavItems(el)),getFirstOrDefaultNavItem=el=>{let navItems,isAutoFocusItem=!1,getNavItems$1=()=>navItems||=getNavItems(el),getLastActive=()=>{let elm=el[PROPERTY_NAME].lastActiveElement;return elm&&!document.contains(elm)?null:elm},getAutoFocus=()=>{let elm=findAutoFocusItem(getNavItems$1());return elm&&!isNavigable(elm)?null:(isAutoFocusItem=!!elm,elm)},getFirst=()=>getNavItems$1()[0],sequence=[getLastActive,getAutoFocus];el[PROPERTY_NAME].preferAutoFocus&&sequence.reverse(),sequence.push(getFirst);for(let func of sequence){let elm=func();if(elm)return{focusItem:elm,isAutoFocusItem}}return{focusItem:null,isAutoFocusItem:!1}},setEnabledNavigation=(el,enabled,settings$1={applyToChildItems:!1,filterElements:void 0})=>{let{type}=el[PROPERTY_NAME];if(type===SCOPED_NAV_TYPES.nonav){logger_default.warn(`Cannot toggle navigation settings for nonav type`,el,enabled,type);return}settings$1.applyToChildItems?getNavItems(el,!1).forEach(item=>{if(!(settings$1.filterElements&&settings$1.filterElements.includes(item))){if(!item[PROPERTY_NAME]){let currentValue=item.hasAttribute(`bng-no-nav`)?item.getAttribute(NO_NAV_ATTR):void 0;item[PROPERTY_NAME]={originalNoNav:currentValue,hadOriginalNoNav:currentValue!==void 0}}enabled?(item[PROPERTY_NAME].hadOriginalNoNav?item.setAttribute(NO_NAV_ATTR,item[PROPERTY_NAME].originalNoNav):item.removeAttribute(NO_NAV_ATTR),item[PROPERTY_NAME].noNavSetByDirective=!1):(!item[PROPERTY_NAME].hadOriginalNoNav||item[PROPERTY_NAME].originalNoNav!==`true`)&&(item.setAttribute(NO_NAV_ATTR,`true`),item[PROPERTY_NAME].noNavSetByDirective=!0)}}):enabled?(el.removeAttribute(NO_CHILD_NAV_ATTR),type===SCOPED_NAV_TYPES.normal&&el.setAttribute(NO_NAV_ATTR,`true`)):(el.setAttribute(NO_CHILD_NAV_ATTR,`true`),type===SCOPED_NAV_TYPES.normal&&el.removeAttribute(NO_NAV_ATTR))},focusFirstOrDefaultNavItem=el=>{let{autoFocusDelay}=el[PROPERTY_NAME];nextTick(()=>{setTimeout(()=>{let{focusItem,isAutoFocusItem}=getFirstOrDefaultNavItem(el);focusItem&&setFocusExternal(focusItem,!0,isAutoFocusItem)},autoFocusDelay)})},ensureFocusOrFocusDefault=el=>{document.activeElement&&isDirectChild(el,document.activeElement)?ensureFocus(document.activeElement,!0):focusFirstOrDefaultNavItem(el)};function beforeMount(el,binding,vnode){let options=getOptions(el,binding,vnode);if(!options)return;let scopeId=options.scopeId||uniqueId(`scoped-nav`);el[PROPERTY_NAME]={scopeId,...options},el[PROPERTY_NAME].shouldBubbleEvent=e=>shouldBubbleToNextScope(el,e),el.setAttribute(ATTR_NAME,scopeId),el.setAttribute(UI_SCOPE_ATTR,scopeId),applyOptions(el,options)}function mounted(el,binding,vnode){addUINavEventListeners(el,binding,vnode),addScopedNavEventListeners(el);let scopedNav=useScopedNav(),options=getOptions(el,binding,vnode);options.type===SCOPED_NAV_TYPES.normal?configurePartialActivation(el):options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),options.activateOnMount&&nextTick(()=>scopedNav.activateScope(el[PROPERTY_NAME].scopeId,el))}var handleDefaultUpdate=(el,binding,vnode)=>{let activeScope=useScopedNav().currentScope(),{scopeId,type}=el[PROPERTY_NAME];!activeScope||activeScope.scopeId!==scopeId||activeScope.activationType!==SCOPED_NAV_STATES.active||ensureFocusOrFocusDefault(el)};function updated(el,binding,vnode){let options=getOptions(el,binding,vnode),{scopeId}=el[PROPERTY_NAME],scopedNav=useScopedNav();if(options.activated===!0&&!scopedNav.isActiveScope(scopeId))if(scopedNav.getScopeById(scopeId)){let popover=usePopover();if(Object.values(popover.popovers).filter(x=>x.show===!0).length>0)return;scopedNav.resumeScope(scopeId,el)}else scopedNav.activateScope(scopeId,el,{activationType:SCOPED_NAV_STATES.active,suspendParentScopes:!0});else options.activated===!1&&scopedNav.isActiveScope(scopeId)?scopedNav.deactivateScope(scopeId,{resumePrevious:!0}):!scopedNav.isActiveScope(scopeId)&&options.type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1);nextTick(()=>{let activeScope=scopedNav.currentScope();activeScope&&activeScope.scopeId===scopeId&&handleDefaultUpdate(el,binding,vnode)})}function beforeUnmount(el,binding,vnode){removeScopedNavEventListeners(el);let scopedNav=useScopedNav();if(scopedNav.getScopeById(el[PROPERTY_NAME].scopeId)){let{type}=el[PROPERTY_NAME];scopedNav.deactivateScope(el[PROPERTY_NAME].scopeId,{resumePrevious:type===SCOPED_NAV_TYPES.popover}),el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:{force:!0,reason:`unmounted`}}))}}function unmounted(el,binding,vnode){}var handlePartialActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!0},handleNormalActivation=(el,event)=>{el[PROPERTY_NAME].forceBubble=!1,nextTick(()=>{setEnabledNavigation(el,!0),(!document.activeElement||el===document.activeElement||!el.contains(document.activeElement))&&focusFirstOrDefaultNavItem(el)})},configurePartialActivation=el=>{let passthroughEvents=getPassthroughEvents(el);el[PROPERTY_NAME].passthroughEnabled=passthroughEvents.length>0,el[PROPERTY_NAME].passthroughEvents=passthroughEvents},configureContainer=(el,activated)=>{el[PROPERTY_NAME].containerSetup&&el[PROPERTY_NAME].containerSetup.cancel(),el[PROPERTY_NAME].containerSetup=debounce(()=>{let autoFocusItem=getAutoFocusItem(el);autoFocusItem&&setEnabledNavigation(el,activated,{applyToChildItems:!0,filterElements:[autoFocusItem]})},100),el[PROPERTY_NAME].containerSetup()},handleContainerActivation=(el,event)=>{configureContainer(el,!0)},handleNoNavActivation=(el,event)=>{},onActivate=(el,event)=>{let{type}=el[PROPERTY_NAME],{activationType}=event.detail;activationType===SCOPED_NAV_STATES.partial?handlePartialActivation(el,event):type===SCOPED_NAV_TYPES.normal?handleNormalActivation(el,event):type===SCOPED_NAV_TYPES.container?handleContainerActivation(el,event):SCOPED_NAV_TYPES.nonav,el.dispatchEvent(new CustomEvent(NAV_EVENTS.activate,{detail:event.detail}))},onDeactivate=(el,event)=>{let{type}=el[PROPERTY_NAME];type===SCOPED_NAV_TYPES.normal&&event.detail.activationType===SCOPED_NAV_STATES.active?setEnabledNavigation(el,!1):type===SCOPED_NAV_TYPES.container&&configureContainer(el,!1),el[PROPERTY_NAME].forceBubble=!1,el.dispatchEvent(new CustomEvent(NAV_EVENTS.deactivate,{detail:event.detail}))},onSuspend=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!1,{applyToChildItems:!0,filterElements})},onResume=(el,event)=>{let{actionsOnSuspend,type}=el[PROPERTY_NAME],filterElements=[];if(actionsOnSuspend.includes(ACTIONS_ON_SUSPEND.allowNavigationLastNavItem)){let lastActiveElement=el[PROPERTY_NAME].lastActiveElement;lastActiveElement&&document.contains(lastActiveElement)&&filterElements.push(lastActiveElement)}setEnabledNavigation(el,!0,{applyToChildItems:!0,filterElements}),ensureFocusOrFocusDefault(el)};function addScopedNavEventListeners(el){let eventHandlers={[SCOPED_NAV_EVENTS.activate]:event=>onActivate(el,event),[SCOPED_NAV_EVENTS.deactivate]:event=>onDeactivate(el,event),[SCOPED_NAV_EVENTS.suspend]:event=>onSuspend(el,event),[SCOPED_NAV_EVENTS.resume]:event=>onResume(el,event)};Object.keys(eventHandlers).forEach(eventName=>{el[PROPERTY_NAME].scopedNavListeners||(el[PROPERTY_NAME].scopedNavListeners={}),el.addEventListener(eventName,eventHandlers[eventName]),el[PROPERTY_NAME].scopedNavListeners[eventName]=eventHandlers[eventName]})}function removeScopedNavEventListeners(el){!el||!el[PROPERTY_NAME]||!el[PROPERTY_NAME].scopedNavListeners||Object.keys(el[PROPERTY_NAME].scopedNavListeners).forEach(eventName=>{el.removeEventListener(eventName,el[PROPERTY_NAME].scopedNavListeners[eventName]),delete el[PROPERTY_NAME].scopedNavListeners[eventName]})}var allowsNavigation=el=>{let{type}=el[PROPERTY_NAME];return[SCOPED_NAV_TYPES.normal,SCOPED_NAV_TYPES.container,SCOPED_NAV_TYPES.popover].includes(type)},processNavigationEvent=(el,e)=>{let currentScope=useScopedNav().currentScope(),{scopeId}=el[PROPERTY_NAME];if(!allowsNavigation(el))return!1;document.activeElement===el&¤tScope.scopeId===scopeId?focusFirstOrDefaultNavItem(el):handleUINavEvent(e,el)},isNavigationEvent=e=>UI_EVENT_GROUPS.navigation.includes(e.detail.name),getUINavEventsByEl=el=>{let uiNavEvents=el[BNG_ON_UI_NAV_ATTR]?Object.values(el[BNG_ON_UI_NAV_ATTR]).map(x=>x.eventNames).flat():[],boundEvents=[];return uiNavEvents.forEach(ev=>{boundEvents.includes(ev)||boundEvents.push(ev)}),boundEvents},hasBoundEvent=(el,eventName)=>{let boundEvents=getUINavEventsByEl(el);return boundEvents&&boundEvents.length>0&&boundEvents.includes(eventName)},isUINavEventBoundToChild=(el,e)=>{let{scopeId}=el[PROPERTY_NAME],currentScope=useScopedNav().currentScope();return currentScope&¤tScope.scopeId===scopeId&&e.target!==el&&el.contains(e.target)&&e.target===document.activeElement&&hasBoundEvent(e.target,e.detail.name)},generalHandler=(el,e)=>{let shouldBubble=!1;return isUINavEventBoundToChild(el,e)&&!e.target.hasAttribute(ATTR_NAME)||(shouldBubbleToNextScope(el,e)?shouldBubble=!0:isNavigationEvent(e)&&processNavigationEvent(el,e)),shouldBubble},processOkChildHandler=(el,e)=>{isUINavEventBoundToChild(el,e)||(handleUINavEvent(e,e.target),e.detail.sendToCrossfire=!1)},okHandler=(el,e)=>{if(e.detail.value!==1)return shouldBubbleToNextScope(el,e);let scopedNav=useScopedNav(),scopeId=el[PROPERTY_NAME].scopeId,currentScope=scopedNav.currentScope();return currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active&&(document.activeElement&&isDirectChild(el,document.activeElement)||e.target&&isDirectChild(el,e.target))?processOkChildHandler(el,e):el[PROPERTY_NAME].canActivate()&&el[PROPERTY_NAME].type===SCOPED_NAV_TYPES.normal&&document.activeElement===el&&scopedNav.activateScope(scopeId,el),shouldBubbleToNextScope(el,e)},backHandler=(el,e)=>{if(e.detail.value!==1)return;let scopedNav=useScopedNav(),{scopeId,type,canDeactivate}=el[PROPERTY_NAME],currentScope=scopedNav.currentScope();if(currentScope&¤tScope.scopeId===scopeId&¤tScope.activationType===SCOPED_NAV_STATES.active)canDeactivate()&&(scopedNav.deactivateScope(scopeId,{resumePrevious:!0,executingScope:scopeId}),type===SCOPED_NAV_TYPES.normal&&nextTick(()=>setFocusExternal(el)));else if(e.target!==el&&isDirectChild(el,e.target))return!1;else return!0},uiNavEventsHandler=(el,e)=>{let uiNavEvent=e.detail.name;return EVENTS_UINAV_MAP.activate.includes(uiNavEvent)?okHandler(el,e):EVENTS_UINAV_MAP.deactivate.includes(uiNavEvent)?backHandler(el,e):generalHandler(el,e)};function addUINavEventListeners(el,binding,vnode){let{bubbleWhitelistEvents}=el[PROPERTY_NAME],generalUINavBinding={arg:[...EVENTS_UINAV_MAP.activate,...EVENTS_UINAV_MAP.deactivate,...EVENTS_UINAV_MAP.navigation].join(`,`),value:e=>uiNavEventsHandler(el,e)};BngOnUiNav_default.mounted(el,generalUINavBinding,vnode)}var ID=`__bngSound`,ID_STOP=`__bngSoundStop`,events$1={click:`click`,dblclick:`dblclick`,focus:`focus`,mouseenter:`mouseenter`};function handler(ev){let el=ev.currentTarget;if(el&&(el[ID]&&events$1[ev.type]&&Lua_default.ui_audio.playEventSound(el[ID],events$1[ev.type]),el[ID_STOP]))for(let event in delete el[ID_STOP],delete el[ID],events$1)el.removeEventListener(event,handler)}var BngSoundClass_default={mounted:(el,binding)=>{delete el[ID_STOP],el[ID]=binding.value,nextTick(()=>{for(let event in events$1)el.addEventListener(event,handler)})},updated:(el,binding)=>{el[ID]=binding.value},unmounted:el=>{el[ID_STOP]=!0}},marker=`__BNG_SD_INPUT`,inputTypes={singleLine:0,multiLine:1};function bindToInputs(elements){let inputs=Array.isArray(elements)?elements:[elements];for(let input of inputs){if(marker in input)continue;input[marker]=!0;let type,tag=input.tagName.toLowerCase();if(tag===`textarea`)type=inputTypes.multiLine;else if(tag===`input`&&[`text`,`number`,`password`,`search`].includes(input.type.toLowerCase()))type=inputTypes.singleLine;else continue;input.addEventListener(`focus`,()=>{let rect=input.getBoundingClientRect();console.log(`SteamDeck input focus:`,type,rect),Lua_default.Steam.showFloatingGamepadTextInput(type,rect.left,rect.top,rect.width,rect.height)})}}async function useSteamDeckInput(inputs){if(!inputs)throw Error(`inputs must be specified (ref, refs, element, elements)`);(await useSettingsAsync()).values.runningOnSteamDeck&&(isRef(inputs)?watch(inputs,bindToInputs,{immediate:!0}):bindToInputs(inputs))}var bridge$1,focused=!1,elms={},elmid=`__BNG_TEXT_INPUT`,focus=id=>async()=>{elms[id].active=!0,focused||=(await bridge$1.lua.setCEFTyping(!0),!0)},blur=id=>async()=>{elms[id].active=!1,focused&&(focused=Object.values(elms).some(e=>e.active),focused||await bridge$1.lua.setCEFTyping(!1))},BngTextInput_default={mounted(el){bridge$1||(bridge$1=useBridge(),bridge$1.events.on(`CEFTypingLostFocus`,()=>focused&&document.activeElement.blur()));let id=el[elmid]||(el[elmid]=uniqueId());elms[id]={el,active:!1,onFocus:focus(id),onBlur:blur(id)},el.addEventListener(`focus`,elms[id].onFocus),el.addEventListener(`blur`,elms[id].onBlur),useSteamDeckInput(el)},beforeUnmount(el){let id=el[elmid];elms[id]&&(el.removeEventListener(`focus`,elms[id].onFocus),el.removeEventListener(`blur`,elms[id].onBlur),elms[id].onBlur(),delete elms[id])}},DEFAULT_POSITION=`left`,TOOLTIP_ATTR_NAME=`data-bng-tooltip`,CONTENT_ATTR_NAME=`data-bng-tooltip-content`,ARROW_ATTR_NAME=`data-bng-tooltip-arrow`,SHOW_TOOLTIP_EVENTS=[`mouseover`,`focusin`],HIDE_TOOLTIP_EVENTS=[`mouseout`,`focusout`],DATA_PROP=`__bngTooltip`,POPOVER_CONTAINER=`.popover-container`,BngTooltip_default={beforeMount(el){initTooltipData(el)},mounted(el,binding,vnode){setupBindings(el,binding),setupTooltip(el),setListeners(el)},beforeUpdate(el,binding){setupBindings(el,binding),el[DATA_PROP].text===void 0?removeTooltip(el):updateTooltipElement(el)},updated(el){let data=el[DATA_PROP];data.update&&requestAnimationFrame(()=>data.update())},beforeUnmount(el){SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__showTooltip)),HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.removeEventListener(eventName,el.__hideTooltip));let data=el[DATA_PROP];data.dispose&&data.dispose(),removeTooltip(el)}};function setListeners(el){let data=el[DATA_PROP];data.showTooltip||(data.showTooltip=event=>{data.hideDelay&&=(clearTimeout(data.hideDelay),null),data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),el.contains(event.target)&&!data.tooltipElRef.value&&queueTooltipUpdate(el,!0)},SHOW_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.showTooltip,!0))),data.hideTooltip||(data.hideTooltip=event=>{data.tooltipAnimationFrame&&=(cancelAnimationFrame(data.tooltipAnimationFrame),null),!el.contains(event.relatedTarget)&&data.tooltipElRef.value&&queueTooltipUpdate(el,!1)},HIDE_TOOLTIP_EVENTS.forEach(eventName=>el.addEventListener(eventName,data.hideTooltip,!0)))}function setupBindings(el,binding){if(binding.value){let bindingValues=getBindings(binding);el[DATA_PROP].text=bindingValues.text,el[DATA_PROP].hideDelayTime=bindingValues.hideDelay,el[DATA_PROP].position=bindingValues.position,el[DATA_PROP].isBBCode=bindingValues.isBBCode,el[DATA_PROP].style=bindingValues.style}else resetTooltipData(el)}function queueTooltipUpdate(el,shouldShow){let data=el[DATA_PROP];data.tooltipAnimationFrame&&cancelAnimationFrame(data.tooltipAnimationFrame),data.pendingTooltipState=shouldShow,data.tooltipAnimationFrame=requestAnimationFrame(()=>{data.pendingTooltipState?showTooltip(el):hideTooltip(el),data.tooltipAnimationFrame=null,data.pendingTooltipState=null})}function showTooltip(el){let data=el[DATA_PROP];data.text&&(addTooltip(el),usePopover().show(data.popoverName,el))}function hideTooltip(el){let data=el[DATA_PROP],hideFn=()=>{removeTooltip(el)};data.hideDelayTime&&typeof data.hideDelayTime==`number`&&data.hideDelayTime>0?data.hideDelay=setTimeout(()=>{hideFn(),data.hideDelay=null},data.hideDelayTime):hideFn()}function setupTooltip(el){let data=el[DATA_PROP],popover=usePopover(),popoverInstance=popover.register(data.popoverName,data.tooltipElRef,data.position,{arrow:data.arrowElRef,offset:4});if(!popoverInstance){console.error(`Failed to register tooltip`);return}el[DATA_PROP].update=popoverInstance.update,el[DATA_PROP].dispose=()=>popover.unregister(data.popoverName),popover.bind(data.popoverName,el,{placement:data.position})}function updateTooltipElement(el){if(el[DATA_PROP].tooltipElRef.value&&el[DATA_PROP].tooltipElRef.value){let updatedContent=parseText(el[DATA_PROP].text,el[DATA_PROP].isBBCode),spanEl=el[DATA_PROP].tooltipElRef.value.querySelector(`span`);spanEl.innerHTML=updatedContent}}function addTooltip(el){let data=el[DATA_PROP];data.tooltipElRef.value=createTooltip(data);let popoverContainer=document.querySelector(POPOVER_CONTAINER);popoverContainer||=(console.warn(`Popover container not found, using parent element`),el.parentElement),el[DATA_PROP].arrowElRef.value=createArrow(),data.tooltipElRef.value.appendChild(el[DATA_PROP].arrowElRef.value),popoverContainer.appendChild(data.tooltipElRef.value)}function removeTooltip(el){let data=el[DATA_PROP];usePopover().hide(data.popoverName),data.tooltipElRef.value&&(data.tooltipElRef.value.remove(),data.tooltipElRef.value=null),data.update&&data.update()}function createTooltip(data){let container=document.createElement(`div`);return data.style&&Object.keys(data.style).forEach(key=>container.style.setProperty(key,data.style[key])),container.setAttribute(TOOLTIP_ATTR_NAME,``),container.appendChild(createContent(data.text,data.isBBCode)),container}function createContent(text,isBBCode){let content=document.createElement(`span`);return Object.assign(content.style,{}),content.innerHTML=parseText(text,isBBCode),content.setAttribute(CONTENT_ATTR_NAME,``),content}function createArrow(){let arrow$3=document.createElement(`span`);return Object.assign(arrow$3.style,{}),arrow$3.setAttribute(ARROW_ATTR_NAME,``),arrow$3}function parseText(text,isBBCode){return isBBCode?parse$1(text):text}var getBindings=binding=>{let position=binding.arg?binding.arg:DEFAULT_POSITION,hideDelay,text,isBBCode=!1,style={};return typeof binding.value==`object`?(hideDelay=binding.value?.hideDelay||0,text=binding.value?.text||void 0,isBBCode=binding.value?.isBBCode||!1,style=binding.value?.style||{}):text=binding.value,{text,position,hideDelay,isBBCode,style}};function initTooltipData(el){el[DATA_PROP]={popoverName:uniqueId(`bng-tooltip`),tooltipElRef:ref(null),arrowElRef:ref(null)},resetTooltipData(el)}function resetTooltipData(el){el[DATA_PROP].text=void 0,el[DATA_PROP].style={},el[DATA_PROP].isBBCode=!1,el[DATA_PROP].hideDelayTime=void 0,el[DATA_PROP].position=void 0,el[DATA_PROP].hideDelay=null,el[DATA_PROP].tooltipAnimationFrame=null}var reg=(elm,{value})=>nextTick(()=>elm&&wantsFocus(elm,value)),BngUiNavFocus_default={mounted:reg,updated:reg,beforeUnmount:unwantsFocus},registry,procEventNames=eventNames=>eventNames.split(`,`).map(name=>name.trim()).filter(Boolean),BngUiNavLabel_default={mounted(el,{arg:eventNames,value:label}){if(!eventNames){console.warn(`Usage: v-bng-ui-nav-label:back,menu="'Back'"`);return}registry||=useUiNavLabel(),label&&(eventNames=procEventNames(eventNames),registry.registerLabel(el,eventNames,label))},updated(el,{arg:eventNames,value:label}){eventNames&&(eventNames=procEventNames(eventNames),label?registry.registerLabel(el,eventNames,label):registry.clearLabels(el,eventNames))},beforeUnmount(el){let events$3=registry.getElementEvents(el);events$3.length>0&®istry.clearLabels(el,events$3)}},SCROLL_PROP=`__bngUiNavScroll`;function enableScroll(id,el){let tracker=useUINavTracker();tracker.addEvent(SCROLL_EVENT_H,id,el),tracker.addEvent(SCROLL_EVENT_V,id,el),tracker.addForceUnblock(SCROLL_EVENT_H,id),tracker.addForceUnblock(SCROLL_EVENT_V,id)}function disableScroll(id,el){let tracker=useUINavTracker();tracker.removeEvent(SCROLL_EVENT_H,id,el),tracker.removeEvent(SCROLL_EVENT_V,id,el),tracker.removeForceUnblock(SCROLL_EVENT_H,id),tracker.removeForceUnblock(SCROLL_EVENT_V,id)}var BngUiNavScroll_default={mounted(element,{arg,value,modifiers}){let prev=element[SCROLL_PROP]||{},dir={id:prev.id||uniqueId(SCROLL_PROP),forced:modifiers.force,enable:()=>enableScroll(dir.id,element),disable:()=>disableScroll(dir.id,element)};if(element[SCROLL_PROP]=dir,prev.forced&&(element.removeEventListener(`focusin`,prev.enable),element.removeEventListener(`focusout`,prev.disable)),typeof value==`boolean`&&!value){prev.id&&prev.disable(),dir.forced=!1;return}dir.forced?(element.setAttribute(SCROLL_FORCE_ATTR,``),dir.enable()):(element.setAttribute(SCROLL_ATTR,``),element.addEventListener(`focusin`,dir.enable),element.addEventListener(`focusout`,dir.disable))},beforeUnmount(element){let dir=element[SCROLL_PROP];dir&&(dir.forced||(element.removeEventListener(`focusin`,dir.enable),element.removeEventListener(`focusout`,dir.disable)),dir.disable(),delete element[SCROLL_PROP])}},observed=new WeakMap;function createObserver(root=null,rootMargin=`0px`){return new IntersectionObserver(entries=>{for(let entry of entries){let data=observed.get(entry.target);if(!data){entry.target.observer?.unobserve(entry.target);return}if(data.onChange)data.onChange(entry.isIntersecting);else{let displayValue=entry.isIntersecting?[`display`,``,``]:[`display`,`none`,`important`];entry.target.style.setProperty(...displayValue),entry.target.querySelectorAll(`*`).forEach(child=>{child.style.setProperty(...displayValue)})}}},{root,rootMargin,threshold:0})}var defaultObserver=createObserver(),_sfc_main$404={__name:`bngActionDrawer`,props:{actions:{type:Object,default:{allowOpenDrawer:!1}},skeletonItems:{type:Number,default:5},usePath:Boolean,alwaysShowBack:Boolean,itemWidth:Number,itemHeight:Number,itemMargin:Number,big:Boolean,position:String,blur:Boolean},emits:[`select`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({goBack:onBack});let expanded=ref(!1),current=ref(props.actions),lazyItem={label:`…`,icon:icons.stopwatchSectionOutlinedStart};function onSelect(item){(`items`in item||item.lazyLoadItems)&&(current.value&&addBack(current.value),current.value=item),emit$1(`select`,item)}let backState=computed(()=>{let disable=back.value.length===0||!(`items`in current.value);return{show:!disable||props.alwaysShowBack,disable}}),back=ref([]);function onBack(){current.value=null,onSelect(back.value.pop().data)}function addBack(prevItem){let backItem={index:back.value.length,label:prevItem.label,data:prevItem};props.usePath&&prevItem.items&&(backItem.items=prevItem.items.reduce((res,itm)=>[...res,{index:backItem.index+1,label:itm.label,data:itm}],[])),back.value.push(backItem)}let path=computed(()=>props.usePath?[...back.value,{current:!0,label:current.value.label,data:current.value}]:void 0);function onPath(item){item.current||(back.value.splice(item.index),current.value=null,onSelect(item.data))}return watch(()=>props.actions,val=>{back.value.splice(0),current.value=val}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDrawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[0]||=$event=>expanded.value=$event,expandable:current.value.allowOpenDrawer,position:__props.position,blur:__props.blur},createSlots({"header-controls":withCtx(()=>[__props.usePath?(openBlock(),createBlock(unref(bngBreadcrumbs_default),{key:0,items:path.value,limit:`5`,onClick:onPath},null,8,[`items`])):backState.value.show?(openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).outlined,disabled:backState.value.disable,onClick:onBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`accent`,`disabled`])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`controls`)]),content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngList_default),{layout:expanded.value?unref(LIST_LAYOUTS).TILES:unref(LIST_LAYOUTS).RIBBON,big:__props.big,"target-width":__props.itemWidth,"target-height":__props.itemHeight,"target-margin":__props.itemMargin,"no-background":``},{default:withCtx(()=>[`items`in current.value?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(current.value.items,(item,index)=>renderSlot(_ctx.$slots,`action`,{item,select:onSelect,isLoading:!1,order:index})),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(__props.skeletonItems,idx=>renderSlot(_ctx.$slots,`action`,{item:lazyItem,select:()=>{},isLoading:!0})),256))]),_:3},8,[`layout`,`big`,`target-width`,`target-height`,`target-margin`])),[[unref(BngDisabled_default),!(`items`in current.value)]])]),_:2},[__props.usePath?void 0:{name:`header`,fn:withCtx(()=>[createTextVNode(toDisplayString(current.value.label),1)]),key:`0`}]),1032,[`modelValue`,`expandable`,`position`,`blur`]))}},bngActionDrawer_default=_sfc_main$404,__plugin_vue_export_helper_default=(sfc,props)=>{let target=sfc.__vccOpts||sfc;for(let[key,val]of props)target[key]=val;return target},_hoisted_1$347={class:`bng-accordion-container`},_sfc_main$403={__name:`accordion`,props:{singular:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:[Boolean,Object],selected:Boolean,provideParent:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,counter$1=0,items$2=[],selopts=null,emit$1=__emit;watch(()=>props.singular,val=>val&&toggle(items$2.find(itm=>itm.expanded),!0)),watch(()=>props.expanded,val=>toggle(null,val)),watch(()=>props.animated,val=>{for(let itm of items$2)itm.animated=val},{immediate:!0}),watch(()=>props.disabled,val=>{for(let itm of items$2)itm.disabled=val},{immediate:!0}),watch(()=>props.selectable,val=>{val?(selopts={multi:!1},typeof val==`object`&&(selopts={selopts,...val})):selopts=null;for(let itm of items$2)itm.selectable=selopts},{immediate:!0}),watch(()=>props.selected,val=>select(null,val));function toggle(item=null,expanded=null){if(props.singular&&!item&&expanded){if(items$2.length===0)return;item=items$2[0]}for(let itm of items$2){let exp=!itm.expandedActual;item&&itm.id!==item.id?exp=props.singular?!1:itm.expandedActual:typeof expanded==`boolean`&&(exp=expanded),itm.expandedActual=exp}}provide(`accordion-item-toggle`,toggle);function select(item=null,selected=null){let state=[];for(let itm of items$2){let sel;sel=item&&itm.id!==item.id?selopts.multi?itm.selected:!1:typeof selected==`boolean`?selected:selopts.multi?!itm.selected:!0,itm.selected!==sel&&(itm.selected=sel,state.push(itm))}state.length>0&&emit$1(`selected`,state)}provide(`accordion-item-select`,select),props.provideParent&&inject(`accordion-item-childSelect`)(select);let waitForOptions=cb=>selopts?cb():setTimeout(()=>waitForOptions(cb),50);return provide(`accordion-item-register`,item=>{item.id=counter$1++,props.expanded&&(item.expanded=props.expanded),props.disabled&&(item.disabled=props.disabled),props.selectable&&(item.selectable=props.selectable),items$2.push(item),waitForOptions(()=>{props.singular&&item.expanded&&toggle(item,!0),item.selected&&select(item,!0)})}),provide(`accordion-item-unregister`,item=>{let idx=items$2.findIndex(itm=>itm.id===item.id);idx>-1&&items$2.splice(idx,1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$347,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngDisabled_default),__props.disabled]])}},accordion_default=__plugin_vue_export_helper_default(_sfc_main$403,[[`__scopeId`,`data-v-fcd1832d`]]),_hoisted_1$346={key:0,class:`bng-accitem-content`},_sfc_main$402={__name:`accordionItem`,props:{static:Boolean,expanded:Boolean,disabled:Boolean,animated:Boolean,selectable:{type:[Boolean,Object],default:!1},selected:Boolean,data:{},navigable:{type:[Boolean,Object],default:!1},arrowBig:Boolean,primaryAction:Function,secondaryAction:Function,primaryLabel:String,secondaryLabel:String,primaryHintInline:Boolean,secondaryHintInline:Boolean,expandHintInline:Boolean},emits:[`focus`,`unfocus`,`expanded`,`selected`],setup(__props,{expose:__expose,emit:__emit}){let{showIfController}=storeToRefs(controls_default()),navBlocker=useUINavBlocker(),props=__props,elCaption=ref(),elCaptionContent=ref(),elCaptionControls=ref(),hasFocus=ref(!1),icon=computed(()=>props.arrowBig?icons.arrowLargeRight:icons.arrowSmallRight),popTip=ref();watch([()=>hasFocus.value,()=>showIfController.value],()=>{hasFocus.value&&showIfController.value&&(props.primaryHintInline&&props.primaryAction||props.secondaryHintInline&&props.secondaryAction)?popTip.value.show(elCaption.value):popTip.value.isShown()&&popTip.value.hide()});let reg$1=inject(`accordion-item-register`),unreg=inject(`accordion-item-unregister`),toggle=inject(`accordion-item-toggle`),select=inject(`accordion-item-select`),opts=reactive({id:-1,captionClick:evt=>{props.primaryAction&&evt.fromController?props.primaryAction():opts.selectable?select(opts):opts.expandClick()},expandClick:()=>!props.static&&toggle(opts),static:props.static,expandedActual:props.expanded,disabled:props.disabled,animated:props.animated,selected:props.selected,selectable:props.selectable,navigable:{enabled:!1},data:props.data}),emit$1=__emit;__expose({captionClick:opts.captionClick,focus:()=>setFocusExternal(elCaption.value,!0,!1),captionElement:computed(()=>elCaption.value)}),watch(()=>props.static,val=>opts.static=val),watch(()=>props.expanded,val=>!opts.static&&toggle(opts,val)),watch(()=>props.disabled,val=>opts.disabled=val),watch(()=>opts.disabled,val=>!val&&props.disabled&&(opts.disabled=props.disabled)),watch(()=>props.animated,val=>opts.animated=val),watch(()=>props.selectable,val=>opts.selectable=val),watch(()=>props.selected,val=>opts.selected=val),watch(()=>opts.expandedActual,val=>{emit$1(`expanded`,!opts.static&&!opts.disabled&&val)}),watch(()=>props.data,val=>opts.data=val),watch(()=>props.navigable,val=>{if(typeof val!=`object`&&typeof val==`boolean`&&!val){opts.navigable={enabled:!1};return}opts.navigable={enabled:!0,scope:null,...typeof val==`object`?val:{}}},{immediate:!0}),opts.navigable.scope&&useUINavScope(opts.navigable.scope);let onFocus=evt=>{hasFocus.value=!0,navBlocker.blockOnly(opts.static?[`context`]:[]),emit$1(`focus`,evt)},onLoseFocus=evt=>{hasFocus.value=!1,navBlocker.clear(),emit$1(`unfocus`,evt)};return provide(`accordion-item-childSelect`,select$1=>(item,value)=>opts.selectable&&opts.selectable.multi&&select$1(item,value)),provide(`accordion-item-parent`,opts),onMounted(()=>reg$1(opts)),onBeforeUnmount(()=>{popTip.value.isShown()&&popTip.value.hide(),unreg(opts)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-accitem":!0,"bng-accitem-normal":!opts.static&&!opts.selectable,"bng-accitem-static":opts.static,"bng-accitem-expandable":!opts.static,"bng-accitem-selectable":opts.selectable,"bng-accitem-expanded":!opts.static&&opts.expandedActual&&!opts.disabled,"bng-accitem-selected":opts.selected})},[withDirectives((openBlock(),createElementBlock(`div`,mergeProps({ref_key:`elCaption`,ref:elCaption,class:`bng-accitem-caption`,onClick:_cache[1]||=(...args)=>opts.captionClick&&opts.captionClick(...args),onFocus,onBlur:onLoseFocus},{"bng-nav-item":opts.navigable.enabled?!0:void 0,"bng-ui-scope":opts.navigable.scope||void 0}),[opts.static?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:normalizeClass({"bng-accitem-caption-expander":!0,"bng-accitem-caption-expander-big":__props.arrowBig}),type:icon.value,onClick:withModifiers(opts.expandClick,[`stop`])},null,8,[`class`,`type`,`onClick`])),__props.expandHintInline&&!opts.static&&hasFocus.value&&unref(showIfController)?(openBlock(),createBlock(unref(bngBinding_default),{key:1,style:{"padding-right":`0.2em`},uiEvent:`context`,controller:``})):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`elCaptionContent`,ref:elCaptionContent,class:`bng-accitem-caption-content`},[renderSlot(_ctx.$slots,`caption`,{},()=>[_cache[2]||=createTextVNode(`Unnamed item`,-1)],!0)],512),_ctx.$slots.controls?(openBlock(),createElementBlock(`div`,{key:2,ref_key:`elCaptionControls`,ref:elCaptionControls,class:`bng-accitem-caption-controls`,onClick:_cache[0]||=withModifiers(()=>{},[`stop`])},[renderSlot(_ctx.$slots,`controls`,{},void 0,!0)],512)):createCommentVNode(``,!0),createVNode(unref(bngPopoverContent_default),{ref_key:`popTip`,ref:popTip,placement:`right`},{default:withCtx(()=>[__props.primaryHintInline&&__props.primaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:0,uiEvent:`ok`,controller:``})):createCommentVNode(``,!0),__props.secondaryHintInline&&__props.secondaryAction?(openBlock(),createBlock(unref(bngBinding_default),{key:1,uiEvent:`action_2`,controller:``})):createCommentVNode(``,!0)]),_:1},512)],16)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngOnUiNav_default),__props.secondaryAction?__props.secondaryAction:void 0,`action_2`,{focusRequired:!0}],[unref(BngOnUiNav_default),!opts.static&&opts.navigable.enabled?opts.expandClick:void 0,`context`,{focusRequired:!0}],[unref(BngUiNavLabel_default),__props.primaryLabel||`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngUiNavLabel_default),__props.secondaryLabel,`action_2`],[unref(BngUiNavLabel_default),_ctx.$tt(`ui.common.expand`)+`/`+_ctx.$tt(`ui.common.collapse`),`context`]]),createVNode(Transition,{name:opts.animated?`bng-acc-trans`:null},{default:withCtx(()=>[!opts.static&&opts.expandedActual&&!opts.disabled?(openBlock(),createElementBlock(`div`,_hoisted_1$346,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[3]||=createTextVNode(`Empty`,-1)],!0)])):createCommentVNode(``,!0)]),_:3},8,[`name`])],2)),[[unref(BngDisabled_default),opts.disabled]])}},accordionItem_default=__plugin_vue_export_helper_default(_sfc_main$402,[[`__scopeId`,`data-v-dd6087ee`]]),_sfc_main$401={__name:`accordionTree`,props:{data:[Array,Object],dataField:{type:String,required:!0},propsField:String,contentField:String,selectable:{type:[Boolean,Object],default:!1},selectedField:String,isTreeElement:Boolean},emits:[`selected`],setup(__props,{emit:__emit}){let props=__props,dataView=computed(()=>props.data&&(props.data[props.dataField]||props.data)||[]),emit$1=__emit;props.isTreeElement||(watch(()=>dataView.value,refreshSelected),watch(()=>props.selectedField&&props.selectable&&props.selectable.multi,refreshSelected),refreshSelected());let prevState=[];function refreshSelected(){if(!props.selectedField||!props.selectable||!props.selectable.multi)return;let state=[];function deepScan(arr){for(let itm of arr){let data=itm.data||itm;data[props.selectedField]&&state.push({data,selected:!0}),data[props.dataField]&&deepScan(data[props.dataField])}}deepScan(dataView.value),selected(state)}function selected(state){if(!props.isTreeElement){if(!props.selectable.multi){prevState=prevState.filter(itm=>itm.selected);for(let itm of prevState)itm.selected&&(itm.item.selected=!1,props.selectedField&&(itm.item.data[props.selectedField]=!1),state.includes(itm.item)||state.push(itm.item));prevState=state.map(item=>({selected:!!item.selected,item}))}if(props.selectedField){function deepSet(arr,value=void 0){for(let itm of arr){let val=typeof value==`boolean`?value:itm.selected,data=itm.data||itm;data[props.selectedField]=val,data[props.dataField]&&deepSet(data[props.dataField])}}deepSet(state)}}emit$1(`selected`,state)}function branchSelected(state){props.isTreeElement?emit$1(`selected`,state):selected(state)}return(_ctx,_cache)=>dataView.value.length>0?(openBlock(),createBlock(unref(accordion_default),{key:0,class:`acctree`,selectable:__props.selectable,"provide-parent":__props.isTreeElement,onSelected:selected},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(dataView.value,entry=>(openBlock(),createBlock(unref(accordionItem_default),mergeProps({ref_for:!0},__props.propsField?entry[__props.propsField]:void 0,{selected:__props.selectedField?entry[__props.selectedField]:void 0,static:(!entry[__props.dataField]||entry[__props.dataField].length===0)&&(!__props.contentField||!entry[__props.contentField]),data:entry}),{caption:withCtx(()=>[renderSlot(_ctx.$slots,`caption`,{entry},void 0,!0)]),controls:withCtx(()=>[renderSlot(_ctx.$slots,`controls`,{entry},void 0,!0)]),default:withCtx(()=>[__props.contentField&&entry[__props.contentField]?renderSlot(_ctx.$slots,`default`,{key:0,entry},void 0,!0):createCommentVNode(``,!0),entry[__props.dataField]&&entry[__props.dataField].length>0?(openBlock(),createBlock(unref(accordionTree_default),mergeProps({key:1,ref_for:!0},props,{data:entry,"is-tree-element":!0,onSelected:branchSelected}),{caption:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`caption`,{entry:entry$1},void 0,!0)]),controls:withCtx(({entry:entry$1})=>[renderSlot(_ctx.$slots,`controls`,{entry:entry$1},void 0,!0)]),_:2},1040,[`data`])):createCommentVNode(``,!0)]),_:2},1040,[`selected`,`static`,`data`]))),256))]),_:3},8,[`selectable`,`provide-parent`])):createCommentVNode(``,!0)}},accordionTree_default=__plugin_vue_export_helper_default(_sfc_main$401,[[`__scopeId`,`data-v-2ad1085d`]]),_hoisted_1$345={class:`slotted`},_sfc_main$400={__name:`aspectRatio`,props:{ratio:{type:String,default:`16:9`},imageMode:{type:String,default:`cover`,validator:value=>[`cover`,`contain`].includes(value)},image:{type:String,default:null},externalImage:{type:String,default:null}},setup(__props){useCssVars(_ctx=>({v711986eb:__props.imageMode}));let placeholderImageURL=getAssetURL(`images/noimage.png`),slots=useSlots(),props=__props,padding=computed(()=>{if(!props.ratio)return`56.25%`;let[width$1,height$1]=props.ratio.split(`:`).map(Number);return`${height$1/width$1*100}%`}),backgroundStyle=computed(()=>!props.image&&!props.externalImage?{"--padding":padding.value,backgroundImage:`none`}:props.image||props.externalImage?{"--padding":padding.value,backgroundImage:`url("${props.externalImage?props.externalImage:getAssetURL(props.image)}")`}:slots.default?{"--padding":padding.value,backgroundImage:`url("${placeholderImageURL}")`}:{});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`aspect-ratio`,style:normalizeStyle(backgroundStyle.value)},[createBaseVNode(`div`,_hoisted_1$345,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])],4))}},aspectRatio_default=__plugin_vue_export_helper_default(_sfc_main$400,[[`__scopeId`,`data-v-83698898`]]),_hoisted_1$344=[`data-carousel-item`],_sfc_main$399={__name:`carouselItem`,props:{value:{type:[String,Number],required:!0}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`bng-carousel-item`,"data-carousel-item":__props.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,_hoisted_1$344))}},carouselItem_default=__plugin_vue_export_helper_default(_sfc_main$399,[[`__scopeId`,`data-v-babc74fb`]]),_hoisted_1$343={key:0,class:`navigation`},_hoisted_2$271=[`onClick`],TRANSITION_TYPES=[`fade`],_sfc_main$398={__name:`carousel`,props:{items:{type:Array,required:!0},current:{type:[String,Number],default:0},vertical:Boolean,loop:{type:Boolean,default:!0},transition:Boolean,transitionType:{type:String,default:`fade`,validator:value=>TRANSITION_TYPES.includes(value)},transitionTime:{type:Number,default:3e3},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,transitionTimer,carouselRoot=ref(null),carousel=ref(null),currentIndex=ref(props.current);computed(()=>``);let navState=reactive({selected:null}),showSlide=value=>{let slideIndex=parseInt(value);currentIndex.value=slideIndex,navState.selected=slideIndex,setTransition()},navShown=computed(()=>props.showNav&&!props.parent),children=[],childIndex=child=>children.findIndex(itm=>itm.element===child.element),addChild=child=>{childIndex(child)===-1&&children.push(child)},remChild=child=>{let idx=childIndex(child);idx>-1&&children.splice(idx,1)},tryParent=(_retry=0)=>{if(props.parent.addChild)props.parent.addChild(exposed);else if(_retry<100){let unwatch=watch(()=>props.parent.addChild,()=>{unwatch(),tryParent(++_retry)})}};watch(()=>props.parent,tryParent),watch(()=>navState.selected,sel=>{for(let child of children)child.showSlide&&child.showSlide(sel)}),onMounted(()=>{setTransition(),props.parent&&tryParent()}),onBeforeUnmount(()=>{transitionTimer&&=(clearInterval(transitionTimer),null),props.parent&&props.parent.remChild&&props.parent.remChild(exposed)});function showPrevious(){if(props.parent)return;let prev;currentIndex.value===0&&props.loop?prev=props.items.length-1:currentIndex.value>0&&(prev=currentIndex.value-1),prev!==void 0&&(navState.selected=prev,currentIndex.value=prev,setTransition())}function showNext(){if(props.parent)return;let next=getNext();next>-1&&(navState.selected=next,currentIndex.value=next,setTransition())}function setTransition(){transitionTimer&&clearInterval(transitionTimer),transitionTimer=setInterval(()=>{let next=getNext();next>-1&&(currentIndex.value=next)},props.transitionTime)}function getNext(){return currentIndex.value===props.items.length-1&&props.loop?0:currentIndex.value(openBlock(),createElementBlock(`div`,{ref_key:`carouselRoot`,ref:carouselRoot,class:normalizeClass({"bng-carousel":!0,"carousel-vertical":__props.vertical,[`transition-${__props.transitionType}`]:!0})},[createBaseVNode(`div`,{ref_key:`carousel`,ref:carousel,class:`carousel-content`},[createVNode(Transition,{name:__props.transitionType},{default:withCtx(()=>[(openBlock(),createBlock(carouselItem_default,{key:currentIndex.value,class:`carousel-slide`,value:currentIndex.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`item`,{item:__props.items[currentIndex.value],index:currentIndex.value},()=>[createTextVNode(toDisplayString(__props.items[currentIndex.value]),1)],!0)]),_:3},8,[`value`]))]),_:3},8,[`name`])],512),renderSlot(_ctx.$slots,`navigation`,{},()=>[navShown.value&&__props.items&&__props.items.length>1?(openBlock(),createElementBlock(`div`,_hoisted_1$343,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`navigation-item`,{active:index===currentIndex.value}]),key:item.value,onClick:$event=>showSlide(index)},null,10,_hoisted_2$271))),128))])):createCommentVNode(``,!0)],!0)],2))}},carousel_default=__plugin_vue_export_helper_default(_sfc_main$398,[[`__scopeId`,`data-v-f54192e0`]]),_hoisted_1$342={key:0,class:`drawer-header`},_hoisted_2$270={key:1,class:`drawer-content`},_hoisted_3$236={key:2,class:`drawer-header`};const DRAWER_POSITION={bottom:`bottom`,top:`top`,left:`left`,right:`right`};var _sfc_main$397={__name:`drawer`,props:mergeModels({blur:Boolean,position:{type:String,default:DRAWER_POSITION.bottom,validator:val=>Object.values(DRAWER_POSITION).includes(val)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let emit$1=__emit,expanded=useModel(__props,`modelValue`);watch(()=>expanded.value,val=>emit$1(`change`,val));let slots=useSlots(),expandedContent=computed(()=>expanded.value&&`expanded-content`in slots),hasAnyContent=computed(()=>expandedContent.value||`content`in slots);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-drawer":!0,[`drawer-pos-${__props.position}`]:!0,"drawer-expanded":expanded.value})},[__props.position===`bottom`||__props.position===`right`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$342,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),hasAnyContent.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$270,[expandedContent.value?renderSlot(_ctx.$slots,`expanded-content`,{key:0},void 0,!0):renderSlot(_ctx.$slots,`content`,{key:1},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0),__props.position===`top`||__props.position===`left`?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_3$236,[renderSlot(_ctx.$slots,`header`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]):createCommentVNode(``,!0)],2))}},drawer_default=__plugin_vue_export_helper_default(_sfc_main$397,[[`__scopeId`,`data-v-8023232b`]]),_sfc_main$396={__name:`dynamicComponent`,props:{template:String,translateId:String,translateContext:Boolean,bbcode:Boolean,useComponents:{type:Boolean,default:!0},extraComponents:{type:Object,default:()=>({})}},setup(__props){let ALL_COMPONENTS=Object.fromEntries(Object.entries({...base_exports,...utility_exports}).filter(([name])=>name!==`DEMOS`)),attrs=useAttrs(),props=__props,template=computed(()=>{let res=props.template;return props.translateId&&(res=props.translateContext?$translate.contextTranslate(props.translateId,!0):$translate.instant(props.translateId)),res&&props.bbcode&&(res=parse$1(res)),res||``}),makeComponent=computed(()=>defineComponent({template:template.value,components:{...props.useComponents&&ALL_COMPONENTS,...props.extraComponents},data(){return attrs}}));return(_ctx,_cache)=>template.value&&makeComponent.value?(openBlock(),createBlock(resolveDynamicComponent(makeComponent.value),{key:0})):createCommentVNode(``,!0)}},dynamicComponent_default=_sfc_main$396,_hoisted_1$341={class:`shelf-wrapper`},_hoisted_2$269=[`disabled`],_hoisted_3$235=[`disabled`],storageKey=`bngshelf`,_sfc_main$395={__name:`shelf`,props:mergeModels({saveName:{type:String,default:null},limit:{type:Number,default:5,validator:val=>val>2&&val%2==1},fade:{type:Boolean,default:!1},showExtra:{type:Boolean,default:!0},neighborsFlatten:{type:Boolean,default:!1},neighborsScale:{type:Number,default:1},keepNeighborsAspectRatio:{type:Boolean,default:!1},noLoop:{type:Boolean,default:!1},navShown:{type:Boolean,default:!1},inward:{type:Number,default:0,validator:val=>val>=0&&val<=1}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:mergeModels([`change`,`click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let selectedIndex=useModel(__props,`modelValue`),props=__props,emit$1=__emit,ready=ref(!1),slots=useSlots(),containerRef=ref(null),shelfItems=ref([]),displayItems=ref([]),isAnimating=ref(!1),itemIdCounter=0,lastValidIndex=0,isReverting=!1,isPrevDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===0),isNextDisabled=computed(()=>isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1);watch(selectedIndex,index=>{if(!isReverting){if(index=parseInt(index,10),isNaN(index)||index<0||shelfItems.value.length>0&&index>=shelfItems.value.length){isReverting=!0,selectedIndex.value=lastValidIndex,isReverting=!1;return}lastValidIndex=index,ready.value&&buildDisplayItems()}},{immediate:!0});let timings={single:400,multiStart:200,multiMiddle:200,multiEnd:200};watch(()=>slots.default?.(),update$6,{immediate:!0});function update$6(vnodes){if(ready.value){if(vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]),shelfItems.value=vnodes.reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),props.saveName){let val=localStorage.getItem(`${storageKey}-${props.saveName}`);if(val!==null){let idx=parseInt(val,10);!isNaN(idx)&&idx>=0&&idxhalfLimit)continue;let itemIndex=selectedIndex.value+offset$2;if(props.noLoop){if(itemIndex<0||itemIndex>=shelfItems.value.length)continue}else itemIndex<0?itemIndex=shelfItems.value.length+itemIndex:itemIndex>=shelfItems.value.length&&(itemIndex-=shelfItems.value.length);items$2.push({vnode:shelfItems.value[itemIndex],originalIndex:itemIndex,position:offset$2,id:++itemIdCounter,style:getItemStyle(offset$2,`normal`)})}displayItems.value=items$2}function getItemStyle(position,state=`normal`){let absPosition=Math.abs(position),halfLimit=~~(props.limit/2),isExtraItem=absPosition>halfLimit,factor=halfLimit>0?absPosition/halfLimit:1,leftPercentage;if(leftPercentage=isExtraItem?(position<0?0:props.limit-1)/(props.limit-1)*100:(position+halfLimit)/(props.limit-1)*100,position!==0&&props.inward>0){let pullToCenter=(50-leftPercentage)*props.inward*factor;leftPercentage+=pullToCenter}let rotateY=factor*-30*Math.sign(position),translateZ=0,scaleX=1,scaleY=1,brightness=1;if(position!==0){if(translateZ=-100*factor,props.keepNeighborsAspectRatio){let scale=Math.max(.6,1-factor*.4)*props.neighborsScale;scaleX=scale,scaleY=scale}else scaleX=Math.max(.4,1-factor*.6)*props.neighborsScale,scaleY=Math.max(.6,1-factor*.4)*props.neighborsScale;brightness=Math.max(.5,1-factor*.5),props.neighborsFlatten&&(rotateY=0)}let opacity=1;return state===`entering`||state===`exiting`?(opacity=.1,translateZ=-100*(absPosition/halfLimit),leftPercentage+=2*Math.sign(position)):isExtraItem?opacity=.2:props.fade&&position!==0&&(opacity=Math.max(.4,1-absPosition*.3)),{left:`${leftPercentage}%`,transform:`translateX(-50%) translateY(-50%) translateZ(${translateZ}px) rotateY(${rotateY}deg) scale(${scaleX}, ${scaleY})`,filter:`brightness(${brightness})`,transition:`all 400ms cubic-bezier(0.25, 0.8, 0.25, 1)`,opacity,zIndex:isExtraItem?10-absPosition:100-absPosition}}let abortAnimation=!1;async function toIndex(targetIndex){if(!ready.value||selectedIndex.value===targetIndex||typeof targetIndex!=`number`||targetIndex<0||targetIndex>=shelfItems.value.length)return;if(isAnimating.value)for(abortAnimation=!0;abortAnimation;)await sleep(20);let prevIndex=selectedIndex.value,steps=calculateSteps(selectedIndex.value,targetIndex);if(steps.length!==0){isAnimating.value=!0;try{let stepTimings=calculateStepTimings(steps.length);for(let i=0;i{selectedIndex.value===targetIndex&&setFocusExternal(containerRef.value.querySelector(`[data-shelf-index="${targetIndex}"]`))})}finally{abortAnimation=!1,isAnimating.value=!1}props.saveName&&localStorage.setItem(`${storageKey}-${props.saveName}`,targetIndex.toString()),emit$1(`change`,targetIndex,prevIndex)}}let onFocus=index=>selectedIndex.value!==index&&toIndex(index);function onClick(index,event){selectedIndex.value===index?emit$1(`click`,event,index):toIndex(index)}function calculateStepTimings(stepCount){return stepCount===1?[timings.single]:Array.from({length:stepCount},(_,i)=>i===0?timings.multiStart:i===stepCount-1?timings.multiEnd:timings.multiMiddle)}function calculateSteps(fromIndex,toIndex$1){let targetItemIndex=displayItems.value.findIndex(item=>item.originalIndex===toIndex$1),steps=[];if(targetItemIndex===-1){let current=fromIndex;for(;current!==toIndex$1;){let totalItems=shelfItems.value.length;props.noLoop?toIndex$1>current?current+=1:--current:current=(toIndex$1-current+totalItems)%totalItems<=(current-toIndex$1+totalItems)%totalItems?(current+1)%totalItems:(current-1+totalItems)%totalItems,steps.push(current)}}else{let targetPosition=displayItems.value[targetItemIndex].position;if(targetPosition!==0){let direction$1=targetPosition>0?1:-1,stepsNeeded=Math.abs(targetPosition),current=fromIndex;for(let i=0;i0?current+=1:--current:current=direction$1>0?(current+1)%shelfItems.value.length:(current-1+shelfItems.value.length)%shelfItems.value.length,steps.push(current)}}return steps}async function animateToStep(stepIndex,stepTiming){let halfLimit=Math.floor(props.limit/2),currentIndex=selectedIndex.value,actualDirection=0;if(props.noLoop)actualDirection=stepIndex>currentIndex?1:-1;else{let totalItems=shelfItems.value.length;actualDirection=(stepIndex-currentIndex+totalItems)%totalItems<=(currentIndex-stepIndex+totalItems)%totalItems?1:-1}let newItems=[];if(actualDirection>0){for(let i=0;i=shelfItems.value.length?rightmostIndex-shelfItems.value.length:rightmostIndex),wrappedIndex>=0&&wrappedIndex=0&&wrappedIndexhalfLimit;newItems.push({...currentItem,position:newPosition,style:getItemStyle(newPosition,isExiting?`exiting`:`normal`)})}}displayItems.value=newItems;let delay=stepTiming/2;await sleep(delay),displayItems.value=displayItems.value.map(item=>item.style.opacity===.1&&(item.position===halfLimit||item.position===-halfLimit)?{...item,style:getItemStyle(item.position,`normal`)}:item),await new Promise(resolve$1=>setTimeout(resolve$1,delay))}function navigateNext$1(){isAnimating.value||props.noLoop&&selectedIndex.value===shelfItems.value.length-1||toIndex((selectedIndex.value+1)%shelfItems.value.length)}function navigatePrev(){isAnimating.value||props.noLoop&&selectedIndex.value===0||toIndex(selectedIndex.value===0?shelfItems.value.length-1:selectedIndex.value-1)}__expose({toIndex,next:navigateNext$1,prev:navigatePrev,isSelected:evt=>{let elm=evt.target.closest(`[data-shelf-index]`);if(!elm)return!1;let idx=parseInt(elm.getAttribute(`data-shelf-index`),10);return!isNaN(idx)&&selectedIndex.value===idx}}),onMounted(()=>{ready.value=!0,nextTick(update$6)});function getActiveItem(){let active=document.activeElement;return String(active.dataset.shelfIndex)===String(selectedIndex.value)?null:containerRef.value.querySelector(`[data-shelf-index="${selectedIndex.value}"]`)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$341,[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`containerRef`,ref:containerRef,class:`shelf-container`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(displayItems.value,item=>(openBlock(),createElementBlock(`div`,{key:`item-${item.originalIndex}-${item.id}`,class:`shelf-item`,style:normalizeStyle(item.style)},[(openBlock(),createBlock(resolveDynamicComponent(item.vnode),{"data-shelf-index":item.originalIndex,onClick:$event=>onClick(item.originalIndex,$event),onFocus:$event=>onFocus(item.originalIndex),onUinavFocus:$event=>onFocus(item.originalIndex)},null,40,[`data-shelf-index`,`onClick`,`onFocus`,`onUinavFocus`]))],4))),128))])),[[unref(BngFocusCapture_default),getActiveItem,`101`]]),__props.navShown?(openBlock(),createElementBlock(`button`,{key:0,class:`shelf-nav shelf-nav-prev`,onClick:navigatePrev,disabled:isPrevDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeLeft},null,8,[`type`])],8,_hoisted_2$269)):createCommentVNode(``,!0),__props.navShown?(openBlock(),createElementBlock(`button`,{key:1,class:`shelf-nav shelf-nav-next`,onClick:navigateNext$1,disabled:isNextDisabled.value},[createVNode(unref(bngIcon_default),{type:unref(icons).arrowLargeRight},null,8,[`type`])],8,_hoisted_3$235)):createCommentVNode(``,!0)],512)),[[vShow,displayItems.value.length>0]])}},shelf_default=__plugin_vue_export_helper_default(_sfc_main$395,[[`__scopeId`,`data-v-0109573f`]]),_sfc_main$394={__name:`slotSwitcher`,props:{slotId:{type:String,default:`default`}},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,__props.slotId,normalizeProps(guardReactiveProps(_ctx.$attrs)))}},slotSwitcher_default=_sfc_main$394,_sfc_main$393={__name:`tab`,props:{heading:String,selected:Boolean},setup(__props){return(_ctx,_cache)=>renderSlot(_ctx.$slots,`default`,{tabHeading:__props.heading,tabSelected:__props.selected})}},tab_default=_sfc_main$393,_hoisted_1$340={class:`tab-list`},_sfc_main$392={__name:`tabList`,setup(__props){let tabs=inject(`tabs`),selectTab=inject(`selectTab`),tabHeaderClasses=tab=>({"tab-item":!0,"tab-active-tab":tab.active,"no-hover":tab.active});function handleTabSelect(index,event){let buttonElement=event.currentTarget,hasFocusVisible=document.activeElement&&document.activeElement.classList.contains(`focus-visible`);selectTab(index),hasFocusVisible&&nextTick(()=>{setFocusExternal(buttonElement)})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$340,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(tabs),(tab,i)=>(openBlock(),createBlock(unref(bngButton_default),{key:i,accent:(tab.active,`ghost`),class:normalizeClass(tabHeaderClasses(tab)),tabindex:`0`,"bng-nav-item":``,onClick:$event=>handleTabSelect(tab.index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(tab.heading),1)]),_:2},1032,[`accent`,`class`,`onClick`]))),128))]))}},tabList_default=__plugin_vue_export_helper_default(_sfc_main$392,[[`__scopeId`,`data-v-5c322d77`]]),_hoisted_1$339={class:`tab-container`},_sfc_main$391={__name:`tabs`,props:{selectedIndex:{type:Number,default:-1}},emits:[`change`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,ready=ref(!1),slots=useSlots(),tabListStart=shallowRef(),tabListEnd=shallowRef(),tabsList=ref(),tabsContent=ref([]),selectedIndex=ref(-1),isTabList=vnode=>typeof vnode.type==`object`&&vnode.type.__name===tabList_default.__name;provide(`tabs`,tabsList),watch(()=>slots.default?.(),update$6,{immediate:!0}),watch(()=>props.selectedIndex,index=>selectTab(index));function update$6(vnodes){if(!ready.value)return;vnodes===void 0&&(vnodes=slots.default?.()),Array.isArray(vnodes)||(vnodes=[]);let tabListIndex=vnodes.findIndex(vn=>isTabList(vn));tabListStart.value=tabListIndex===0?vnodes[tabListIndex]:tabList_default,tabListEnd.value=tabListIndex===vnodes.length-1?vnodes[tabListIndex]:null,tabsContent.value=vnodes.filter(vn=>!isTabList(vn)).reduce((res,vnode)=>typeof vnode.type==`symbol`&&vnode.type.toString()===`Symbol(v-fgt)`?(res.push(...vnode.children),res):(res.push(vnode),res),[]),tabsList.value=tabsContent.value.map((tab,index)=>({index,heading:tab.props?.[`tab-heading`]||tab.props?.tabHeading||`Tab ${index+1}`,active:selectedIndex.value===-1?props.selectedIndex===index||!!tab.props?.[`tab-selected`]||!!tab.props?.tabSelected:selectedIndex.value===index}));let activeIndex=tabsList.value.findIndex(tab=>tab.active);selectTab(activeIndex>-1?activeIndex:0)}function selectTab(index){if(!ready.value||typeof index!=`number`||index<0||index>=tabsList.value.length||selectedIndex.value===index)return;let prevTab=tabsList.value[selectedIndex.value];tabsList.value.forEach(tab=>{tab.active=tab.index===index}),selectedIndex.value=index,emit$1(`change`,tabsList.value[index],prevTab)}return provide(`selectTab`,selectTab),__expose({goNext:()=>selectTab((selectedIndex.value+1)%tabsList.value.length),goPrev:()=>selectTab(Math.abs(selectedIndex.value-1)%tabsList.value.length),selectTab}),onMounted(()=>{ready.value=!0,nextTick(update$6)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$339,[tabListStart.value?(openBlock(),createBlock(resolveDynamicComponent(tabListStart.value),{key:0})):createCommentVNode(``,!0),tabsContent.value[selectedIndex.value]?(openBlock(),createBlock(resolveDynamicComponent(tabsContent.value[selectedIndex.value]),{key:1,class:`tab-content`})):createCommentVNode(``,!0),tabListEnd.value?(openBlock(),createBlock(resolveDynamicComponent(tabListEnd.value),{key:2})):createCommentVNode(``,!0)]))}},tabs_default=__plugin_vue_export_helper_default(_sfc_main$391,[[`__scopeId`,`data-v-2ff63a4f`]]),_sfc_main$390={__name:`textScroller`,props:{scrollSpeed:{type:Number,default:3},initialPause:{type:Number,default:1},endingPause:{type:Number,default:1},fadeDuration:{type:Number,default:.2},watchContent:{type:Boolean,default:!1}},setup(__props){let props=__props,slots=useSlots(),events$3={start:[`uinav-focus`,`focus`,`mouseenter`],stop:[`uinav-blur`,`blur`,`mouseleave`]},elContainer=ref(null),elText=ref(null),scrollDistance=ref(0),translateX=ref(0),opacity=ref(1),isActive=ref(!1),isScrolling$1=ref(!1),styleOverrides={"button-icon":`.bng-button.l-icon, .bng-button.r-icon`},overrideClasses=ref([]),parentElement=null,fontSize=ref(16),scrollSpeed=computed(()=>props.scrollSpeed*fontSize.value),animTimer=null,animTimeout=(func,ms)=>(animTimer&&=(clearTimeout(animTimer),null),typeof func==`function`?(animTimer=setTimeout(()=>{animTimer=null,isScrolling$1.value&&func()},ms),animTimer):null),scrollStyles=computed(()=>({transform:`translateX(${translateX.value}px)`,opacity:opacity.value,transition:`opacity ${props.fadeDuration}s linear`+(isScrolling$1.value&&opacity.value>0?`, transform ${scrollDistance.value/scrollSpeed.value}s linear`:``)}));function animLoop(){isScrollable()&&(scrollDistance.value=getSize(),!(scrollDistance.value<=0)&&(opacity.value=1,animTimeout(()=>{translateX.value=-scrollDistance.value,animTimeout(()=>{opacity.value=0,animTimeout(()=>{translateX.value=0,nextTick(animLoop)},props.fadeDuration*1e3)},scrollDistance.value/scrollSpeed.value*1e3+props.endingPause*1e3)},Math.max(props.initialPause,props.fadeDuration)*1e3)))}function isScrollable(){if(!elContainer.value||!elText.value)return!1;let containerWidth=elContainer.value.clientWidth;return elText.value.scrollWidth>containerWidth}function getSize(){if(!elContainer.value||!elText.value)return 0;let containerWidth=elContainer.value.clientWidth,textWidth=elText.value.scrollWidth;return Math.max(0,textWidth-containerWidth)}function animStart(){isActive.value=!0,isScrollable()&&(isScrolling$1.value=!0,translateX.value=0,opacity.value=1,animLoop())}function animStop(restartAnim=!1){isActive.value=!1,isScrolling$1.value=!1,animTimeout(),nextTick(()=>{translateX.value=0,opacity.value=1,typeof restartAnim==`boolean`&&restartAnim&&nextTick(animStart)})}return props.watchContent&&watch(()=>slots.default?.(),()=>animStop(isActive.value),{deep:!0}),watch([()=>scrollSpeed.value,()=>props.initialPause,()=>props.endingPause,()=>props.fadeDuration],()=>animStop(isActive.value)),watch(()=>elContainer.value,()=>{if(!elContainer.value)return;for(parentElement=elContainer.value.parentElement;parentElement&&!parentElement.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`);)if(parentElement=parentElement.parentElement,parentElement===document.body){parentElement=null;break}if(!parentElement)return;overrideClasses.value=[];for(let[key,selectors]of Object.entries(styleOverrides))parentElement.matches(selectors)&&overrideClasses.value.push(`bng-text-override--${key}`);let fSize=window.getComputedStyle(elContainer.value,null).fontSize;fontSize.value=+fSize.substring(0,fSize.length-2),events$3.start.forEach(event=>parentElement.addEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.addEventListener(event,animStop))},{immediate:!0}),onUnmounted(()=>{animTimeout(),parentElement&&(events$3.start.forEach(event=>parentElement.removeEventListener(event,animStart)),events$3.stop.forEach(event=>parentElement.removeEventListener(event,animStop)))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:normalizeClass([`bng-text-scroller`,[{"is-scrolling":isScrolling$1.value},...overrideClasses.value]])},[createBaseVNode(`div`,{ref_key:`elText`,ref:elText,class:`scroller-text`,style:normalizeStyle(scrollStyles.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)],2))}},textScroller_default=__plugin_vue_export_helper_default(_sfc_main$390,[[`__scopeId`,`data-v-4f311fae`]]),_hoisted_1$338=[`data-tree-node-key`,`data-tree-node-expanded`,`data-tree-node-selected`,`data-tree-node-parent-path`,`data-tree-node-path`],_hoisted_2$268={key:1,class:`node`},_hoisted_3$234=[`disabled`],_hoisted_4$199={key:2,"data-tree-node-children":``},_sfc_main$389={__name:`treeNode`,props:{node:{type:Object,required:!0},keyName:{type:String,required:!0},parentNode:Object,selectMode:String,expandMode:String,expandedKeys:Array,selectedKeys:Array,parentPath:Array},setup(__props){let props=__props,$templates=inject(`$templates`),_expandFn=inject(`expandFn`),_selectFn=inject(`selectFn`),expanded=computed(()=>props.expandMode===`prop`?props.node.expanded:props.expandedKeys&&props.expandedKeys.includes(props.node[props.keyName])),expandable=computed(()=>!props.node.disabled&&props.node.children&&props.node.children.length>0),selected=computed(()=>props.selectMode?props.selectMode===`prop`?props.node.selected:props.selectedKeys&&props.selectedKeys.includes(props.node[props.keyName]):!1),selectable=computed(()=>!props.node.disabled&&props.selectMode&&props.node.selectable!==!1),path=computed(()=>props.parentPath?props.parentPath.concat(props.node[props.keyName]):[props.node[props.keyName]]),parentPathString=computed(()=>props.parentPath?props.parentPath.join(`/`):null),pathString=computed(()=>path.value.join(`/`)),nodeProps=computed(()=>({path:path.value,parentPath:props.parentPath}));return(_ctx,_cache)=>{let _component_TreeNode=resolveComponent(`TreeNode`,!0);return openBlock(),createElementBlock(`li`,{"data-tree-node-key":__props.node[__props.keyName],"data-tree-node-expanded":expanded.value,"data-tree-node-selected":selected.value,"data-tree-node-parent-path":parentPathString.value,"data-tree-node-path":pathString.value,"data-tree-node":``},[unref($templates).node?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).node),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`div`,_hoisted_2$268,[__props.node.children&&unref($templates).toggle?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).toggle),{key:0,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`])):(openBlock(),createElementBlock(`span`,{key:1,class:`node-toggle`,onClick:_cache[0]||=()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},disabled:__props.node.disabled},[__props.node.children?(openBlock(),createBlock(unref(bngIcon_default),{key:0,"bng-nav-item":``,type:expanded.value?unref(icons).arrowSmallDown:unref(icons).arrowSmallRight},null,8,[`type`])):createCommentVNode(``,!0)],8,_hoisted_3$234)),unref($templates).content?(openBlock(),createBlock(resolveDynamicComponent(unref($templates).content),{key:2,node:__props.node,parentNode:__props.parentNode,expanded:expanded.value,selected:selected.value,expand:()=>expandable.value?unref(_expandFn)(__props.node,nodeProps.value):{},select:()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},null,8,[`node`,`parentNode`,`expanded`,`selected`,`expand`,`select`])):(openBlock(),createElementBlock(`span`,{key:3,"bng-nav-item":``,class:`node-content`,onClick:_cache[1]||=()=>selectable.value?unref(_selectFn)(__props.node,nodeProps.value):{}},toDisplayString(__props.node.label),1))])),expanded.value&&__props.node.children?(openBlock(),createElementBlock(`ul`,_hoisted_4$199,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.node.children,childNode=>(openBlock(),createBlock(_component_TreeNode,{key:childNode[__props.keyName],node:childNode,parentNode:__props.node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:__props.expandedKeys,selectedKeys:__props.selectedKeys,parentPath:path.value},null,8,[`node`,`parentNode`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`,`parentPath`]))),128))])):createCommentVNode(``,!0)],8,_hoisted_1$338)}}},treeNode_default=__plugin_vue_export_helper_default(_sfc_main$389,[[`__scopeId`,`data-v-aeb14cdb`]]),_hoisted_1$337={class:`tree`},SELECT_SINGLE=`single`,SELECT_MULTIPLE=`multi`,SELECT_PROP=`prop`,SELECT_MODES=[SELECT_SINGLE,SELECT_MULTIPLE,SELECT_PROP],EXPAND_MODEL=`model`,EXPAND_PROP=`prop`,EXPAND_MODES=[EXPAND_MODEL,EXPAND_PROP],_sfc_main$388={__name:`tree`,props:mergeModels({nodes:{type:Array,required:!0},keyName:{type:String,default:`key`},expandMode:{type:String,default:EXPAND_MODEL,validator(value){return EXPAND_MODES.includes(value)}},selectMode:{type:String,validator(value){return SELECT_MODES.includes(value)}}},{expandedKeys:{},expandedKeysModifiers:{},selectedKeys:{},selectedKeysModifiers:{}}),emits:mergeModels([`update:expandedKeys`,`node-expanded`,`node-collapsed`,`expanded-keys-changed`,`node-selected`,`node-unselected`,`selected-keys-changed`],[`update:expandedKeys`,`update:selectedKeys`]),setup(__props,{emit:__emit}){let props=__props,expandedKeys=useModel(__props,`expandedKeys`),selectedKeys=useModel(__props,`selectedKeys`),emit$1=__emit;onBeforeMount(()=>{provide(`$templates`,useSlots()),provide(`expandFn`,expand),provide(`selectFn`,select)});function expand(node,nodeProps){let nodeKey=node[props.keyName];if(props.expandMode===EXPAND_PROP)node.expanded?emit$1(`node-collapsed`,node,nodeProps):emit$1(`node-expanded`,node,nodeProps);else{if(!expandedKeys.value)throw Error(`v-model:expandedKeys must be set`);let expanded=expandedKeys.value.includes(nodeKey),updatedExpandedKeys;expanded?(updatedExpandedKeys=expandedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-collapsed`,node,nodeProps)):(updatedExpandedKeys=[...expandedKeys.value,nodeKey],emit$1(`node-expanded`,node,nodeProps)),expandedKeys.value=updatedExpandedKeys,emit$1(`expanded-keys-changed`,updatedExpandedKeys)}}function select(node,nodeProps){console.log(`select`,node);let nodeKey=node[props.keyName];if(props.selectMode===SELECT_PROP)node.selected?emit$1(`node-selected`,node,nodeProps):emit$1(`node-unselected`,node,nodeProps);else{if(!selectedKeys.value)throw Error(`v-model:selectedKeys must be set`);let selected=selectedKeys.value.includes(nodeKey),updatedSelectedKeys;selected?(updatedSelectedKeys=selectedKeys.value.filter(x=>x!==nodeKey),emit$1(`node-unselected`,node,nodeProps)):props.selectMode===`single`?(updatedSelectedKeys=[nodeKey],emit$1(`node-selected`,node,nodeProps)):props.selectMode===`multi`&&(updatedSelectedKeys=[...selectedKeys.value,nodeKey],emit$1(`node-selected`,node,nodeProps)),selectedKeys.value=updatedSelectedKeys,emit$1(`selected-keys-changed`,updatedSelectedKeys)}}return(_ctx,_cache)=>(openBlock(),createElementBlock(`ul`,_hoisted_1$337,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.nodes,node=>(openBlock(),createBlock(treeNode_default,{key:node[__props.keyName],node,keyName:__props.keyName,selectMode:__props.selectMode,expandMode:__props.expandMode,expandedKeys:expandedKeys.value,selectedKeys:selectedKeys.value},null,8,[`node`,`keyName`,`selectMode`,`expandMode`,`expandedKeys`,`selectedKeys`]))),128))]))}},tree_default=__plugin_vue_export_helper_default(_sfc_main$388,[[`__scopeId`,`data-v-7363528a`]]);const DEMOS$1={};var utility_exports=__export({Accordion:()=>accordion_default,AccordionItem:()=>accordionItem_default,AccordionTree:()=>accordionTree_default,AspectRatio:()=>aspectRatio_default,Carousel:()=>carousel_default,CarouselItem:()=>carouselItem_default,DEMOS:()=>DEMOS$1,DRAWER_POSITION:()=>DRAWER_POSITION,Drawer:()=>drawer_default,DynamicComponent:()=>dynamicComponent_default,Shelf:()=>shelf_default,SlotSwitcher:()=>slotSwitcher_default,Tab:()=>tab_default,TabList:()=>tabList_default,Tabs:()=>tabs_default,TextScroller:()=>textScroller_default,Tree:()=>tree_default,TreeNode:()=>treeNode_default}),_hoisted_1$336={class:`actions-drawer`},_sfc_main$387={__name:`bngActionsDrawer`,props:{header:{type:String,required:!0},headerActions:Array,showHeaderActions:{type:Boolean,default:!0},grouped:Boolean,actions:{type:[Array,Object],required:!0},selected:{type:[String,Number]},expanded:Boolean},emits:[`actionClick`,`headerActionClicked`,`categoryChanged`],setup(__props,{emit:__emit}){let emit$1=__emit,onActionClicked=action=>emit$1(`actionClick`,action);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$336,[createVNode(unref(bngDrawerOld_default),null,createSlots({header:withCtx(()=>[createTextVNode(toDisplayString(__props.header),1)]),content:withCtx(()=>[__props.grouped?(openBlock(),createBlock(unref(tabs_default),{key:0,class:`categories-tab bng-tabs`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,category=>(openBlock(),createBlock(unref(tab_default),{key:category.category,heading:category.category},{default:withCtx(()=>[(openBlock(),createBlock(unref(bngActionsList_default),{key:category.category,actions:category.items,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[0]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},1032,[`heading`]))),128))]),_:1})):(openBlock(),createBlock(unref(bngActionsList_default),{key:1,actions:__props.actions,selected:__props.selected,class:normalizeClass({expanded:__props.expanded}),onActionClick:_cache[1]||=value=>onActionClicked(value)},null,8,[`actions`,`selected`,`class`]))]),_:2},[__props.showHeaderActions&&__props.headerActions?{name:`headerOptions`,fn:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.headerActions,action=>(openBlock(),createBlock(unref(bngButton_default),{key:action.value,tabindex:`1`,accent:action.accent,onClick:$event=>_ctx.$emit(`headerActionClicked`,action.value)},{default:withCtx(()=>[createTextVNode(toDisplayString(action.label),1)]),_:2},1032,[`accent`,`onClick`]))),128))]),key:`0`}:void 0]),1024)]))}},bngActionsDrawer_default=__plugin_vue_export_helper_default(_sfc_main$387,[[`__scopeId`,`data-v-b433a352`]]),_hoisted_1$335={class:`header-wrapper`},_hoisted_2$267={class:`drawer-content`},_hoisted_3$233={key:0,class:`filters-wrapper`},_hoisted_4$198={class:`drawer-actions-wrapper`},_hoisted_5$168={key:0,class:`action-divider`},_hoisted_6$143={key:1,class:`progress-indicator`},_sfc_main$386={__name:`bngActionsDrawerOne`,props:{value:{type:Object,required:!0},flattenChildren:Boolean,allowOpenDrawer:Boolean,openDrawerLabel:String,closeDrawerLabel:String,loading:Boolean,header:String,blur:Boolean},emits:[`update:currentActionPath`,`update:loading`,`actionClicked`,`actionItemChanged`,`drawerOpened`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,drawerState=reactive({isOpenCatalog:!1,currentPath:[],drawerFilters:[]}),currentActionPath=computed({get:()=>drawerState.currentPath,set:newValue=>{drawerState.currentPath=newValue}}),parentAction=computed(()=>{if(!currentActionPath.value||currentActionPath.value.length===0)return null;let currentAction$1=props.value;for(let key of currentActionPath.value.slice(0,-1))currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),currentAction=computed(()=>{let currentAction$1=props.value;for(let key of currentActionPath.value)currentAction$1=currentAction$1.items.find(x=>x.value===key);return currentAction$1}),isDrawerOpen=computed({get:()=>drawerState.isOpenCatalog,set:newValue=>{drawerState.isOpenCatalog=newValue,emit$1(`drawerOpened`,newValue)}}),loading=computed({get:()=>props.loading,set:newValue=>emit$1(`update:loading`,newValue)}),canViewCatalogDisplayMode=computed(()=>(console.log(`canViewCatalogDisplayMode`),loading.value===!0||currentAction.value.allowOpenDrawer===!1?!1:(console.log(`currentAction`,currentAction.value),currentAction.value.items.every(x=>x.lazyLoadItems===!0||x.items)))),drawerFilterValue=computed({get:()=>drawerState.drawerFilters&&drawerState.drawerFilters.length>0?drawerState.drawerFilters[0]:null,set:newValue=>{drawerState.drawerFilters=newValue?[newValue]:[]}}),catalogFilters=computed(()=>{let activeAction=isDrawerOpen.value?parentAction.value:currentAction.value;return activeAction.items.every(x=>x.items&&x.items.length>0||x.lazyLoadItems)?activeAction.items.map(x=>({label:x.label,value:x.value})):[]}),showBackButton=computed(()=>currentActionPath.value.length>0);watch(drawerFilterValue,(newValue,oldValue)=>{console.log(`drawerFilterValue`,newValue,oldValue),newValue&&!oldValue?currentActionPath.value=[...currentActionPath.value,newValue]:newValue&&oldValue?currentActionPath.value=[...currentActionPath.value.slice(0,-1),newValue]:!newValue&&oldValue&&(currentActionPath.value=[...currentActionPath.value].slice(0,-1))}),watch(currentActionPath,()=>{emit$1(`actionItemChanged`,currentAction.value,currentActionPath.value)});let selectAction=actionItem=>{(actionItem.items&&actionItem.items.length>0||actionItem.lazyLoadItems===!0)&&(isDrawerOpen.value&&=!1,currentActionPath.value=[...currentActionPath.value,actionItem.value]),emit$1(`actionClicked`,actionItem)},toggleOpenCatalog=()=>{isDrawerOpen.value?closeDrawer():openDrawer()},goBack=()=>{isDrawerOpen.value?closeDrawer():currentActionPath.value=[...currentActionPath.value].slice(0,-1)};function openDrawer(){drawerFilterValue.value=catalogFilters.value[0].value,isDrawerOpen.value=!0}function closeDrawer(){drawerFilterValue.value=null,isDrawerOpen.value=!1}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-actions-drawer`,{expanded:isDrawerOpen.value}])},[createVNode(unref(bngDrawerOld_default),{blur:__props.blur,class:`bng-drawer`},{header:withCtx(()=>[renderSlot(_ctx.$slots,`header`,{actionItem:currentAction.value,canGoBack:showBackButton.value,goBack},()=>[createBaseVNode(`div`,_hoisted_1$335,[showBackButton.value?(openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).arrowLargeLeft,accent:unref(ACCENTS).secondary,class:`back-btn`,onClick:goBack},{default:withCtx(()=>[..._cache[1]||=[createTextVNode(`Back`,-1)]]),_:1},8,[`icon`,`accent`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(currentAction.value.label),1)])],!0)]),content:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$267,[drawerState.isOpenCatalog&&catalogFilters.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_3$233,[createVNode(unref(bngPillFilters_default),{modelValue:drawerState.drawerFilters,"onUpdate:modelValue":_cache[0]||=$event=>drawerState.drawerFilters=$event,options:catalogFilters.value},null,8,[`modelValue`,`options`])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$198,[createBaseVNode(`div`,{class:normalizeClass([`drawer-actions`,{expanded:drawerState.isOpenCatalog}])},[loading.value?(openBlock(),createElementBlock(`div`,_hoisted_6$143,[..._cache[2]||=[createBaseVNode(`div`,{class:`loader`},null,-1)]])):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(currentAction.value.items,action=>(openBlock(),createElementBlock(Fragment,{key:action.value},[action.type===`actionDivider`?(openBlock(),createElementBlock(`div`,_hoisted_5$168,toDisplayString(action.label),1)):renderSlot(_ctx.$slots,`item`,{key:1,actionItem:action,onClick:()=>selectAction(action)},()=>[createVNode(unref(bngImageTile_default),{label:action.label,icon:action.icon,onClick:$event=>selectAction(action)},null,8,[`label`,`icon`,`onClick`])],!0)],64))),128))],2)]),canViewCatalogDisplayMode.value?renderSlot(_ctx.$slots,`footer`,{key:1},()=>[createVNode(unref(bngButton_default),{class:`catalog-btn`,accent:unref(ACCENTS).outlined,onClick:toggleOpenCatalog},{default:withCtx(()=>[drawerState.isOpenCatalog?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.closeDrawerLabel?__props.closeDrawerLabel:`Collapse catalog`),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(__props.openDrawerLabel?__props.openDrawerLabel:`Open full catalog`),1)],64))]),_:1},8,[`accent`])],!0):createCommentVNode(``,!0)])]),_:3},8,[`blur`])],2))}},bngActionsDrawerOne_default=__plugin_vue_export_helper_default(_sfc_main$386,[[`__scopeId`,`data-v-529c2a59`]]),_hoisted_1$334={class:`actions`},_sfc_main$385={__name:`bngActionsList`,props:{actions:{type:Array,required:!0},selected:{type:[String,Number],required:!1}},emits:[`actionClick`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$334,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.actions,action=>(openBlock(),createBlock(unref(bngImageTile_default),mergeProps({class:`action-tile`,tabindex:`0`,key:action.value},{ref_for:!0},action,{"bng-nav-item":``,onClick:$event=>emit$1(`actionClick`,action.value)}),null,16,[`onClick`]))),128))]))}},bngActionsList_default=__plugin_vue_export_helper_default(_sfc_main$385,[[`__scopeId`,`data-v-8790d45d`]]),_hoisted_1$333=[`ui-event`],_hoisted_2$266={key:0},_hoisted_3$232={key:3,class:`combo-separator`},MULTI_ID=`[PLUS]`,MULTI_LABEL=`+`,_sfc_main$384={__name:`bngBinding`,props:{action:String,showUnassigned:Boolean,device:[String,Array],deviceKey:String,dark:Boolean,deviceMask:[String,Function],controller:Boolean,uiEvent:String,trackIgnore:Boolean,unassignedText:{default:`[N/A]`,type:String},viewerObj:Object,imagePack:String,actionVariants:Boolean,useLastDevice:{type:Boolean,default:!0},vertical:Boolean},setup(__props,{expose:__expose}){let $simplemenu=inject(`$simplemenu`),Controls=controls_default(),{showIfController,lastControllersSignature}=storeToRefs(Controls),props=__props,iconColors={dark:`var(--bng-off-black)`,light:`var(--bng-off-white)`},iconColor=computed(()=>iconColors[props.dark?`dark`:`light`]);computed(()=>iconColors[props.dark?`light`:`dark`]);let controllerOnly=computed(()=>props.controller||$simplemenu.value),LABELS_BIG=[`enter`,`tab`,`capslock`,`backspace`,`lshift`,`rshift`,`left`,`right`,`up`,`down`,`space`,`grave`,`comma`,`period`].map(c=>CONTROL_LABELS[c]||c),LABELS_OFFSET=[`space`].map(c=>CONTROL_LABELS[c]||c),rgxSanitize$1=s=>s.replace(/[-.+*$^?:|[\](){}]/g,`\\$&`),LABELS_RGX=RegExp(`(`+[MULTI_ID,...LABELS_BIG,...LABELS_OFFSET].map(rgxSanitize$1).join(`|`)+`)`,`g`),viewerObj=computed(()=>{if(props.viewerObj)return props.viewerObj;if(controllerOnly.value&&showIfController.value){let opts={...props};return opts.controller=!0,opts._controllerSignature=lastControllersSignature.value,Controls.makeViewerObj(opts)}return Controls.makeViewerObj(props)}),viewerVariants=computed(()=>{if(!viewerObj.value)return[];let variants=viewerObj.value.variants||[viewerObj.value];variants=variants.map(obj=>obj.multiControls||[obj]);for(let objs of variants)for(let obj of objs)if(obj&&(!obj.special||obj.ownLabel)&&!obj.controlSegments){let control=obj.ownLabel||obj.control;control=control.replace(/ \+ /g,MULTI_ID),obj.controlSegments=String(control).split(LABELS_RGX).filter(Boolean).map(segment=>({value:segment===MULTI_ID?MULTI_LABEL:segment,class:(LABELS_BIG.includes(segment)?`label-bigger `:``)+(LABELS_OFFSET.includes(segment)?`label-offset `:``)+(segment===MULTI_ID?`label-multi `:``)}))}return variants}),display=computed(()=>{let res=!!viewerObj.value;if(viewerObj.value)if(props.deviceMask){let dev=viewerObj.value.devName;res=typeof props.deviceMask==`function`?props.deviceMask(dev):dev.startsWith(props.deviceMask)}else controllerOnly.value&&(res=showIfController.value);return res||props.showUnassigned});__expose({displayed:display});let eventName=computed(()=>props.action?props.action:props.uiEvent?props.uiEvent:null),uiNavTracker=useUINavTracker(),ownerId$1=uniqueId(`bngBinding`),trackedEvent=``,track$1=(eventName$1=null)=>{if(trackedEvent&&=(uiNavTracker.removeIgnore(trackedEvent,ownerId$1),``),!(props.trackIgnore||!display.value)&&eventName$1){if(trackedEvent===eventName$1)return;trackedEvent=eventName$1,uiNavTracker.addIgnore(trackedEvent,ownerId$1)}};return watch(()=>props.trackIgnore,val=>track$1(val?null:eventName.value)),watch(display,()=>track$1(eventName.value)),watch(eventName,(val,prev)=>{prev&&track$1(),val&&track$1(val)}),onMounted(()=>track$1(eventName.value)),onUnmounted(()=>track$1()),(_ctx,_cache)=>display.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`binding-wrapper`,{"binding-theme-dark":__props.dark,"binding-theme-light":!__props.dark,"with-variants":viewerVariants.value.length>1,vertical:__props.vertical}]),"ui-event":__props.uiEvent},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerVariants.value,(viewerObjs,index)=>(openBlock(),createElementBlock(`span`,{key:index,class:normalizeClass([`binding-container`,{"combo-binding":viewerObjs.length>1}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObjs,(viewerObj$1,index$1)=>(openBlock(),createElementBlock(Fragment,{key:index$1},[viewerObj$1&&viewerObj$1.controlSegments?(openBlock(),createElementBlock(`kbd`,_hoisted_2$266,[(openBlock(!0),createElementBlock(Fragment,null,renderList(viewerObj$1.controlSegments,(seg,i)=>(openBlock(),createElementBlock(`span`,{key:i,class:normalizeClass(seg.class)},toDisplayString(seg.value),3))),128))])):viewerObj$1&&viewerObj$1.special?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`bng-binding-icon`,type:unref(icons)[viewerObj$1.ownIcon],color:iconColor.value},null,8,[`type`,`color`])):!viewerObj$1&&__props.showUnassigned?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`bng-binding-icon n-a`,type:unref(icons).NA,color:iconColor.value},null,8,[`type`,`color`])):createCommentVNode(``,!0),index$1Number(val)>0},simple:Boolean,blur:Boolean,disableLastItem:Boolean,showBackButton:Boolean,showBackBinding:{type:Boolean,default:!0},navigable:{type:Boolean,default:!0}},emits:[`click`,`back`],setup(__props,{emit:__emit}){let bid=uniqueId(`bng-path`),emit$1=__emit,props=__props,pathView=computed(()=>{if(!Array.isArray(props.items))return[];let mapItem=itm=>({label:itm.label,items:itm.items,data:itm,dividerType:itm.dividerType}),items$2=props.items.map(mapItem),res=props.limit?items$2.slice(-props.limit):items$2;if(!props.simple){let looseCmp=(a$1,b)=>a$1.label===b.label&&a$1.value===b.value,len=res.length;for(let i=1;ilooseCmp(itm,res[idx])),items:items$3.map(mapItem)})}}return props.limit&&items$2.length>props.limit&&res.unshift({label:`…`,data:items$2[items$2.length-props.limit-1]}),res.length>0&&(res[0].first=!0,res.at(-1).last=!0),res});function onClick(item,index){(!props.disableLastItem||index(openBlock(),createElementBlock(`div`,{class:`bng-path`,"bng-no-child-nav":!__props.navigable},[__props.showBackButton?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`back-button`,accent:unref(ACCENTS).custom,onClick:_cache[0]||=$event=>emit$1(`back`),tabindex:`1`},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallLeft,class:`back-icon`},null,8,[`type`]),__props.showBackBinding?(openBlock(),createBlock(unref(bngBinding_default),{key:0,"ui-event":`back`,controller:``,"track-ignore":``})):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.back`)),1)]),_:1},8,[`accent`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(pathView.value,(item,index)=>(openBlock(),createElementBlock(Fragment,{key:index},[item.dropdown?(openBlock(),createElementBlock(Fragment,{key:1},[withDirectives(createVNode(unref(bngButton_default),{class:`bng-path-item bng-path-has-dropdown`,accent:unref(ACCENTS).text,icon:unref(icons).arrowSmallRight},null,8,[`accent`,`icon`]),[[unref(BngBlur_default),__props.blur],[unref(BngPopover_default),item.dropdown,`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverMenu_default),{name:item.dropdown,focus:``},{default:withCtx(({hide:hide$2})=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(item.items,(subitem,idx)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:idx,class:normalizeClass({selected:idx===item.selected}),accent:unref(ACCENTS).menu,onClick:$event=>onMenuClick(subitem,hide$2)},{default:withCtx(()=>[createTextVNode(toDisplayString(subitem.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))]),_:2},1032,[`name`])],64)):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:normalizeClass([`bng-path-item`,{"bng-path-simple":__props.simple,"bng-path-disabled":__props.disableLastItem&&item.last,"bng-path-first":item.first,"bng-path-last":item.last}]),accent:unref(ACCENTS).text,onClick:$event=>onClick(item,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(item.label),1)]),_:2},1032,[`class`,`accent`,`onClick`])),[[unref(BngBlur_default),__props.blur]]),__props.simple&&!item.last?(openBlock(),createElementBlock(`div`,_hoisted_2$265,[withDirectives(createVNode(unref(bngIcon_default),{type:item.dividerType||unref(icons).slashRight},null,8,[`type`]),[[unref(BngBlur_default),__props.blur]])])):createCommentVNode(``,!0)],64))],64))),128))],8,_hoisted_1$332))}},bngBreadcrumbs_default=__plugin_vue_export_helper_default(_sfc_main$383,[[`__scopeId`,`data-v-4a2e18d5`]]),_hoisted_1$331=[`accent`,`disabled`],_hoisted_2$264={key:0,class:`hold-arrow`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 12`,preserveAspectRatio:`xMidYMid`},_hoisted_3$231={key:3,class:`label`},_hoisted_4$197={key:5,class:`label`},_hoisted_5$167={key:6};const ACCENTS={main:`main`,secondary:`secondary`,outlined:`outlined`,text:`text`,attention:`attention`,attentionghost:`attentionghost`,attentionoutlined:`attentionoutlined`,ghost:`ghost`,menu:`menu`,custom:`custom`};var _sfc_main$382={__name:`bngButton`,props:{accent:{type:String,default:`main`,validator:v=>Object.values(ACCENTS).includes(v)||v===``},iconLeft:[Object,String],iconRight:[Object,String],label:String,icon:[Object,String],externalIcon:String,showHold:Boolean,holdVertical:Boolean,disabled:Boolean,noSound:Boolean},setup(__props,{expose:__expose}){let slots=useSlots(),uiNavEvent=ref(),btnDOMElRef=ref(),attrs=useAttrs(),useOldIcons=computed(()=>`oldIcons`in attrs);watchUINavEventChange(btnDOMElRef,({eventName,action})=>{}),__expose({getElement(){return btnDOMElRef.value}});let isPlainTextSlot=ref(!1);function checkIfPlainText(){let slotContent=slots.default?slots.default():[];isPlainTextSlot.value=slotContent.length===1&&typeof slotContent[0].type==`symbol`&&String(slotContent[0].type).indexOf(`v-txt`)>-1&&slotContent[0].children.trim().length>0}watch(()=>slots.default,checkIfPlainText),checkIfPlainText();let props=__props,needsFallbackHoldOffset=ref(!0);return watchEffect(()=>{btnDOMElRef.value&&props.accent===`custom`&&window.getComputedStyle(btnDOMElRef.value).getPropertyValue(`--bng-button-custom-hold-offset`).trim()&&(needsFallbackHoldOffset.value=!1)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`button`,{ref_key:`btnDOMElRef`,ref:btnDOMElRef,accent:__props.accent,class:normalizeClass({"show-hold":__props.showHold,"hold-vertical":__props.holdVertical,"bng-button":!0,empty:!unref(slots).default&&!__props.label,"l-icon":__props.iconLeft||__props.icon,"r-icon":__props.iconRight,"external-icon":__props.externalIcon,"fallback-hold-offset":props.accent===`custom`&&needsFallbackHoldOffset.value}),disabled:__props.disabled},[__props.showHold?(openBlock(),createElementBlock(`svg`,_hoisted_2$264,[..._cache[0]||=[createBaseVNode(`path`,{d:`M1,1 L8,2 L16,1 L8,11 z`},null,-1)]])):createCommentVNode(``,!0),useOldIcons.value&&(__props.iconLeft||__props.icon)?(openBlock(),createBlock(unref(bngOldIcon_default),{key:1,type:__props.iconLeft||__props.icon},null,8,[`type`])):!useOldIcons.value&&(__props.iconLeft||__props.icon||__props.externalIcon)?(openBlock(),createBlock(unref(bngIcon_default),{key:2,class:`icon`,type:__props.iconLeft||__props.icon,externalImage:__props.externalIcon},null,8,[`type`,`externalImage`])):createCommentVNode(``,!0),isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_3$231,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):isPlainTextSlot.value?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`default`,{key:4},void 0,!0),__props.label&&!isPlainTextSlot.value?(openBlock(),createElementBlock(`span`,_hoisted_4$197,toDisplayString(__props.label),1)):createCommentVNode(``,!0),uiNavEvent.value?(openBlock(),createElementBlock(`span`,_hoisted_5$167,toDisplayString(uiNavEvent.value),1)):createCommentVNode(``,!0),useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngOldIcon_default),{key:7,span:``,type:__props.iconRight},null,8,[`type`])):!useOldIcons.value&&__props.iconRight?(openBlock(),createBlock(unref(bngIcon_default),{key:8,class:`icon`,type:__props.iconRight},null,8,[`type`])):createCommentVNode(``,!0),_cache[1]||=createBaseVNode(`div`,{class:`background`},null,-1)],10,_hoisted_1$331)),[[unref(BngSoundClass_default),!__props.disabled&&!__props.noSound&&`bng_click_hover_generic`]])}},bngButton_default=__plugin_vue_export_helper_default(_sfc_main$382,[[`__scopeId`,`data-v-8b356414`]]),_hoisted_1$330={class:`card-cnt`},ANIMATION_TYPES=[`fade`,`slide`],_sfc_main$381={__name:`bngCard`,props:{backgroundImage:String,footerStyles:Object,hideFooter:Boolean,animateFooter:Boolean,animateFooterType:{type:String,default:`fade`,validator:value=>ANIMATION_TYPES.includes(value)}},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v3c03b7b2:backgroundImageStyle.value}));let props=__props,slots=useSlots(),hasFooter=computed(()=>(slots.footer||slots.buttons)&&!props.hideFooter),buttonsContainer=ref(),backgroundImageStyle=computed(()=>props.backgroundImage?`url('${props.backgroundImage}')`:``);return __expose({buttonsContainer}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-card bng-card-wrapper`,{"with-background-image":backgroundImageStyle.value}])},[createBaseVNode(`div`,_hoisted_1$330,[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card`,-1)],!0)]),createVNode(Transition,{name:__props.animateFooter?__props.animateFooterType:``},{default:withCtx(()=>[hasFooter.value?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`buttonsContainer`,ref:buttonsContainer,class:`footer-container`,style:normalizeStyle(__props.footerStyles)},[renderSlot(_ctx.$slots,`buttons`,{},void 0,!0),renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],4)):createCommentVNode(``,!0)]),_:3},8,[`name`])],2))}},bngCard_default=__plugin_vue_export_helper_default(_sfc_main$381,[[`__scopeId`,`data-v-32edaae4`]]),_sfc_main$380={__name:`bngCardHeading`,props:{type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`,`none`].includes(v)||v===``},outline:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`h2`,{class:normalizeClass({"card-heading":!0,[`heading-style-${__props.type}`]:!0,outline:__props.outline})},[renderSlot(_ctx.$slots,`default`,{},()=>[_cache[0]||=createTextVNode(`BNG Card Heading`,-1)],!0)],2))}},bngCardHeading_default=__plugin_vue_export_helper_default(_sfc_main$380,[[`__scopeId`,`data-v-fc76db37`]]),_hoisted_1$329={key:0,class:`colour-picker-switch`};const VIEWS={simple:{slider:!0,picker:!1,saturation:!1,luminosity:!1},compact_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1,compact:!0},compact_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0,compact:!0},saturation:{slider:!1,picker:!0,saturation:!0,luminosity:!1},luminosity:{slider:!1,picker:!0,saturation:!1,luminosity:!0},full_saturation:{slider:!0,picker:!0,saturation:!0,luminosity:!1},full_luminosity:{slider:!0,picker:!0,saturation:!1,luminosity:!0}};var valuesDef={hue:.5,saturation:1,luminosity:.5},_sfc_main$379={__name:`bngColorPicker`,props:{modelValue:{type:Object,default:{...valuesDef}},view:{type:[String,Object],default:`full_luminosity`,validator:val=>typeof val==`string`||val in VIEWS},showText:{type:Boolean,default:!0},step:{type:Number,default:.001},disabled:Boolean},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let $simplemenu=inject(`$simplemenu`),props=__props,sliderIndicator=`popout`,pickerMode=ref(`luminosity`),opts=ref({}),values=reactive({...valuesDef}),colorDot=ref({x:0,y:0});watch([()=>props.view,$simplemenu],()=>{if(typeof props.view==`string`)for(let key in VIEWS[props.view])opts.value[key]=VIEWS[props.view][key];else opts.value={...VIEWS[props.view]};$simplemenu.value?(opts.value.picker=!1,opts.value.compact&&(opts.value.slider=!0)):opts.value.compact&&loadCompactMode(),opts.value.picker&&setColorDot()},{immediate:!0});function updColour(){for(let key in values)values[key]=props.modelValue[key];opts.value.picker&&setColorDot()}watch(()=>props.modelValue,updColour),watch(()=>props.modelValue.hue,updColour),watch(()=>props.modelValue.saturation,updColour),watch(()=>props.modelValue.luminosity,updColour);let current=computed(()=>({hue:~~(values.hue*360),saturation:~~(values.saturation*100),luminosity:~~(values.luminosity*100)})),emitter=__emit;function notify(){for(let key in values)props.modelValue[key]=values[key];emitter(`change`,props.modelValue),emitter(`update:modelValue`,props.modelValue)}let hueLoop=[...Array(7)].map((_,i)=>i/6*360),gradients=reactive({hueStatic:hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`),hue:computed(()=>hueLoop.map(hue=>`hsl(${hue}, 100%, 50%)`)),overlaySaturation:[`hsla(0, 0%,  0%, 0)`,`hsla(0, 0%, 50%, 1)`],overlayLuminosity:[`hsla(0, 0%, 100%, 1)`,`hsla(0, 0%, 100%, 0) 50%`,`hsla(0, 0%,   0%, 0) 50%`,`hsla(0, 0%,   0%, 1)`],pickerOverlay:computed(()=>opts.value.saturation?gradients.overlaySaturation:gradients.overlayLuminosity),saturation:computed(()=>[`hsl(${current.value.hue},   0%, ${current.value.luminosity}%)`,`hsl(${current.value.hue}, 100%, ${current.value.luminosity}%)`]),luminosity:computed(()=>[`hsl(${current.value.hue}, ${current.value.saturation}%,   0%)`,`hsl(${current.value.hue}, ${current.value.saturation}%,  50%)`,`hsl(${current.value.hue}, ${current.value.saturation}%, 100%)`])}),isMousedown=!1;function onMousedown(){isMousedown=!0}function onMousemove(evt){updateColor(evt)}function onMouseupLeave(evt){updateColor(evt,!0)}function getPosition(evt){let rect=evt.target.getBoundingClientRect();return rect.width<20?colorDot.value:{x:(evt.x-rect.left)/rect.width*100,y:(evt.y-rect.top)/rect.height*100}}function updateColor(evt,mouseLeave=!1){if(!isMousedown)return;mouseLeave&&(isMousedown=!1);let pos=getPosition(evt);values.hue=Math.max(0,Math.min(pos.x,100))/100;let secondary=1-Math.max(0,Math.min(pos.y,100))/100;opts.value.saturation?values.saturation=secondary:values.luminosity=secondary,setColorDot(),nextTick(notify)}function setColorDot(){colorDot.value={x:values.hue*100,y:(1-(opts.value.saturation?values.saturation:values.luminosity))*100}}function toggleCompactMode(){opts.value.slider=!opts.value.slider,opts.value.picker=!opts.value.picker,saveCompactMode()}function togglePickerMode(){pickerMode.value=pickerMode.value===`luminosity`?`saturation`:`luminosity`,opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,saveCompactMode()}function loadCompactMode(){let readOption=(name,val=null)=>JSON.parse(localStorage.getItem(name)||JSON.stringify(val));opts.value.picker=readOption(`bngColorPicker-picker`,!0),opts.value.slider=readOption(`bngColorPicker-slider`,!1),pickerMode.value=readOption(`bngColorPicker-picker-mode`,`luminosity`),opts.value.luminosity=pickerMode.value===`luminosity`,opts.value.saturation=pickerMode.value===`saturation`,!opts.value.luminosity&&!opts.value.saturation&&(opts.value.luminosity=!0)}function saveCompactMode(){let saveOption=(name,val)=>localStorage.setItem(name,JSON.stringify(val));saveOption(`bngColorPicker-picker`,opts.value.picker),saveOption(`bngColorPicker-slider`,opts.value.slider),saveOption(`bngColorPicker-picker-mode`,pickerMode.value)}return onMounted(()=>{updColour(),!$simplemenu.value&&opts.value.compact&&loadCompactMode()}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"colour-picker-container":!0,"colour-picker-mode-picker":opts.value.picker,"colour-picker-mode-slider":opts.value.slider,"colour-picker-mode-compact":opts.value.compact})},[opts.value.compact?(openBlock(),createElementBlock(`div`,_hoisted_1$329,[_cache[3]||=createBaseVNode(`span`,null,`Custom color`,-1),!unref($simplemenu)&&opts.value.picker?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,accent:unref(ACCENTS).text,icon:unref(icons).materialTransparency01,onClick:togglePickerMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle vertical axis mode to ${pickerMode.value===`luminosity`?`saturation`:`brightness`}`,`top`]]):createCommentVNode(``,!0),unref($simplemenu)?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:opts.value.picker?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:opts.value.picker?unref(icons).materialGlossy:unref(icons).listSmall,onClick:toggleCompactMode},null,8,[`accent`,`icon`])),[[unref(BngTooltip_default),`Toggle picker/slider mode`,`top`]])])):createCommentVNode(``,!0),opts.value.picker?withDirectives((openBlock(),createElementBlock(`div`,{key:1,class:`colour-picker`,onMousemove,onMousedown,onMouseup:onMouseupLeave,onMouseleave:onMouseupLeave,style:normalizeStyle({"--colour-picker-x":`linear-gradient(90deg, ${gradients.hueStatic.join(`, `)})`,"--colour-picker-y":`linear-gradient(180deg, ${gradients.pickerOverlay.join(`, `)})`})},[createBaseVNode(`div`,{class:`colour-picker-dot`,style:normalizeStyle({left:`${colorDot.value.x}%`,top:`${colorDot.value.y}%`,"--colour-picker-dot-fill":`hsl(${current.value.hue}, ${opts.value.saturation?current.value.saturation:100}%, ${opts.value.luminosity?current.value.luminosity:50}%)`})},null,4)],36)),[[unref(BngDisabled_default),__props.disabled]]):createCommentVNode(``,!0),opts.value.slider||opts.value.hue?(openBlock(),createBlock(unref(bngColorSlider_default),{key:2,modelValue:values.hue,"onUpdate:modelValue":_cache[0]||=$event=>values.hue=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.hue,current:`hsl(${current.value.hue}, 100%, 50%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?_ctx.$t(`ui.color.hue`):null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.luminosity?(openBlock(),createBlock(unref(bngColorSlider_default),{key:3,"X:vertical":`opts.picker`,modelValue:values.saturation,"onUpdate:modelValue":_cache[1]||=$event=>values.saturation=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.saturation,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.saturation`)} (${current.value.saturation}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0),opts.value.slider||opts.value.saturation?(openBlock(),createBlock(unref(bngColorSlider_default),{key:4,"X:vertical":`opts.picker`,modelValue:values.luminosity,"onUpdate:modelValue":_cache[2]||=$event=>values.luminosity=$event,modelModifiers:{number:!0},onChange:notify,fill:gradients.luminosity,current:`hsl(${current.value.hue}, ${current.value.saturation}%, ${current.value.luminosity}%)`,indicator:sliderIndicator,step:__props.step,disabled:__props.disabled},{default:withCtx(()=>[createTextVNode(toDisplayString(__props.showText?`${_ctx.$t(`ui.color.brightness`)} (${current.value.luminosity}%)`:null),1)]),_:1},8,[`modelValue`,`fill`,`current`,`step`,`disabled`])):createCommentVNode(``,!0)],2))}},bngColorPicker_default=__plugin_vue_export_helper_default(_sfc_main$379,[[`__scopeId`,`data-v-f4241405`]]),_hoisted_1$328={key:0},_hoisted_2$263=[`min`,`max`,`step`,`tabindex`,`orient`],_hoisted_3$230={key:0,class:`colour-slider-indicator-container`},_sfc_main$378={__name:`bngColorSlider`,props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:1},step:{type:Number,default:.001},fill:{type:Array,default:[`rgb(0,0,0)`,`rgb(255,255,255)`]},current:{type:String,default:null},vertical:Boolean,disabled:Boolean,indicator:{type:String,default:`inner`,validator:val=>[`inner`,`popout`].includes(val)},uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`update:modelValue`,`change`],setup(__props,{emit:__emit}){let props=__props,elSlider=ref(),elIndicator=ref(),tabIndex=computed(()=>props.disabled?-1:0),value=ref(props.modelValue);watch(()=>props.modelValue,val=>value.value=Number(val));let indicatorPos=computed(()=>props.indicator===`popout`?(value.value-props.min)/(props.max-props.min):0),indicatorRot=computed(()=>{if(props.indicator!==`popout`||!elSlider.value||!elIndicator.value||!elSlider.value.getBoundingClientRect||!elIndicator.value.firstChild||!elIndicator.value.firstChild.getBoundingClientRect)return 0;let tilt=40,rot=0,srect=elSlider.value.getBoundingClientRect(),irect=elIndicator.value.firstChild.getBoundingClientRect(),abspos=indicatorPos.value*srect.width,iwidth=irect.width/2;return absposwithDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elSlider`,ref:elSlider,class:`colour-slider`,style:normalizeStyle({"--colour-slider-track-fill":__props.fill&&__props.fill.length>0?`linear-gradient(90deg, ${__props.fill.join(`, `)})`:`transparent`,"--colour-slider-thumb-fill":__props.indicator===`inner`&&__props.current?__props.current:`#000`,"--colour-slider-thumb-size":__props.indicator===`inner`&&__props.current?`1em`:`0.25em`,"--colour-slider-indicator-x":`${indicatorPos.value*100}%`,"--colour-slider-indicator-r":`${indicatorRot.value}deg`})},[_ctx.$slots.default&&!__props.vertical?(openBlock(),createElementBlock(`span`,_hoisted_1$328,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,null,[withDirectives(createBaseVNode(`input`,{type:`range`,min:__props.min,max:__props.max,step:__props.step,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,onInput:notify,onChange:notify,tabindex:tabIndex.value,class:normalizeClass({"colour-slider-vertical":__props.vertical}),orient:__props.vertical?`vertical`:`horizontal`},null,42,_hoisted_2$263),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),__props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:__props.min,max:__props.max,step:()=>+__props.step,...__props.uiNavFocus}:!1,void 0,{repeat:!0}]]),__props.indicator===`popout`?(openBlock(),createElementBlock(`div`,_hoisted_3$230,[createBaseVNode(`div`,{ref_key:`elIndicator`,ref:elIndicator,class:`colour-slider-indicator`},[createVNode(unref(bngIconMarker_default),{marker:`circlePin`,color:[`#fff`,__props.current],class:`colour-slider-indicator-marker`},null,8,[`color`])],512)])):createCommentVNode(``,!0)])],4)),[[unref(BngDisabled_default),__props.disabled]])}},bngColorSlider_default=__plugin_vue_export_helper_default(_sfc_main$378,[[`__scopeId`,`data-v-346533a2`]]),_hoisted_1$327={class:`bng-color-tile`},_sfc_main$377={__name:`bngColorTile`,props:{red:{type:Number},blue:{type:Number},green:{type:Number},alpha:{type:Number,default:1}},setup(__props){useCssVars(_ctx=>({cef4bc4e:backgroundColor.value}));let props=__props,backgroundColor=computed(()=>`rgba(${props.red}, ${props.green}, ${props.blue}, ${props.alpha})`);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$327))}},bngColorTile_default=__plugin_vue_export_helper_default(_sfc_main$377,[[`__scopeId`,`data-v-32089404`]]),_sfc_main$376={__name:`bngCondition`,props:{integrity:{type:Number,default:1},integrityWarning:Boolean,color:{type:[String,Array],default:`#000`},showTooltip:Boolean},setup(__props){let props=__props,integrity=computed(()=>typeof props.integrity==`number`?Math.min(Math.max(props.integrity,0),1):1),tooltip=computed(()=>{if(!props.showTooltip)return;let tip=`${$translate.instant(`ui.condition.integrity`)}: ${~~(integrity.value*100)}%`;return props.integrityWarning&&(tip+=`\n${$translate.instant(`ui.condition.needsRepair`)}`),tip}),cssColour=computed(()=>{let clr=props.color;return Array.isArray(clr)?(clr=[...clr],clr.length>3&&(clr.splice(3),clr.some(c=>c>1)||(clr=clr.map(c=>c*255))),`rgb(${clr.join(`,`)})`):clr}),cssClipPoly=computed(()=>{let val=integrity.value,corners=[`100% 0%`,`100% 100%`,`0% 100%`,`0% 0%`],poly=`0% 0%`;if(val===1)poly=corners.join(`, `);else if(val>0){let deg=(1-val)*360,x=50+50*Math.sin(deg*Math.PI/180),y=50-50*Math.cos(deg*Math.PI/180);poly=`50% 0%, 50% 50%, ${~~x}% ${~~y}%, `+corners.slice(-Math.ceil((360-deg)/90)).join(`, `)}return poly});return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass({"bng-condition":!0,"cond-warn":__props.integrityWarning}),style:normalizeStyle({backgroundColor:cssColour.value,"--bng-condition-clip-path":`polygon(${cssClipPoly.value})`})},null,6)),[[unref(BngTooltip_default),tooltip.value]])}},bngCondition_default=__plugin_vue_export_helper_default(_sfc_main$376,[[`__scopeId`,`data-v-686a3067`]]),SCOPED_CHANGED_EVENT_NAME=`scopeChanged`,EVENT_CROSSFIRE_MAP={ok:`select`,back:`back`,tab_l:`tabLeft`,tab_r:`tabRight`};const CROSSFIRE_HINTS={select:{id:`select`,content:{type:`binding`,props:{uiEvent:`ok`},label:`Select`}},back:{id:`back`,content:{type:`binding`,props:{uiEvent:`back`},label:`Back`}},tabLeft:{id:`tabLeft`,content:{type:`binding`,props:{uiEvent:`tab_l`},label:`Tab left`}},tabRight:{id:`tabRight`,content:{type:`binding`,props:{uiEvent:`tab_r`},label:`Tab right`}}},CROSSFIRE_HINTS_ALL=Object.values(CROSSFIRE_HINTS),DEFAULT_LABELS={focus_u:`ui.inputActions.controllerui.focus_u.title`,focus_r:`ui.inputActions.controllerui.focus_r.title`,focus_d:`ui.inputActions.controllerui.focus_d.title`,focus_l:`ui.inputActions.controllerui.focus_l.title`,pause:`ui.inputActions.general.pause.title`,menu:`ui.inputActions.controllerui.menu.title`,back:`ui.inputActions.controllerui.back.title`,details:`ui.inputActions.controllerui.details.title`,advanced:`ui.inputActions.controllerui.advanced.title`,camera:`ui.inputActions.controllerui.camera.title`,logs:`ui.inputActions.controllerui.logs.title`,tab_l:`ui.inputActions.controllerui.tab_l.title`,tab_r:`ui.inputActions.controllerui.tab_r.title`,modifier:`ui.inputActions.controllerui.modifier.title`,zoom_out:`ui.inputActions.controllerui.zoom_out.title`,zoom_in:`ui.inputActions.controllerui.zoom_in.title`,subtab_l:`ui.inputActions.controllerui.subtab_l.title`,subtab_r:`ui.inputActions.controllerui.subtab_r.title`,center_cam:`ui.inputActions.controllerui.center_cam.title`,action_4:`ui.inputActions.controllerui.action_4.title`,move_ud:`ui.inputActions.controllerui.move_ud.title`,move_lr:`ui.inputActions.controllerui.move_lr.title`,focus_ud:`ui.inputActions.controllerui.focus_ud.title`,focus_lr:`ui.inputActions.controllerui.focus_lr.title`,rotate_h_cam:`ui.inputActions.controllerui.rotate_h_cam.title`,rotate_v_cam:`ui.inputActions.controllerui.rotate_v_cam.title`,ok:`ui.inputActions.controllerui.ok.title`,cancel:`ui.inputActions.controllerui.cancel.title`,action_2:`ui.inputActions.controllerui.action_2.title`,action_3:`ui.inputActions.controllerui.action_3.title`,context:`ui.inputActions.controllerui.context.title`};var HINT_GROUPS=()=>[{names:[`back`,`menu`],label:`ui.inputActions.controllerui.back.title`},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`,`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[`focus_u`,`focus_d`,`focus_r`,`focus_l`],label:`ui.mainmenu.navbar.navigate`},{names:[`focus_lr`,`focus_ud`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0},{names:[SCROLL_EVENT_H,SCROLL_EVENT_V],label:`ui.mainmenu.navbar.scroll_label`,controllerOnly:!0},{names:[`tab_r`,`tab_l`],label:`ui.mainmenu.navbar.navigate`,controllerOnly:!0}],AUTOID=`__auto`,AUTOIDS={binding:`${AUTOID}_binding`,group:`${AUTOID}_group`,labelGroup:`${AUTOID}_label_group`},DISPLAY_ACTION_VARIANTS=!1;const useInfoBar=defineStore(`infoBar`,()=>{let{events:events$3}=useBridge(),Controls=controls_default(),{isControllerUsed,lastDevice}=storeToRefs(Controls),hintGroups=HINT_GROUPS(),visible=ref(!1),showSysInfo=ref(!1),withAngular=ref(!1),hintsList=ref([]),hints=ref([]);watch([isControllerUsed,lastDevice],()=>_groupHints());let getControlGroup=(uiEvents,groupLabel)=>{try{let actions=uiEvents.map(event=>ACTIONS_BY_UI_EVENT[event]).filter(Boolean);if(actions.length!==uiEvents.length)return null;let viewerObjs=actions.map(action=>Controls.makeViewerObj({action,actionVariants:DISPLAY_ACTION_VARIANTS,useLastDevice:!0})).flatMap(vo=>vo?.variants?vo.variants:vo?[vo]:[]),matchingItems=[],devNames=viewerObjs.reduce((res,obj)=>obj&&!res.includes(obj.devName)?[...res,obj.devName]:res,[]);for(let devName of devNames){if(!devName)continue;let devViewerObjs=viewerObjs.filter(obj=>obj&&obj.devName===devName&&obj.ownGroups);if(devViewerObjs.length===0)continue;let groups=devViewerObjs[0].ownGroups,controls$1=devViewerObjs.map(obj=>obj.control);for(let group of groups){if(!group.controls.every(control=>controls$1.includes(control)))continue;controls$1=controls$1.filter(control=>!group.controls.includes(control));let item;item=group.label?{type:`binding`,props:{viewerObj:{icon:devViewerObjs[0].icon,ownLabel:group.label}},label:groupLabel}:{type:`icon`,props:{type:icons[group.icon]},label:groupLabel},matchingItems.push(item)}}return matchingItems.length===0?null:matchingItems.length===1?matchingItems[0]:matchingItems}catch(err){return logger_default.error(`Error in checkForControlGroup:`,err),null}},_groupHints=()=>{let res=[],groupCandidates={},labelGroups={},isCustomLabel=content=>content&&!content.autoLabel&&content?.props?.uiEvent&&content.label!==DEFAULT_LABELS[content?.props?.uiEvent];for(let hint of hintsList.value){let normalizedHint=hint.content?hint:{content:hint},{content}=normalizedHint;if(!content?.props?.uiEvent||!content.label){res.push(normalizedHint);continue}let labelKey=content.label;labelGroups[labelKey]?labelGroups[labelKey].hints.push(normalizedHint):labelGroups[labelKey]={hints:[normalizedHint],position:res.length}}let selectMatchingGroup=matchingGroups=>matchingGroups.length<1||isControllerUsed.value?matchingGroups[0]:matchingGroups.find(group=>!group.controllerOnly)||matchingGroups.at(-1);for(let[label,group]of Object.entries(labelGroups)){let action=group.hints[0].action;if(group.hints.length>1){let events$4=group.hints.map(h$1=>h$1.content.props.uiEvent),matchingGroup=selectMatchingGroup(hintGroups.filter(g=>g.content&&g.names.every(name=>events$4.includes(name))&&events$4.filter(e=>g.names.includes(e)).length===g.names.length));if(matchingGroup){if(matchingGroup.controllerOnly&&!isControllerUsed.value)continue;let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||group.hints[0]?.content?.label,groupEvents=group.hints.map(h$1=>h$1.content.props.uiEvent),labeledBindings=group.hints.map(h$1=>{let newContent={id:h$1.id,type:h$1.content.type,props:{...h$1.content.props}};return newContent.label=isCustomLabel(h$1.content)?h$1.content.label:groupLabel,newContent}),controlGroup=getControlGroup(groupEvents,groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(item=>({...item})):[{...controlGroup}],customLabelItem=group.hints.find(h$1=>isCustomLabel(h$1.content));customLabelItem&&content.forEach(item=>{item.label=customLabelItem.content.label}),res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:labeledBindings,action})}else res.splice(group.position,0,{id:`${AUTOIDS.labelGroup}_${label}`,content:group.hints.map(h$1=>h$1.content),action})}else{let hint=group.hints[0],uiEvent=hint.content?.props?.uiEvent,isNoGroup=uiEvent$1=>uiNavTracker.activeEvents.find(e=>e.name===uiEvent$1)?.nogroup;if(isNoGroup(uiEvent)){res.push(hint);continue}let matchingGroup=selectMatchingGroup(hintGroups.filter(group$1=>group$1.names.includes(uiEvent)));if(!matchingGroup){res.push(hint);continue}let groupId=matchingGroup.names.join(`,`);groupId in groupCandidates||(groupCandidates[groupId]={hints:[],content:[],position:res.length});let groupCandidate=groupCandidates[groupId];if(groupCandidate.hints.push(hint),groupCandidate.content.push(hint.content),groupCandidate.hints.length===matchingGroup.names.length){if(matchingGroup.controllerOnly&&!isControllerUsed.value){delete groupCandidates[groupId];continue}if(groupCandidate.hints.some(h$1=>isNoGroup(h$1.content?.props?.uiEvent)))res.splice(groupCandidate.position,0,...groupCandidate.hints);else{let groupContent=Array.isArray(matchingGroup.content)?matchingGroup.content[0]:matchingGroup.content,groupLabel=matchingGroup.label||groupContent?.label||groupCandidate.hints[0]?.content?.label,labeledContent=groupCandidate.content.map(item=>{let newContent={id:item.id,type:item.type,props:{...item.props}};return isCustomLabel(item)?newContent.label=item.label:newContent.label=groupLabel,newContent}),controlGroup=getControlGroup(groupCandidate.hints.map(h$1=>h$1.content.props.uiEvent),groupLabel);if(controlGroup){let content=Array.isArray(controlGroup)?controlGroup.map(icon=>({...icon})):[{...controlGroup}],customLabelItem=groupCandidate.content.find(item=>isCustomLabel(item));customLabelItem&&content.forEach(icon=>icon.label=customLabelItem.label),res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content,action})}else res.splice(groupCandidate.position,0,{id:`${AUTOIDS.group}_${groupId}`,content:labeledContent,action})}delete groupCandidates[groupId]}}}for(let group of Object.values(groupCandidates))res.splice(group.position,0,...group.hints);hints.value=res},uiNavTracker=useUINavTracker(),clearHints=()=>{hintsList.value=[],_addTrackedEvents()},addHints=(hintOrHints,idOrPos=void 0,before=!1)=>{if(hintOrHints===CROSSFIRE_HINTS_ALL){logger_default.warn(`Approach with CROSSFIRE_HINTS_ALL is deprecated and crossfire hints are added by default.`);return}let toAdd=[hintOrHints].flat().map(hint=>{if(typeof hint!=`object`)return hint;let content=hint.content||hint,uiEvent=content?.props?.uiEvent;return uiEvent&&(content.label||(content.autoLabel=!0,uiEvent in DEFAULT_LABELS?content.label=DEFAULT_LABELS[uiEvent]:content.label=uiEvent.replaceAll(`_`,` `).toUpperCase())),hint});if(idOrPos===void 0)hintsList.value=hintsList.value.concat(toAdd);else if(typeof idOrPos==`number`)hintsList.value.splice(idOrPos,0,...toAdd);else if(typeof idOrPos==`string`){let foundIndex=_findHintIndex(idOrPos);foundIndex>-1&&hintsList.value.splice(foundIndex+(before?0:1),0,...toAdd)}_groupHints()},updateHint=(idOrPos,updatedHint)=>{if(typeof idOrPos==`number`)hintsList.value[idOrPos]=updatedHint;else{let foundIndex=_findHintIndex(idOrPos);hintsList.value[foundIndex]=updatedHint}_groupHints()},removeHints=(...ids)=>{ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&hintsList.value.splice(foundIndex,1)}),_groupHints()},flashHints=(...ids)=>{_setFlash(!1,ids),setTimeout(()=>_setFlash(!0,ids),0)},_setFlash=(state,ids)=>ids.forEach(id=>{let foundIndex=_findHintIndex(id);foundIndex>-1&&(hintsList.value[foundIndex].flash=state)}),highlightHints=(state,...ids)=>{},_findHintIndex=id=>hintsList.value.findIndex(h$1=>h$1.id===id);events$3.on(SCOPED_CHANGED_EVENT_NAME,data=>{logger_default.debug(`[infoBar] received data`,data),data&&(clearHints(),data.forEach(ev=>{let content;content=ev.label?{content:{type:`binding`,props:{uiEvent:ev.event},label:ev.label}}:CROSSFIRE_HINTS[EVENT_CROSSFIRE_MAP[ev.event]],addHints(content)}))});function _addTrackedEvents(){let activeEvents=uiNavTracker.activeEvents;hintsList.value=hintsList.value.filter(hint=>!hint.id?.startsWith(AUTOID)&&activeEvents.some(e=>e.name===hint.content.props.uiEvent));let currentBindings=hintsList.value.filter(hint=>hint.content?.type===`binding`).map(hint=>hint.content.props.uiEvent);addHints(activeEvents.filter(({name})=>!currentBindings.includes(name)).map(({name,label,nogroup,action})=>({id:`${AUTOIDS.binding}_${name}`,content:{type:`binding`,props:{uiEvent:name},label,autoLabel:!label||label===DEFAULT_LABELS[name]},nogroup,action})))}return watch(()=>uiNavTracker.activeEvents,_addTrackedEvents,{deep:!0}),{visible,hintsList,hints,showSysInfo,withAngular,clearHints,addHints,updateHint,removeHints,flashHints,highlightHints}});var _hoisted_1$326={key:0,xmlns:`http://www.w3.org/2000/svg`,viewBox:`20 140 460 220`},_hoisted_2$262={class:`bng-controller-hint-labels`},_hoisted_3$229={x:`120`,y:`165`,"text-anchor":`middle`},_hoisted_4$196={x:`120`,y:`335`,"text-anchor":`middle`},_hoisted_5$166={x:`45`,y:`255`,"text-anchor":`end`},_hoisted_6$142={x:`175`,y:`255`,"text-anchor":`start`},_hoisted_7$124={x:`219`,y:`315`,"text-anchor":`middle`},_hoisted_8$102={x:`249`,y:`315`,"text-anchor":`middle`},_hoisted_9$92={x:`340`,y:`175`,"text-anchor":`middle`},_hoisted_10$80={x:`380`,y:`335`,"text-anchor":`middle`},_sfc_main$375={__name:`bngControllerHint`,props:{device:String,actions:[Array,String],dark:Boolean},setup(__props,{expose:__expose}){let Controls=controls_default(),props=__props,available=[`xbox`],devName=computed(()=>{if(!props.device)return Controls.lastDevice;let devName$1=props.device;return/\d$/.test(devName$1)||(devName$1=Controls.lastDevices.find(dev=>dev.startsWith(devName$1)),devName$1||=props.device+`0`),devName$1}),devFamily=computed(()=>{let family=Controls.makeViewerObj({device:devName.value,uiEvent:`back`})?.family;return!family||!available.includes(family)?null:family});__expose({displayed:computed(()=>!!devFamily.value)});let actions=computed(()=>{let actions$1=props.actions;if(!actions$1||!devFamily.value)return{};if(typeof actions$1==`string`)actions$1=[actions$1];else if(!Array.isArray(actions$1)||actions$1.length===0)return{};let bindings={},allEvents=Object.keys(ACTIONS_BY_UI_EVENT),allActions=Object.values(ACTIONS_BY_UI_EVENT);for(let action of actions$1){if(!action)continue;let item=action;if(typeof item==`string`)item={action:item};else if(!item.action&&!item.event)continue;else item={...item};let actIdx=allEvents.indexOf(item.event||item.action);if(actIdx>-1&&(item.event=allEvents[actIdx],item.action=allActions[actIdx]),!allActions.includes(item.action))continue;let binding=Controls.findBindingForAction(item.action,devName.value);if(binding){if(!item.event||item.event===item.action){let idx=allActions.indexOf(item.action);idx>-1&&(item.event=allEvents[idx])}item.label||=DEFAULT_LABELS[item.event]||item.event||item.action,item.shown=!0,item.class={flash:item.flash},bindings[binding.control.toLowerCase()]=item}}logger_default.debug(`resolved actions:`,bindings);for(let keyName of DEVICE_CONTROLS[devFamily.value]){let key=keyName.toLowerCase();key in bindings||(bindings[key]={class:{inactive:!0}})}return bindings});return(_ctx,_cache)=>devFamily.value?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-controller-hint`,{"bng-controller-hint-dark":__props.dark}])},[devFamily.value===`xbox`?(openBlock(),createElementBlock(`svg`,_hoisted_1$326,[_cache[8]||=createBaseVNode(`rect`,{x:`60`,y:`180`,width:`380`,height:`140`,rx:`20`,fill:`#bcbcbc`,stroke:`#333`,"stroke-width":`8`},null,-1),_cache[9]||=createBaseVNode(`circle`,{cx:`120`,cy:`250`,r:`28`,fill:`#222`},null,-1),createBaseVNode(`rect`,{class:normalizeClass(actions.value.upov.class),x:`114`,y:`222`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.dpov.class),x:`114`,y:`258`,width:`12`,height:`20`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.lpov.class),x:`98`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.rpov.class),x:`122`,y:`242`,width:`20`,height:`12`,rx:`3`,fill:`#444`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_start.class),x:`210`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`rect`,{class:normalizeClass(actions.value.btn_back.class),x:`240`,y:`240`,width:`18`,height:`10`,rx:`3`,fill:`#888`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_a.class),cx:`340`,cy:`230`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`circle`,{class:normalizeClass(actions.value.btn_b.class),cx:`380`,cy:`270`,r:`18`,fill:`#22a`},null,2),createBaseVNode(`g`,_hoisted_2$262,[actions.value.upov?.shown?(openBlock(),createElementBlock(Fragment,{key:0},[_cache[0]||=createBaseVNode(`line`,{x1:`120`,y1:`202`,x2:`120`,y2:`170`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_3$229,toDisplayString(_ctx.$tt(actions.value.upov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.dpov?.shown?(openBlock(),createElementBlock(Fragment,{key:1},[_cache[1]||=createBaseVNode(`line`,{x1:`120`,y1:`298`,x2:`120`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_4$196,toDisplayString(_ctx.$tt(actions.value.dpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.lpov?.shown?(openBlock(),createElementBlock(Fragment,{key:2},[_cache[2]||=createBaseVNode(`line`,{x1:`78`,y1:`250`,x2:`50`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_5$166,toDisplayString(_ctx.$tt(actions.value.lpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.rpov?.shown?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[3]||=createBaseVNode(`line`,{x1:`142`,y1:`250`,x2:`170`,y2:`250`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_6$142,toDisplayString(_ctx.$tt(actions.value.rpov?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_start?.shown?(openBlock(),createElementBlock(Fragment,{key:4},[_cache[4]||=createBaseVNode(`line`,{x1:`219`,y1:`270`,x2:`219`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_7$124,toDisplayString(_ctx.$tt(actions.value.btn_start?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_back?.shown?(openBlock(),createElementBlock(Fragment,{key:5},[_cache[5]||=createBaseVNode(`line`,{x1:`249`,y1:`270`,x2:`249`,y2:`300`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_8$102,toDisplayString(_ctx.$tt(actions.value.btn_back?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_a?.shown?(openBlock(),createElementBlock(Fragment,{key:6},[_cache[6]||=createBaseVNode(`line`,{x1:`340`,y1:`212`,x2:`340`,y2:`180`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_9$92,toDisplayString(_ctx.$tt(actions.value.btn_a?.label)),1)],64)):createCommentVNode(``,!0),actions.value.btn_b?.shown?(openBlock(),createElementBlock(Fragment,{key:7},[_cache[7]||=createBaseVNode(`line`,{x1:`380`,y1:`288`,x2:`380`,y2:`320`,stroke:`#666`,"stroke-width":`2`},null,-1),createBaseVNode(`text`,_hoisted_10$80,toDisplayString(_ctx.$tt(actions.value.btn_b?.label)),1)],64)):createCommentVNode(``,!0)])])):createCommentVNode(``,!0)],2)):createCommentVNode(``,!0)}},bngControllerHint_default=__plugin_vue_export_helper_default(_sfc_main$375,[[`__scopeId`,`data-v-bb01f791`]]),_sfc_main$374={},_hoisted_1$325={class:`divider vertical-divider`};function _sfc_render$6(_ctx,_cache){return openBlock(),createElementBlock(`div`,_hoisted_1$325)}var bngDivider_default=__plugin_vue_export_helper_default(_sfc_main$374,[[`render`,_sfc_render$6],[`__scopeId`,`data-v-c3fbf7df`]]),_sfc_main$373={__name:`bngDrawer`,props:mergeModels({header:String,blur:Boolean,expandable:{type:Boolean,default:!0},position:String},{modelValue:{type:Boolean},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),arrows=computed(()=>{switch(props.position){default:case DRAWER_POSITION.bottom:case DRAWER_POSITION.right:return{expand:icons.arrowLargeUp,collapse:icons.arrowLargeDown};case DRAWER_POSITION.top:case DRAWER_POSITION.left:return{expand:icons.arrowLargeDown,collapse:icons.arrowLargeUp}}}),expanded=useModel(__props,`modelValue`);return watch(()=>expanded.value,val=>emit$1(`change`,val)),watch([()=>props.expandable,()=>expanded.value],()=>!props.expandable&&expanded.value&&(expanded.value=!1),{immediate:!0}),(_ctx,_cache)=>(openBlock(),createBlock(unref(drawer_default),{modelValue:expanded.value,"onUpdate:modelValue":_cache[1]||=$event=>expanded.value=$event,blur:__props.blur,position:__props.position},createSlots({header:withCtx(()=>[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`,style:normalizeStyle({marginRight:!__props.header&&!unref(slots).header?`0`:void 0})},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},()=>[_cache[2]||=createBaseVNode(`span`,null,null,-1)],!0)]),_:3},8,[`style`]),renderSlot(_ctx.$slots,`header-controls`,{},void 0,!0),__props.expandable?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`text`,icon:expanded.value?arrows.value.collapse:arrows.value.expand,onClick:_cache[0]||=$event=>expanded.value=!expanded.value},null,8,[`icon`])):createCommentVNode(``,!0)]),_:2},[`content`in unref(slots)?{name:`content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`content`,{},void 0,!0)]),key:`0`}:void 0,`expanded-content`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`expanded-content`,{},void 0,!0)]),key:`1`}:`default`in unref(slots)?{name:`expanded-content`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0]),1032,[`modelValue`,`blur`,`position`]))}},bngDrawer_default=__plugin_vue_export_helper_default(_sfc_main$373,[[`__scopeId`,`data-v-30948d98`]]),_hoisted_1$324={class:`bng-drawer`},_hoisted_2$261={class:`header-wrapper`},_hoisted_3$228={class:`content`},_sfc_main$372={__name:`bngDrawerOld`,props:{header:{type:String},blur:{type:Boolean,default:!1}},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$324,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$261,[createVNode(unref(bngCardHeading_default),{class:`header`,type:`ribbon`},{default:withCtx(()=>[__props.header?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.header),1)],64)):renderSlot(_ctx.$slots,`header`,{key:1},void 0,!0)]),_:3}),renderSlot(_ctx.$slots,`headerOptions`,{},void 0,!0)])),[[unref(BngBlur_default),__props.blur]]),withDirectives((openBlock(),createBlock(unref(bngCard_default),null,{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$228,[renderSlot(_ctx.$slots,`content`,{},void 0,!0)])]),_:3})),[[unref(BngBlur_default),__props.blur]])]))}},bngDrawerOld_default=__plugin_vue_export_helper_default(_sfc_main$372,[[`__scopeId`,`data-v-9e5c32b1`]]),_hoisted_1$323={class:`dropdown-display`},_hoisted_2$260={key:0,class:`dropdown-search`},_hoisted_3$227={key:1},_hoisted_4$195={key:0,class:`dropdown-group-header`},_hoisted_5$165=[`bng-nav-item`,`tabindex`,`bng-scoped-nav-autofocus`,`onClick`,`onKeyup`],_sfc_main$371={__name:`bngDropdown`,props:{modelValue:{type:[Number,String,Boolean,Object]},items:{type:Array,required:!0},showSearch:Boolean,highlight:{type:[String,Array,RegExp]},disabled:Boolean,longNames:{type:String,default:`oneline`,validator:val=>[`oneline`,`wrap`,`cut`].includes(val)},searchGroupName:Boolean,headless:Boolean,focusTarget:Object,popoverTarget:Object},emits:[`update:modelValue`,`valueChanged`,`open`,`close`],setup(__props,{expose:__expose,emit:__emit}){let attrs=useAttrs(),binds=computed(()=>props.headless?void 0:attrs),props=__props,emit$1=__emit,elContainer=ref(null),opened=ref(!1),searching=ref(!1),search$1=ref(``),searchTerm=computed(()=>search$1.value.toLowerCase());watch(opened,val=>!val&&(search$1.value=``)),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,get popoverName(){return elContainer.value?.popoverName}});let groupedItems=computed(()=>{let hasGrouping=props.items.some(item=>item.group||item.grouped),searchActive=!!searchTerm.value;if(!hasGrouping)return[{header:null,items:searchActive?props.items.filter(item=>item.label.toLowerCase().includes(searchTerm.value)):props.items}];let groups=[],currentGroup=null;return props.items.forEach(item=>{item.group?(currentGroup={header:item,allItems:[],_headerMatches:item.label.toLowerCase().includes(searchTerm.value)},groups.push(currentGroup)):item.grouped?currentGroup?currentGroup.allItems.push(item):groups.push({header:null,allItems:[item]}):(groups.push({header:null,allItems:[item]}),currentGroup=null)}),groups.map(group=>{if(searchActive)if(group.header){if(props.searchGroupName&&group._headerMatches)return{header:group.header,items:group.allItems,headerMatches:!0};{let filteredItems=group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value));return{header:group.header,items:filteredItems,headerMatches:!1}}}else return{header:null,items:group.allItems.filter(item=>item.label.toLowerCase().includes(searchTerm.value))};else return{header:group.header||null,items:group.allItems}}).filter(group=>group.header&&props.searchGroupName&&group.headerMatches||group.items.length>0)}),highlighter$1=computed(()=>search$1.value||props.highlight),selectedValue=computed({get:()=>props.modelValue,set:newValue=>{emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)}}),selectedItem=computed(()=>props.items.find(x=>x.value===selectedValue.value)),headerText=computed(()=>selectedItem.value&&selectedItem.value.value!==null&&selectedItem.value.value!==void 0?selectedItem.value.label:`Select`),tabIndexValue=computed(()=>props.disabled?-1:0),select=item=>{item.disabled||(opened.value=!1,selectedValue.value!==item.value&&(selectedValue.value=item.value),elContainer.value?.focusContainer())};return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngDropdownContainer_default),mergeProps({ref_key:`elContainer`,ref:elContainer},binds.value,{opened:opened.value,"onUpdate:opened":_cache[3]||=$event=>opened.value=$event,disabled:__props.disabled,headless:__props.headless,"focus-target":__props.focusTarget,"popover-target":__props.popoverTarget,class:{"with-search":__props.showSearch,[`dropdown-longnames-${__props.longNames}`]:!0},onShow:_cache[4]||=$event=>emit$1(`open`),onHide:_cache[5]||=$event=>emit$1(`close`)}),createSlots({default:withCtx(()=>[__props.showSearch?(openBlock(),createElementBlock(`div`,_hoisted_2$260,[createVNode(unref(bngInput_default),{modelValue:search$1.value,"onUpdate:modelValue":_cache[0]||=$event=>search$1.value=$event,modelModifiers:{trim:!0},"floating-label":`Search`,onFocus:_cache[1]||=$event=>searching.value=!0,onBlur:_cache[2]||=$event=>searching.value=!1},null,8,[`modelValue`])])):createCommentVNode(``,!0),search$1.value&&groupedItems.value.every(group=>group.items.length===0)?(openBlock(),createElementBlock(`div`,_hoisted_3$227,toDisplayString(_ctx.$t(`ui.common.search.noResults`)),1)):(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(groupedItems.value,(group,groupIndex)=>(openBlock(),createElementBlock(Fragment,{key:groupIndex},[group.header?(openBlock(),createElementBlock(`div`,_hoisted_4$195,toDisplayString(group.header.label),1)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(group.items,(item,idx)=>withDirectives((openBlock(),createElementBlock(`div`,{key:item.value,class:normalizeClass([`dropdown-option`,{selected:selectedItem.value&&selectedItem.value.value===item.value,"grouped-item":group.header,disabled:item.disabled}]),"bng-nav-item":!item.disabled||item.focusable,tabindex:item.disabled?-1:tabIndexValue.value,"bng-scoped-nav-autofocus":!item.disabled&&!searching.value&&(selectedItem.value&&selectedItem.value.value===item.value||!selectedItem.value&&groupIndex===0&&idx===0),onClick:$event=>select(item),onKeyup:withKeys($event=>select(item),[`enter`])},[createTextVNode(toDisplayString(item.label),1)],42,_hoisted_5$165)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngUiNavLabel_default),`ui.inputActions.menu.menu_item_select.title`,`ok`],[unref(BngTooltip_default),item.tooltip??void 0],[unref(BngHighlighter_default),highlighter$1.value]])),128))],64))),128))]),_:2},[__props.headless?void 0:{name:`display`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`display`,{},()=>[withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$323,[createTextVNode(toDisplayString(headerText.value),1)])),[[unref(BngHighlighter_default),highlighter$1.value]])],!0)]),key:`0`}]),1040,[`opened`,`disabled`,`headless`,`focus-target`,`popover-target`,`class`]))}},bngDropdown_default=__plugin_vue_export_helper_default(_sfc_main$371,[[`__scopeId`,`data-v-96e56708`]]),popoverBaseName=`bng-dropdown-content`,_sfc_main$370=Object.assign({inheritAttrs:!1},{__name:`bngDropdownContainer`,props:mergeModels({disabled:Boolean,class:[String,Array,Object],headless:Boolean,focusTarget:Object,popoverTarget:Object},{opened:{},openedModifiers:{}}),emits:mergeModels([`provideFocus`,`show`,`hide`],[`update:opened`]),setup(__props,{expose:__expose,emit:__emit}){let navBlocker=useUINavBlocker(),props=__props,attrs=useAttrs(),binds=computed(()=>({...attrs,tabindex:props.headless?-1:0,"bng-nav-item":props.headless?void 0:``})),opened=useModel(__props,`opened`);function open$1(val){opened.value=val,val?(navBlocker.allowOnly([`focus_u`,`focus_d`,`focus_ud`,`back`,`menu`,`ok`]),emit$1(`show`)):(navBlocker.clear(),emit$1(`hide`),focusTarget.value&&setFocusExternal(focusTarget.value,!0,!1))}let emit$1=__emit,popover=usePopover(),popoverName=uniqueId(popoverBaseName),container=ref(null),content=ref(null),focusTarget=computed(()=>props.focusTarget||container.value),popoverTarget=computed(()=>props.popoverTarget||container.value),placement=ref(`bottom-start`),openedTop=computed(()=>placement.value.startsWith(`top`));return watch(()=>opened.value,value=>{value?(Object.keys(popover.popovers).filter(name=>popover.popovers[name].show&&name!==popoverName&&!popover.popovers[name].element.contains(popover.popovers[popoverName].target)).forEach(name=>popover.hide(name)),!popover.popovers[popoverName].show&&popoverTarget.value&&popover.show(popoverName,popoverTarget.value)):popover.hide(popoverName)}),__expose({opened,open:()=>opened.value=!0,close:()=>opened.value=!1,toggle:()=>opened.value=!opened.value,focusContainer:()=>focusTarget.value&&setFocusExternal(focusTarget.value),popoverName}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[__props.headless?createCommentVNode(``,!0):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,ref_key:`container`,ref:container},binds.value,{class:[`bng-dropdown`,props.class]}),[createVNode(unref(bngIcon_default),{type:unref(icons).arrowSmallRight,class:normalizeClass({"dropdown-arrow":!0,"dropdown-arrow-top":openedTop.value,opened:opened.value})},null,8,[`type`,`class`]),renderSlot(_ctx.$slots,`display`,{},()=>[_cache[8]||=createTextVNode(`Select`,-1)],!0)],16)),[[unref(BngDisabled_default),__props.disabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngPopover_default),unref(popoverName),`bottom-start`,{click:!0}]]),createVNode(unref(bngPopoverContent_default),{name:unref(popoverName),onShow:_cache[5]||=$event=>open$1(!0),onHide:_cache[6]||=$event=>open$1(!1),"hide-arrow":``,onPlacementChanged:_cache[7]||=value=>placement.value=value},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`content`,ref:content,class:normalizeClass([`bng-dropdown-content`,__props.class]),"bng-nav-scroll":``,onClick:_cache[0]||=withModifiers(()=>{},[`stop`]),onMouseover:_cache[1]||=withModifiers(()=>{},[`stop`]),onMouseenter:_cache[2]||=withModifiers(()=>{},[`stop`]),onMousedown:_cache[3]||=withModifiers(()=>{},[`stop`]),onMouseup:_cache[4]||=withModifiers(()=>{},[`stop`])},[opened.value?renderSlot(_ctx.$slots,`default`,{key:0},void 0,!0):createCommentVNode(``,!0)],34)),[[unref(BngAutoScroll_default),void 0,`top`],[unref(BngUiNavLabel_default),`ui.common.close`,`back,menu`],[unref(BngUiNavLabel_default),`ui.mainmenu.navbar.navigate`,`focus_u,focus_d`],[unref(BngUiNavScroll_default)],[unref(BngOnUiNav_default),()=>open$1(!1),`menu`]])]),_:3},8,[`name`])],64))}}),bngDropdownContainer_default=__plugin_vue_export_helper_default(_sfc_main$370,[[`__scopeId`,`data-v-840dc960`]]),icons$2=Object.freeze({"4WD":{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/4WD.svg`},"9dividedby10":{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/9dividedby10.svg`},abandon:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/abandon.svg`},ABSIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/ABSIndicator.svg`},addItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addItemPolygon.svg`},addListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addListItem.svg`},addPolygonVertex:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/addPolygonVertex.svg`},adjust:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/adjust.svg`},AIMicrochip:{glyph:``,size:24,tags:[`generic`,`ai`,`microchip`],fileSvg:`svg/AIMicrochip.svg`},AIRace:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/AIRace.svg`},aperture:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/aperture.svg`},arrowLargeDown:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeDown.svg`},arrowLargeLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeLeft.svg`},arrowLargeRight:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeRight.svg`},arrowLargeUp:{glyph:``,size:24,tags:[`arrow`,`large`,`simple`,`outlined`],fileSvg:`svg/arrowLargeUp.svg`},arrowSmallDown:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallDown.svg`},arrowSmallLeft:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallLeft.svg`},arrowSmallRight:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallRight.svg`},arrowSmallUp:{glyph:``,size:24,tags:[`arrow`,`small`,`simple`,`outlined`],fileSvg:`svg/arrowSmallUp.svg`},arrowSolidLeft:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidLeft.svg`},arrowSolidRight:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`detailed`],fileSvg:`svg/arrowSolidRight.svg`},autobahn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/autobahn.svg`},AWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/AWD.svg`},axleLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleLift.svg`},axleCenter:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleCenter.svg`},axleFront:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleFront.svg`},axleRear:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/axleRear.svg`},bSpline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bSpline.svg`},banknotes:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/banknotes.svg`},barrelKnocker01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker01.svg`},barrelKnocker02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/barrelKnocker02.svg`},beamCrashBarrier1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier1.svg`},beamCrashBarrier2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier2.svg`},beamCrashBarrier3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/beamCrashBarrier3.svg`},beamCurrency:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrency.svg`},beamNG:{glyph:``,size:24,tags:[`brand`,`beamng`,`generic`],fileSvg:`svg/beamNG.svg`},beamXPFull:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPFull.svg`},beamXPLo:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamXPLo.svg`},bezierPath1:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath1.svg`},bezierPath2:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bezierPath2.svg`},bicycle1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle1.svg`},bicycle2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bicycle2.svg`},BNGFolder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGFolder.svg`},BNGMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGMicrochip.svg`},bollard:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/bollard.svg`},bookmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bookmark.svg`},booleanIntersect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/booleanIntersect.svg`},boxDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff01.svg`},boxDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff02.svg`},boxDropOff03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxDropOff03.svg`},boxPickUp01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp01.svg`},boxPickUp02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp02.svg`},boxPickUp03:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUp03.svg`},boxPickUpDropOff01:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff01.svg`},boxPickUpDropOff02:{glyph:``,size:24,tags:[`poi`,`delivery`],fileSvg:`svg/boxPickUpDropOff02.svg`},boxTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruck.svg`},broom:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/broom.svg`},bucketAdd:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketAdd.svg`},bucketSubtract:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bucketSubtract.svg`},bug:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/bug.svg`},bulldozer:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bulldozer.svg`},bus:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/bus.svg`},camera3Fourth1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/camera3Fourth1.svg`},cameraBack1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraBack1.svg`},cameraFocusOnPath:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnPath.svg`},cameraFocusOnVehicle1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusOnVehicle1.svg`},cameraFocusOnVehicle2:{glyph:``,size:24,tags:[`camera`,`decals`],fileSvg:`svg/cameraFocusOnVehicle2.svg`},cameraFocusTopDown:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFocusTopDown.svg`},cameraFront1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraFront1.svg`},cameraSideLeft:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft.svg`},cameraSideLeft2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideLeft2.svg`},cameraSideRight:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight.svg`},cameraSideRight2:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraSideRight2.svg`},cameraTop1:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/cameraTop1.svg`},cannon:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/cannon.svg`},carChase01:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carChase01.svg`},carCoin:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoin.svg`},carCoins:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carCoins.svg`},carCrash:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carCrash.svg`},carDealer:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/carDealer.svg`},carOffroadOutlineRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineRear.svg`},carOffroadOutlineSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadOutlineSide.svg`},carOffroadRear:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadRear.svg`},carOffroadSide:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carOffroadSide.svg`},carSensors:{glyph:``,size:24,tags:[`generic`,`vehicle`,`sensors`],fileSvg:`svg/carSensors.svg`},carStarred:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carStarred.svg`},carToWheels:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carToWheels.svg`},carUp:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carUp.svg`},carWithLidar:{glyph:``,size:24,tags:[`generic`,`vehicle`,`tech`,`sensors`],fileSvg:`svg/carWithLidar.svg`},car:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/car.svg`},cardboardBox:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBox.svg`},carsChase02:{glyph:``,size:24,tags:[`generic`,`police`,`vehicle`],fileSvg:`svg/carsChase02.svg`},cars:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/cars.svg`},catalog01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog01.svg`},catalog02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog02.svg`},catalog03:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/catalog03.svg`},centrifugalClutchLocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchLocked03.svg`},centrifugalClutchUnlocked03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/centrifugalClutchUnlocked03.svg`},charge:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charge.svg`},charging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/charging.svg`},chartBars:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chartBars.svg`},checkboxOff:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOff.svg`},checkboxOn:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/checkboxOn.svg`},checkmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmarkBold.svg`},checkmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/checkmark.svg`},circuitMicrochip:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/circuitMicrochip.svg`},circuit:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/circuit.svg`},clapperboard:{glyph:``,size:24,tags:[`generic`,`movie`,`scenery`],fileSvg:`svg/clapperboard.svg`},code:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/code.svg`},cogDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogDamaged.svg`},cogsDamaged:{glyph:``,size:24,tags:[`vehicle`,`features`,`powertrain`,`drivetrain`],fileSvg:`svg/cogsDamaged.svg`},cogs:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cogs.svg`},concreteRoadBlock:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/concreteRoadBlock.svg`},coolantTemp:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/coolantTemp.svg`},copy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/copy.svg`},crossroads1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads1.svg`},crossroads2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/crossroads2.svg`},cruiseDisable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseDisable.svg`},cruiseEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/cruiseEnable.svg`},cup:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/cup.svg`},dataExchange:{glyph:``,size:24,tags:[`generic`,`data`,`signal`],fileSvg:`svg/dataExchange.svg`},day:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/day.svg`},DCBattery:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/DCBattery.svg`},decalRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/decalRoad.svg`},decal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/decal.svg`},deform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/deform.svg`},deliveryTruckArrows:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruckArrows.svg`},deliveryTruck:{glyph:``,size:24,tags:[`poi`,`delivery`,`vehicle`],fileSvg:`svg/deliveryTruck.svg`},differentialFrontDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontDefault.svg`},differentialFrontLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialFrontLocked.svg`},differentialMiddleDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleDefault.svg`},differentialMiddleLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialMiddleLocked.svg`},differentialRearDefault:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearDefault.svg`},differentialRearLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/differentialRearLocked.svg`},doorHandle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/doorHandle.svg`},doorIn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/doorIn.svg`},drag01:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag01.svg`},drag02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/drag02.svg`},drift01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift01.svg`},drift02:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/drift02.svg`},drivetrainGeneric:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainGeneric.svg`},drivetrainSpecial:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/drivetrainSpecial.svg`},editCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/editCheckmark.svg`},edit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/edit.svg`},engine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engine.svg`},ESCOff:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOff.svg`},ESCOn:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESCOn.svg`},ESC:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/ESC.svg`},evade:{glyph:``,size:24,tags:[`poi`,`mission`,`police`],fileSvg:`svg/evade.svg`},exhaustValve:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/exhaustValve.svg`},exit:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/exit.svg`},export:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/export.svg`},eyeOutlineClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineClosed.svg`},eyeOutlineOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeOutlineOpened.svg`},eyeSolidClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidClosed.svg`},eyeSolidOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/eyeSolidOpened.svg`},eyeWaves:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/eyeWaves.svg`},facility02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/facility02.svg`},fastBackward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastBackward.svg`},fastForward:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/fastForward.svg`},fastTravel:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/fastTravel.svg`},filter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/filter.svg`},flagNew:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flagNew.svg`},flag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/flag.svg`},flatBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/flatBulbBeam.svg`},flatbedTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/flatbedTruck.svg`},floppyDisk:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDisk.svg`},fogLight:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/fogLight.svg`},folder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/folder.svg`},forklift:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`,`vehicle`],fileSvg:`svg/forklift.svg`},FPS:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/FPS.svg`},fragile:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/fragile.svg`},frontAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontAxleMidpoint.svg`},frontBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/frontBumperMidpoint.svg`},fuelPumpFilling:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPumpFilling.svg`},fuelPump:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/fuelPump.svg`},FWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/FWD.svg`},gamepadOld:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepadOld.svg`},gamepad:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/gamepad.svg`},garage01:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage01.svg`},garage02:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage02.svg`},garage03:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/garage03.svg`},gaugeEmpty:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeEmpty.svg`},globe:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/globe.svg`},GPSMark:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSMark.svg`},GPSSolid:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/GPSSolid.svg`},group:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/group.svg`},gyroscopeMicrochip:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscopeMicrochip.svg`},gyroscope:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/gyroscope.svg`},hazardLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hazardLights.svg`},helmets:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/helmets.svg`},help:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/help.svg`},highBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/highBeam.svg`},HUD:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/HUD.svg`},hydroPump1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump1.svg`},hydroPump2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump2.svg`},hydroPump3:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump3.svg`},hydroPump4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump4.svg`},hydroPump5:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump5.svg`},hydroPump6:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump6.svg`},hydroPump7:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hydroPump7.svg`},hypermiling:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/hypermiling.svg`},import:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/import.svg`},infinity:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/infinity.svg`},info:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/info.svg`},jointLocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLocked.svg`},jointUnlocked:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlocked.svg`},jump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/jump.svg`},keyboard:{glyph:``,size:24,tags:[`keyboard`,`input`],fileSvg:`svg/keyboard.svg`},keys1:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys1.svg`},keys2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/keys2.svg`},lampPost1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost1.svg`},lampPost2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost2.svg`},lampPost3:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/lampPost3.svg`},laneProperties:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/laneProperties.svg`},language:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/language.svg`},laptop:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/laptop.svg`},lidarPatternFullArcHighFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcHighFreq.svg`},lidarPatternFullArcMidFreq:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternFullArcMidFreq.svg`},lidarPatternNarrowArc:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/lidarPatternNarrowArc.svg`},lidar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/lidar.svg`},lightGarageG11:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG11.svg`},lightGarageG12:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG12.svg`},lightGarageG13:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG13.svg`},lightGarageG14:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG14.svg`},lightGarageG21:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG21.svg`},lightGarageG22:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG22.svg`},lightGarageG23:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG23.svg`},lightGarageG24:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG24.svg`},lightGarageG31:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG31.svg`},lightGarageG32:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG32.svg`},lightGarageG33:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG33.svg`},lightGarageG34:{glyph:``,size:24,tags:[`career`,`garage`,`lights`],fileSvg:`svg/lightGarageG34.svg`},lightrunner:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lightrunner.svg`},limiterEnable:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/limiterEnable.svg`},lineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/lineToTerrain.svg`},link2:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link2.svg`},link:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/link.svg`},listBig:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listBig.svg`},listIndented:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/listIndented.svg`},listSmall:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/listSmall.svg`},location1:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location1.svg`},location2:{glyph:``,size:24,tags:[`generic`,`gps`,`position`,`map`,`sensor`],fileSvg:`svg/location2.svg`},lockClosed:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockClosed.svg`},lockOpened:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/lockOpened.svg`},longRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam1.svg`},longRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/longRangeBeam2.svg`},lowBeam:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/lowBeam.svg`},magnetOnSurface:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/magnetOnSurface.svg`},mapWithEmitter:{glyph:``,size:24,tags:[`generic`,`tech`,`sensors`],fileSvg:`svg/mapWithEmitter.svg`},mapPoint:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/mapPoint.svg`},material:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/material.svg`},mathDivide:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathDivide.svg`},mathGreaterOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterOrEqualThan.svg`},mathGreaterThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathGreaterThan.svg`},mathLessOrEqualThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessOrEqualThan.svg`},mathLessThan:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathLessThan.svg`},mathMinus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMinus.svg`},mathMultiply:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathMultiply.svg`},mathPlus:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/mathPlus.svg`},medal:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medal.svg`},mesh4Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh4Cells.svg`},mesh9Cells:{glyph:``,size:24,tags:[`tech`,`mesh`,`beams`,`nodes`,`surface`],fileSvg:`svg/mesh9Cells.svg`},meshFence:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshFence.svg`},meshRoad:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/meshRoad.svg`},midRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam1.svg`},midRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/midRangeBeam2.svg`},minusRes:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/minusRes.svg`},minus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/minus.svg`},mirrorInteriorMiddle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorInteriorMiddle.svg`},mirrorLeftBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigBottomWideAngle.svg`},mirrorLeftBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBigTop.svg`},mirrorLeftBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBig.svg`},mirrorLeftBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftBonnet.svg`},mirrorLeftDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorLeftDefault.svg`},mirrorRightBigBottomWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigBottomWideAngle.svg`},mirrorRightBigTop:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBigTop.svg`},mirrorRightBig:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBig.svg`},mirrorRightBonnet:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightBonnet.svg`},mirrorRightDefault:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRightDefault.svg`},mirrorRoundWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorRoundWideAngle.svg`},mirrorTopWideAngle:{glyph:``,size:24,tags:[`vehicle`,`features`,`mirror`,`rearview`],fileSvg:`svg/mirrorTopWideAngle.svg`},missionCheckboxCross:{glyph:``,size:24,tags:[`checkbox`,`selection`,`box`],fileSvg:`svg/missionCheckboxCross.svg`},mouseLMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseLMB.svg`},mouseMMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseMMB.svg`},mouseRMB:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseRMB.svg`},mouseWheel:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseWheel.svg`},mouseXAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXAxis.svg`},mouseXYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseXYAxis.svg`},mouseYAxis:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouseYAxis.svg`},mouse:{glyph:``,size:24,tags:[`mouse`,`input`],fileSvg:`svg/mouse.svg`},move02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/move02.svg`},move:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/move.svg`},movieCamera:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/movieCamera.svg`},music:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/music.svg`},N2OButton:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OButton.svg`},N2OHoriz:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OHoriz.svg`},N2OVert:{glyph:``,size:24,tags:[`fuel`],fileSvg:`svg/N2OVert.svg`},nextTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/nextTrack.svg`},night:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/night.svg`},noNameControllerButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/noNameControllerButton.svg`},nodeAddFirst01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst01.svg`},nodeAddFirst02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddFirst02.svg`},nodeAddLast02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddLast02.svg`},nodeAddMiddle01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle01.svg`},nodeAddMiddle02:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAddMiddle02.svg`},nodeAdd:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeAdd.svg`},nodeLast01:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeLast01.svg`},nodeRemove:{glyph:``,size:24,tags:[`generic`,`path`,`node`],fileSvg:`svg/nodeRemove.svg`},odometerKM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerKM.svg`},odometerMI:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometerMI.svg`},odometer:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/odometer.svg`},oilPressureIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/oilPressureIndicator.svg`},order:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/order.svg`},organization:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/organization.svg`},palmCrossed:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/palmCrossed.svg`},paperKnife:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/paperKnife.svg`},parkingIndicator:{glyph:``,size:24,tags:[`vehicle`,`features`,`warning`,`internals`],fileSvg:`svg/parkingIndicator.svg`},parking:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/parking.svg`},pathArc:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathArc.svg`},pathAroundObstacle:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathAroundObstacle.svg`},pathLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathLine.svg`},pathSpiral:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pathSpiral.svg`},pauseRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pauseRound.svg`},pause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/pause.svg`},personSolid:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/personSolid.svg`},person:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/person.svg`},photo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/photo.svg`},placeholder:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/placeholder.svg`},playRound:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playRound.svg`},play:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/play.svg`},playlist:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playlist.svg`},plusGarage1:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage1.svg`},plusGarage2:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage2.svg`},plusGarage3:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage3.svg`},plusGarage4:{glyph:``,size:24,tags:[`career`,`garage`,`features`],fileSvg:`svg/plusGarage4.svg`},plusSet:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/plusSet.svg`},plus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/plus.svg`},positionLights:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/positionLights.svg`},powerGauge01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge01.svg`},powerGauge02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge02.svg`},powerGauge03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge03.svg`},powerGauge04:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge04.svg`},powerGauge05:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/powerGauge05.svg`},powerOnOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/powerOnOff.svg`},prevTrack:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/prevTrack.svg`},publisher:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/publisher.svg`},puzzleModule:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/puzzleModule.svg`},raceFlag:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/raceFlag.svg`},radarIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarIdeal.svg`},radarRoundIdeal:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRoundIdeal.svg`},radarRound:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radarRound.svg`},radar:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/radar.svg`},rangeboxHi2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi2.svg`},rangeboxHi4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi4.svg`},rangeboxHiA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHiA.svg`},rangeboxLo2:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo2.svg`},rangeboxLo4:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo4.svg`},rangeboxLoA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLoA.svg`},rearAxleMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearAxleMidpoint.svg`},rearBumperMidpoint:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/rearBumperMidpoint.svg`},reconfigure:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/reconfigure.svg`},redo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/redo.svg`},reflectNot:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflectNot.svg`},reflect:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/reflect.svg`},rename:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/rename.svg`},replay:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/replay.svg`},restart:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/restart.svg`},roadDividerLinesDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadDividerLinesDecal.svg`},roadEdgeLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEdgeLineDecal.svg`},roadEndLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEndLineDecal.svg`},roadFace:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFace.svg`},roadInfo:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/roadInfo.svg`},roadMarkingOutline:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`outlined`],fileSvg:`svg/roadMarkingOutline.svg`},roadMarkingSolid:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/roadMarkingSolid.svg`},roadOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutline.svg`},roadRefPathDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPathDecal.svg`},roadRefPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRefPath.svg`},roadStartLineDecal:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStartLineDecal.svg`},road:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/road.svg`},rockCrawling01:{glyph:``,size:24,tags:[`poi`,`vehicle`],fileSvg:`svg/rockCrawling01.svg`},rockCrawling02:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/rockCrawling02.svg`},routeAdd:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeAdd.svg`},routeComplex:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeComplex.svg`},routeSimple:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimple.svg`},runScript:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/runScript.svg`},RWD:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/RWD.svg`},saveAs1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveAs1.svg`},scan:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/scan.svg`},search:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/search.svg`},semiTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/semiTrailer.svg`},semiTruckCabover:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckCabover.svg`},semiTruckUS:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`,`truck`],fileSvg:`svg/semiTruckUS.svg`},semiTruck:{glyph:``,size:24,tags:[`cargo`,`delivery`,`truck`,`trailer`,`vehicle`],fileSvg:`svg/semiTruck.svg`},shortRangeBeam1:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam1.svg`},shortRangeBeam2:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/shortRangeBeam2.svg`},signal01a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal01a.svg`},signal02a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal02a.svg`},signal03a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal03a.svg`},signal04a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal04a.svg`},signal05a:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/signal05a.svg`},slashLeft:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashLeft.svg`},slashRight:{glyph:``,size:24,tags:[`generic`,`math`,`operands`,`small`],fileSvg:`svg/slashRight.svg`},smallTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`trailer`,`vehicle`],fileSvg:`svg/smallTrailer.svg`},smartphone1:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone1.svg`},smartphone2:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/smartphone2.svg`},snowflake:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/snowflake.svg`},soundFadeOut:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundFadeOut.svg`},soundLimit:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLimit.svg`},soundLoud:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundLoud.svg`},soundMonoL:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoL.svg`},soundMonoR:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundMonoR.svg`},soundOff:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundOff.svg`},soundQuiet:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundQuiet.svg`},soundStereo:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundStereo.svg`},soundWave01:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave01.svg`},soundWave02:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/soundWave02.svg`},sphereOnPathNumber:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPathNumber.svg`},sphereOnPath:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnPath.svg`},sphericalBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/sphericalBeam.svg`},spoilerLift:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/spoilerLift.svg`},sprayCan:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/sprayCan.svg`},stack3:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/stack3.svg`},star:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/star.svg`},starSecondary:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/starSecondary.svg`},steeringWheelCommon:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelCommon.svg`},steeringWheelSporty:{glyph:``,size:24,tags:[`steering`,`controller`,`input`],fileSvg:`svg/steeringWheelSporty.svg`},stopwatchArrows01:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows01.svg`},stopwatchArrows02:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchArrows02.svg`},stopwatchSectionOutlinedEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedEnd.svg`},stopwatchSectionOutlinedStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionOutlinedStart.svg`},stopwatchSectionSolidEnd:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidEnd.svg`},stopwatchSectionSolidStart:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/stopwatchSectionSolidStart.svg`},strobeLights:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/strobeLights.svg`},sunRise:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunRise.svg`},survellianceCamera:{glyph:``,size:24,tags:[`generic`,`camera`,`optical`,`sensor`],fileSvg:`svg/survellianceCamera.svg`},suspension01:{glyph:``,size:24,tags:[`vehicle`,`features`,`part`],fileSvg:`svg/suspension01.svg`},suspension02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/suspension02.svg`},switchBlock:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchBlock.svg`},switchOutline:{glyph:``,size:24,tags:[`generic`,`circuit`,`electronics`,`switch`],fileSvg:`svg/switchOutline.svg`},sync:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sync.svg`},synchro01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro01.svg`},synchro02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/synchro02.svg`},tankerTrailer:{glyph:``,size:24,tags:[`cargo`,`delivery`,`tank`,`tanker`,`trailer`,`vehicle`],fileSvg:`svg/tankerTrailer.svg`},targetJump:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/targetJump.svg`},taxiCar1:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar1.svg`},taxiCar3:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCar3.svg`},taxiCarT:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCarT.svg`},taxiCheckerLamp:{glyph:``,size:24,tags:[`taxi`,`generic`,`vehicle`],fileSvg:`svg/taxiCheckerLamp.svg`},terrainToLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToLine.svg`},terrain:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/terrain.svg`},thinBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinBulbBeam.svg`},thinnerBulbBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/thinnerBulbBeam.svg`},thisSideUp:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/thisSideUp.svg`},tiles:{glyph:``,size:24,tags:[`generic`,`catalog`,`selector`,`view`],fileSvg:`svg/tiles.svg`},timer:{glyph:``,size:24,tags:[`generic`,`time`,`fast`],fileSvg:`svg/timer.svg`},tireDirection3Fourth2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth2.svg`},tireDirection3Fourth3:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirection3Fourth3.svg`},tireDirectionFront2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionFront2.svg`},tireDirectionSide2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionSide2.svg`},tireDirectionTop2:{glyph:``,size:24,tags:[`tire`],fileSvg:`svg/tireDirectionTop2.svg`},tirePressureDecrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease01.svg`},tirePressureDecrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureDecrease02.svg`},tirePressureGaugeAlt01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt01.svg`},tirePressureGaugeAlt02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt02.svg`},tirePressureGaugeAlt03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeAlt03.svg`},tirePressureGaugeOutlined01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined01.svg`},tirePressureGaugeOutlined02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined02.svg`},tirePressureGaugeOutlined03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeOutlined03.svg`},tirePressureGaugeSolid01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid01.svg`},tirePressureGaugeSolid02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid02.svg`},tirePressureGaugeSolid03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureGaugeSolid03.svg`},tirePressureIncrease01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease01.svg`},tirePressureIncrease02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureIncrease02.svg`},tirePressureStopLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopLine.svg`},tirePressureStopOctoLine:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoLine.svg`},tirePressureStopOctoSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopOctoSolid.svg`},tirePressureStopSolid:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tirePressureStopSolid.svg`},toCOMWithWheels:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOMWithWheels.svg`},toCOM:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`placement`,`sensor`],fileSvg:`svg/toCOM.svg`},toGarage:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/toGarage.svg`},touch:{glyph:``,size:24,tags:[`touch`,`input`],fileSvg:`svg/touch.svg`},tow:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/tow.svg`},tractionControl:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/tractionControl.svg`},trafficCone:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/trafficCone.svg`},transform:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transform.svg`},transmissionA:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionA.svg`},transmissionM:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionM.svg`},transparencyMask:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/transparencyMask.svg`},trashBin1:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/trashBin1.svg`},trashBin2:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/trashBin2.svg`},triangleBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/triangleBeam.svg`},trim:{glyph:``,size:24,tags:[`generic`,`sound`],fileSvg:`svg/trim.svg`},tulipBeam:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`sensor`],fileSvg:`svg/tulipBeam.svg`},tunnel:{glyph:``,size:24,tags:[`generic`,`world editor`,`we`,`road tools`],fileSvg:`svg/tunnel.svg`},turbine:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbine.svg`},twoRoadsAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsAdd.svg`},twoRoadsCrossAdd:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsCrossAdd.svg`},twoRoadsLink:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoRoadsLink.svg`},twoUnicyclesOnly:{glyph:``,size:24,tags:[`delivery`,`stencil`,`cargo`],fileSvg:`svg/twoUnicyclesOnly.svg`},undo:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/undo.svg`},ungroup:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/ungroup.svg`},unlink:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/unlink.svg`},vehicleDoorsClose:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsClose.svg`},vehicleDoorsOpen:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoorsOpen.svg`},vehicleDoors:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleDoors.svg`},vehicleFeatures01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures01.svg`},vehicleFeatures02:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures02.svg`},vehicleFeatures03:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleFeatures03.svg`},vehicleHood:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleHood.svg`},vehicleTrunk:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/vehicleTrunk.svg`},view:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/view.svg`},voucherDiagonal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal1.svg`},voucherDiagonal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal2.svg`},voucherDiagonal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherDiagonal3.svg`},voucherHorizontal1:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal1.svg`},voucherHorizontal2:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal2.svg`},voucherHorizontal3:{glyph:``,size:24,tags:[`generic`,`currency`,`reward`,`career`],fileSvg:`svg/voucherHorizontal3.svg`},wavesSignalReceived:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalReceived.svg`},wavesSignalSentLeft:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentLeft.svg`},wavesSignalSentRight:{glyph:``,size:24,tags:[`generic`,`data`,`signal`,`sensor`],fileSvg:`svg/wavesSignalSentRight.svg`},weather:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/weather.svg`},weight:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/weight.svg`},wheelHubLocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubLocked01.svg`},wheelHubUnlocked01:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/wheelHubUnlocked01.svg`},wigwags:{glyph:``,size:24,tags:[`vehicle`,`features`,`police`,`emergency`],fileSvg:`svg/wigwags.svg`},wrench:{glyph:``,size:24,tags:[`generic`,`vehicle`,`features`],fileSvg:`svg/wrench.svg`},xboxA:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxA.svg`},xboxB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxB.svg`},xboxDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultOutline.svg`},xboxDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDefaultSolid.svg`},xboxDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDDown.svg`},xboxDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeft.svg`},xboxDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDRight.svg`},xboxDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUp.svg`},xboxLB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLB.svg`},xboxLSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButton.svg`},xboxLT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLT.svg`},xboxMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxMenu.svg`},xboxRB:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRB.svg`},xboxRSButton:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButton.svg`},xboxRT:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRT.svg`},xboxThumbL:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbL.svg`},xboxThumbR:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxThumbR.svg`},xboxView:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxView.svg`},xboxXAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxis.svg`},xboxXRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRot.svg`},xboxX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxX.svg`},xboxYAxis:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxis.svg`},xboxYRot:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRot.svg`},xboxY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxY.svg`},AIL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/AIL.svg`},arrowLeftOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowLeftOutline.svg`},arrowRightOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/arrowRightOutline.svg`},automaticTransmissionL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/automaticTransmissionL.svg`},beamsNodesMessageOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesMessageOutline.svg`},beamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesOutline.svg`},beamsNodesPlugOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/beamsNodesPlugOutline.svg`},BNGEcosystemOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/BNGEcosystemOutline.svg`},carFrontRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carFrontRouteOutline.svg`},carSensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSensorsOutline.svg`},carSideRouteOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/carSideRouteOutline.svg`},chargeLL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/chargeLL.svg`},cityOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/cityOutline.svg`},clutchL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/clutchL.svg`},couplerL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/couplerL.svg`},dialogOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/dialogOutline.svg`},documentSmileOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/documentSmileOutline.svg`},drivetrainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/drivetrainOutline.svg`},electronicSchemeOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/electronicSchemeOutline.svg`},engineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/engineL.svg`},engineOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/engineOutline.svg`},gearTuningOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/gearTuningOutline.svg`},giftBoxOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/giftBoxOutline.svg`},lidarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/lidarOutline.svg`},medalStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/medalStarOutline.svg`},megaphoneOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/megaphoneOutline.svg`},multiseatL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/multiseatL.svg`},peopleOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/peopleOutline.svg`},personOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/personOutline.svg`},physicsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/physicsOutline.svg`},playChainOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/playChainOutline.svg`},POITimeL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/POITimeL.svg`},proximitySensorsOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/proximitySensorsOutline.svg`},qualityBadgeStarOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeStarOutline.svg`},qualityBadgeVOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/qualityBadgeVOutline.svg`},replayL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/replayL.svg`},roadblockL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/roadblockL.svg`},rotationL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/rotationL.svg`},sensorsL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/sensorsL.svg`},simRigOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/simRigOutline.svg`},suspensionOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/suspensionOutline.svg`},teamOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/teamOutline.svg`},techLightBulbOutline01:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline01.svg`},techLightBulbOutline02:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/techLightBulbOutline02.svg`},temperatureL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/temperatureL.svg`},timeUnlockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timeUnlockOutline.svg`},timedLockOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/timedLockOutline.svg`},trafficOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/trafficOutline.svg`},tuningL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/tuningL.svg`},turbineL:{glyph:``,size:48,tags:[`extra`],fileSvg:`svg/turbineL.svg`},voucherOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/voucherOutline.svg`},wheelBeamsNodesOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelBeamsNodesOutline.svg`},wheelOutline:{glyph:``,size:48,tags:[`web`,`outlined`,`large`,`secondary`],fileSvg:`svg/wheelOutline.svg`},circlePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinBack.svg`},circlePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/circlePinFront.svg`},markerRectanglePinBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinBack.svg`},markerRectanglePinFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerRectanglePinFront.svg`},markerTriangleBack:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleBack.svg`},markerTriangleFront:{glyph:``,size:56,tags:[`poi`],fileSvg:`svg/markerTriangleFront.svg`},danger:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/danger.svg`},droplet:{glyph:``,size:24,tags:[`generic`,`drop`,`liquid`],fileSvg:`svg/droplet.svg`},envelope:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/envelope.svg`},fireDiamond:{glyph:``,size:24,tags:[`generic`,`hazard`,`nfpa704`],fileSvg:`svg/fireDiamond.svg`},rocks:{glyph:``,size:24,tags:[`dry cargo`,`dry`],fileSvg:`svg/rocks.svg`},xmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmark.svg`},scale:{glyph:``,size:24,tags:[`decals`,`editor`,`generic`],fileSvg:`svg/scale.svg`},arrowsUp:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/arrowsUp.svg`},bigDot:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/bigDot.svg`},connectorBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/connectorBold.svg`},cornerTopRight:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/cornerTopRight.svg`},plusBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/plusBold.svg`},puzzlePieceBold:{glyph:``,size:16,tags:[`marker`,`ribbon`,`content-props`],fileSvg:`svg/puzzlePieceBold.svg`},locationDestination:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationDestination.svg`},locationSource:{glyph:``,size:24,tags:[`generic`,`location`,`route`,`path`,`node`],fileSvg:`svg/locationSource.svg`},accelerationKPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationKPH.svg`},accelerationMPH:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/accelerationMPH.svg`},boxTruckFast:{glyph:``,size:24,tags:[`cargo`,`delivery`,`vehicle`],fileSvg:`svg/boxTruckFast.svg`},colorBrightnessSun:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorBrightnessSun.svg`},colorCirclePalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorCirclePalette.svg`},colorPalette:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorPalette.svg`},colorSaturation:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/colorSaturation.svg`},sortAscDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown02.svg`},sortAscDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscDown.svg`},sortAscUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp02.svg`},sortAscUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAscUp.svg`},sortDescDown02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown02.svg`},sortDescDown:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescDown.svg`},sortDescUp02:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp02.svg`},sortDescUp:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDescUp.svg`},cardboardBoxCoins:{glyph:``,size:24,tags:[`generic`,`delivery`],fileSvg:`svg/cardboardBoxCoins.svg`},lasso:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`],fileSvg:`svg/lasso.svg`},materialGlossy:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialGlossy.svg`},materialMetal:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialMetal.svg`},materialRoughness:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialRoughness.svg`},materialTransparency01:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency01.svg`},materialTransparency02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/materialTransparency02.svg`},metal01:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/metal01.svg`},removeItemPolygon:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeItemPolygon.svg`},removeListItem:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/removeListItem.svg`},sortAsc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortAsc.svg`},sortDesc:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/sortDesc.svg`},surfaceRoughness02:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/surfaceRoughness02.svg`},shieldCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmark.svg`},shieldHandCheckmark:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandCheckmark.svg`},shieldHandPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldHandPlus.svg`},doorFrontCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontCoins.svg`},doorFront:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFront.svg`},engineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/engineCoins.svg`},exhaustMufflerCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMufflerCoins.svg`},exhaustMuffler:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/exhaustMuffler.svg`},headlightCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlightCoins.svg`},headlight:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/headlight.svg`},tire3FourthCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3FourthCoins.svg`},tire3Fourth:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`,`tire`],fileSvg:`svg/tire3Fourth.svg`},turbineCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/turbineCoins.svg`},wheelDiscCoins:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDiscCoins.svg`},wheelDisc:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/wheelDisc.svg`},bridgeWithRiver:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/bridgeWithRiver.svg`},gizmosOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosOutline.svg`},gizmosSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/gizmosSolid.svg`},highwayRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge01.svg`},highwayRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayRoad3To2Merge02.svg`},highwayToUrbanRoadTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition01.svg`},highwayToUrbanRoadTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayToUrbanRoadTransition02.svg`},pedestrianCrossing01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/pedestrianCrossing01.svg`},polygonalCube:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/polygonalCube.svg`},roadEditOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditOutline.svg`},roadEditSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadEditSolid.svg`},roadFolderPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolderPlus.svg`},roadFolder:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadFolder.svg`},roadGuideArrowOutline:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowOutline.svg`},roadGuideArrowSolid:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadGuideArrowSolid.svg`},roadOutlineMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadOutlineMesh.svg`},roadPedestrianCrossing02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadPedestrianCrossing02.svg`},roadProfileWithCheckmark:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfileWithCheckmark.svg`},roadProfile:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadProfile.svg`},roadRoundaboutJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadRoundaboutJunction.svg`},roadSidewalkTransition:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadSidewalkTransition.svg`},roadStackPlus:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStackPlus.svg`},roadStack:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadStack.svg`},roadTJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadTJunction.svg`},roadXJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadXJunction.svg`},roadYJunction:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/roadYJunction.svg`},shoppingCart:{glyph:``,size:24,tags:[`generic`,`shop`,`purchase`],fileSvg:`svg/shoppingCart.svg`},singleLineToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/singleLineToTerrain.svg`},sphereOnMesh:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/sphereOnMesh.svg`},twoLinesToTerrain:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/twoLinesToTerrain.svg`},urbanRoad3To2Merge01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge01.svg`},urbanRoad3To2Merge02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoad3To2Merge02.svg`},urbanRoadToHighwayTransition01:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition01.svg`},urbanRoadToHighwayTransition02:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadToHighwayTransition02.svg`},floppyDiskPlus:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/floppyDiskPlus.svg`},highwayMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayMerge.svg`},highwaySeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwaySeparate.svg`},highwayShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/highwayShoulderMerge.svg`},terrainToSingleLine:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToSingleLine.svg`},terrainToTwoLines:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/terrainToTwoLines.svg`},urbanRoadMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadMerge.svg`},urbanRoadSeparate:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanRoadSeparate.svg`},urbanShoulderMerge:{glyph:``,size:24,tags:[`generic`,`we`,`world editor`,`road tools`],fileSvg:`svg/urbanShoulderMerge.svg`},discharging:{glyph:``,size:24,tags:[`fuel`,`electricity`,`ev`],fileSvg:`svg/discharging.svg`},BNGChat:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/BNGChat.svg`},chatBubble:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/chatBubble.svg`},busTilted:{glyph:``,size:24,tags:[`poi`,`vehicle`,`bus`],fileSvg:`svg/busTilted.svg`},cameraFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraFarClip.svg`},cameraNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/cameraNearClip.svg`},explosion:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/explosion.svg`},fireExtinguisher:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fireExtinguisher.svg`},fire:{glyph:``,size:24,tags:[`generic`,`destruction`],fileSvg:`svg/fire.svg`},jointLockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointLockedMultiple.svg`},jointUnlockedMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointUnlockedMultiple.svg`},toggleOff:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOff.svg`},toggleOn:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/toggleOn.svg`},viewFarClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewFarClip.svg`},viewNearClip:{glyph:``,size:24,tags:[`decals`,`generic`],fileSvg:`svg/viewNearClip.svg`},twoArrowsHorizontal:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsHorizontal.svg`},twoArrowsVertical:{glyph:``,size:24,tags:[`arrow`,`large`,`solid`,`turn signals`],fileSvg:`svg/twoArrowsVertical.svg`},bridge:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bridge.svg`},bump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bump.svg`},bumps:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/bumps.svg`},caution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/caution.svg`},crest:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/crest.svg`},doubleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/doubleCaution.svg`},finish:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/finish.svg`},jumpOverBump:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/jumpOverBump.svg`},narrows:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/narrows.svg`},pothole:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/pothole.svg`},turn1:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn1.svg`},turn2:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn2.svg`},turn3:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn3.svg`},turn4:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn4.svg`},turn5:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn5.svg`},turn6:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turn6.svg`},turnHp:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnHp.svg`},turnSq:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/turnSq.svg`},water:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/water.svg`},circleSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`,`no entry`],fileSvg:`svg/circleSlashed.svg`},scissorsSlashed:{glyph:``,size:24,tags:[`generic`,`do not cut`],fileSvg:`svg/scissorsSlashed.svg`},scissors:{glyph:``,size:24,tags:[`generic`,`cut`],fileSvg:`svg/scissors.svg`},airPuffRight1:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/airPuffRight1.svg`},airPuffUp1:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/airPuffUp1.svg`},arrowsReplace:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsReplace.svg`},arrowsShuffle:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsShuffle.svg`},arrowsSwitch:{glyph:``,size:24,tags:[`generic`,`arrow`],fileSvg:`svg/arrowsSwitch.svg`},carClock:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carClock.svg`},carFast:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFast.svg`},carNumber1:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber1.svg`},carNumber2:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber2.svg`},carNumber3:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber3.svg`},carNumber4:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber4.svg`},carNumber5:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber5.svg`},carNumber6:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber6.svg`},carNumber7:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber7.svg`},carNumber8:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber8.svg`},carNumber9:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carNumber9.svg`},carPlus:{glyph:``,size:24,tags:[`generic`,`vehicle`],fileSvg:`svg/carPlus.svg`},carsChange:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsChange.svg`},carsFollow:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFollow.svg`},doorFrontDetached:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/doorFrontDetached.svg`},forceFieldPull1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull1.svg`},forceFieldPull2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull2.svg`},forceFieldPull3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPull3.svg`},forceFieldPush1:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush1.svg`},forceFieldPush2:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush2.svg`},forceFieldPush3:{glyph:``,size:24,tags:[`physics`,`field`,`force`],fileSvg:`svg/forceFieldPush3.svg`},garageNumber1:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber1.svg`},garageNumber2:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber2.svg`},garageNumber3:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber3.svg`},garageNumber4:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber4.svg`},garageNumber5:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber5.svg`},garageNumber6:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber6.svg`},garageNumber7:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber7.svg`},garageNumber8:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber8.svg`},garageNumber9:{glyph:``,size:24,tags:[`career`,`garage number`,`features`],fileSvg:`svg/garageNumber9.svg`},hingeBroken:{glyph:``,size:24,tags:[`vehicle`,`part`,`features`],fileSvg:`svg/hingeBroken.svg`},loadMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/loadMesh.svg`},octagonBrick:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagonBrick.svg`},octagon:{glyph:``,size:24,tags:[`generic`,`vehicle`,`car`],fileSvg:`svg/octagon.svg`},pushUp:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushUp.svg`},saveMesh:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/saveMesh.svg`},square:{glyph:``,size:24,tags:[`playback`,`stop`],fileSvg:`svg/square.svg`},tireAirPuff:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireAirPuff.svg`},tireDeflated:{glyph:``,size:24,tags:[`vehicle`,`car`],fileSvg:`svg/tireDeflated.svg`},trafficLight:{glyph:``,size:24,tags:[`generic`,`traffic`,`roads`],fileSvg:`svg/trafficLight.svg`},enter:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/enter.svg`},pedestrianRunning:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianRunning.svg`},pedestrianStanding:{glyph:``,size:24,tags:[`generic`,`sign`,`pedestrian`,`traffic`],fileSvg:`svg/pedestrianStanding.svg`},seatArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowIn.svg`},seatArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOut.svg`},seatVArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowIn.svg`},seatVArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOut.svg`},vehicleArrowIn:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowIn.svg`},vehicleArrowOut:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/vehicleArrowOut.svg`},leverFrontOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverFrontOperate.svg`},leverSideDown:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideDown.svg`},leverSideOperate:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideOperate.svg`},leverSideUp:{glyph:``,size:24,tags:[`generic`,`actions`],fileSvg:`svg/leverSideUp.svg`},medalEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalEmpty.svg`},medalStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/medalStar.svg`},seatArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowInLeft.svg`},seatArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatArrowOutLeft.svg`},seatVArrowInLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowInLeft.svg`},seatVArrowOutLeft:{glyph:``,size:24,tags:[`generic`,`arrow`,`actions`],fileSvg:`svg/seatVArrowOutLeft.svg`},badgeRoundEmpty:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundEmpty.svg`},badgeRoundStar:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRoundStar.svg`},badgeRound:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badgeRound.svg`},badge:{glyph:``,size:24,tags:[`generic`,`reward`,`achievment`],fileSvg:`svg/badge.svg`},beamCurrencyOutlineLarge:{glyph:``,size:48,tags:[`outline`,`generic`,`currency`],fileSvg:`svg/beamCurrencyOutlineLarge.svg`},carSideOutlineLarge:{glyph:``,size:48,tags:[`generic`,`vehicle`],fileSvg:`svg/carSideOutlineLarge.svg`},flagOutlineLarge:{glyph:``,size:48,tags:[`generic`,`mission`,`scenario`],fileSvg:`svg/flagOutlineLarge.svg`},terrainOutlineLarge:{glyph:``,size:48,tags:[`generic`],fileSvg:`svg/terrainOutlineLarge.svg`},houseWrenchRoof:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrenchRoof.svg`},houseWrench:{glyph:``,size:24,tags:[`career`,`garage`,`features`,`house`],fileSvg:`svg/houseWrench.svg`},eject:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/eject.svg`},rallyHelmet3To4:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet3To4.svg`},rallyHelmet:{glyph:``,size:24,tags:[`helmet`,`rally`,`generic`,`racing`,`game mode`],fileSvg:`svg/rallyHelmet.svg`},test:{glyph:``,size:24,tags:[`generic`,`hazard`],fileSvg:`svg/test.svg`},tripleCaution:{glyph:``,size:48,tags:[`rally`,`pace notes`,`directions`,`surface`,`features`],fileSvg:`svg/tripleCaution.svg`},globeSimpleNotSign:{glyph:``,size:24,tags:[`generic`,`offline`],fileSvg:`svg/globeSimpleNotSign.svg`},globeSimplified:{glyph:``,size:24,tags:[`generic`,`online`],fileSvg:`svg/globeSimplified.svg`},radialMenu:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/radialMenu.svg`},branch:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/branch.svg`},NA:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/NA.svg`},psCircleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircleOutline.svg`},psCircle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCircle.svg`},psCreate2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate2.svg`},psCreate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCreate.svg`},psCrossOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCrossOutline.svg`},psCross:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psCross.svg`},psDDefaultOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultOutline.svg`},psDDefaultSolid:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDefaultSolid.svg`},psDDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDDown.svg`},psDLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeft.svg`},psDRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDRight.svg`},psDUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUp.svg`},psL1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL1.svg`},psL2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL2.svg`},psL3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3ButtonArrowDown.svg`},psL3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psL3Button.svg`},psLSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXLeft.svg`},psLSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSXRight.svg`},psLSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSX.svg`},psLSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYDown.svg`},psLSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSYUp.svg`},psLSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLSY.svg`},psLS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psLS.svg`},psMenu2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu2.svg`},psMenu:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psMenu.svg`},psR1:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR1.svg`},psR2:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR2.svg`},psR3ButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3ButtonArrowDown.svg`},psR3Button:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psR3Button.svg`},psRSXLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXLeft.svg`},psRSXRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSXRight.svg`},psRSX:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSX.svg`},psRSYDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYDown.svg`},psRSYUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSYUp.svg`},psRSY:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRSY.svg`},psRS:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psRS.svg`},psSquareOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquareOutline.svg`},psSquare:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psSquare.svg`},psTrackpadNavigate:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadNavigate.svg`},psTrackpadPressCenter:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressCenter.svg`},psTrackpadPressLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressLeft.svg`},psTrackpadPressRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadPressRight.svg`},psTrackpadSwipeDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeDown.svg`},psTrackpadSwipeLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeLeft.svg`},psTrackpadSwipeRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeRight.svg`},psTrackpadSwipeUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTrackpadSwipeUp.svg`},psTriangleOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangleOutline.svg`},psTriangle:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psTriangle.svg`},xboxAOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxAOutline.svg`},xboxBOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxBOutline.svg`},xboxLSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxLSButtonArrowDown.svg`},xboxRSButtonArrowDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxRSButtonArrowDown.svg`},xboxXAxisLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisLeft.svg`},xboxXAxisRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXAxisRight.svg`},xboxXOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXOutline.svg`},xboxXRotLeft:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotLeft.svg`},xboxXRotRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxXRotRight.svg`},xboxYAxisDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisDown.svg`},xboxYAxisUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYAxisUp.svg`},xboxYOutline:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYOutline.svg`},xboxYRotDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotDown.svg`},xboxYRotUp:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxYRotUp.svg`},cableSection:{glyph:``,size:24,tags:[`material`,`beam`,`strap`],fileSvg:`svg/cableSection.svg`},strapHook:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapHook.svg`},strapRatchet:{glyph:``,size:24,tags:[`material`,`strap`],fileSvg:`svg/strapRatchet.svg`},carFastReverse:{glyph:``,size:24,tags:[`vehicle`],fileSvg:`svg/carFastReverse.svg`},carsChase:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsChase.svg`},carsFlee:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/carsFlee.svg`},gaugeFull:{glyph:``,size:24,tags:[`poi`],fileSvg:`svg/gaugeFull.svg`},hammerParticles:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/hammerParticles.svg`},kbArrowsDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsDown.svg`},kbArrowsLeftRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeftRight.svg`},kbArrowsLeft:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsLeft.svg`},kbArrowsOutline:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsOutline.svg`},kbArrowsRight:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsRight.svg`},kbArrowsSolid:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsSolid.svg`},kbArrowsUpDown:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUpDown.svg`},kbArrowsUp:{glyph:``,size:24,tags:[`keyboard`,`controls`],fileSvg:`svg/kbArrowsUp.svg`},magicWand:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/magicWand.svg`},psDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDLeftRight.svg`},psDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/psDUpDown.svg`},pushBackward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushBackward.svg`},pushDown:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushDown.svg`},pushForward:{glyph:``,size:24,tags:[`physics`,`force`],fileSvg:`svg/pushForward.svg`},rangeboxHi:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxHi.svg`},rangeboxLo:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/rangeboxLo.svg`},routeSimpleFlag:{glyph:``,size:24,tags:[`route`,`traffic`],fileSvg:`svg/routeSimpleFlag.svg`},xboxDLeftRight:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDLeftRight.svg`},xboxDUpDown:{glyph:``,size:24,tags:[`gamepad`,`controller`,`input`],fileSvg:`svg/xboxDUpDown.svg`},carsWrench:{glyph:``,size:24,tags:[`vehicle`,`select`],fileSvg:`svg/carsWrench.svg`},jointCycleMultiple:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycleMultiple.svg`},jointCycle:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/jointCycle.svg`},dice24:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/dice24.svg`},diceD6:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/diceD6.svg`},pathDice:{glyph:``,size:24,tags:[`camera`],fileSvg:`svg/pathDice.svg`},sunDown:{glyph:``,size:24,tags:[`environment`],fileSvg:`svg/sunDown.svg`},xmarkBold:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/xmarkBold.svg`},intakeTrumpets:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/intakeTrumpets.svg`},transmissionCvt:{glyph:``,size:24,tags:[`vehicle`,`features`],fileSvg:`svg/transmissionCvt.svg`},house:{glyph:``,size:24,tags:[`career`,`generic`,`garage`,`features`,`house`],fileSvg:`svg/house.svg`},playPause:{glyph:``,size:24,tags:[`playback`],fileSvg:`svg/playPause.svg`},picture:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/picture.svg`},auxUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/auxUpDown.svg`},bucketArmUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUpDown.svg`},bucketTilt:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTilt.svg`},bucketArmDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmDown.svg`},bucketArmLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmLevel.svg`},bucketArmUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketArmUp.svg`},bucketTiltDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltDown.svg`},bucketTiltLevel:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltLevel.svg`},bucketTiltUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/bucketTiltUp.svg`},dumpBedDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedDown.svg`},dumpBedUpDown:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUpDown.svg`},dumpBedUp:{glyph:``,size:24,tags:[`vehicle`,`features`,`equipment`],fileSvg:`svg/dumpBedUp.svg`},beamCurrencyThin:{glyph:``,size:24,tags:[`career`,`currencies`],fileSvg:`svg/beamCurrencyThin.svg`},shieldCheckmarkProgressbar:{glyph:``,size:24,tags:[`generic`],fileSvg:`svg/shieldCheckmarkProgressbar.svg`}}),iconsBySize=Object.freeze({16:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},24:{"4WD":icons$2[`4WD`],"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,ABSIndicator:icons$2.ABSIndicator,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,AIRace:icons$2.AIRace,aperture:icons$2.aperture,arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,autobahn:icons$2.autobahn,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,bSpline:icons$2.bSpline,banknotes:icons$2.banknotes,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamCurrency:icons$2.beamCurrency,beamNG:icons$2.beamNG,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,bus:icons$2.bus,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,cannon:icons$2.cannon,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carDealer:icons$2.carDealer,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,charge:icons$2.charge,charging:icons$2.charging,chartBars:icons$2.chartBars,checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,circuit:icons$2.circuit,clapperboard:icons$2.clapperboard,code:icons$2.code,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,concreteRoadBlock:icons$2.concreteRoadBlock,coolantTemp:icons$2.coolantTemp,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,cup:icons$2.cup,dataExchange:icons$2.dataExchange,day:icons$2.day,DCBattery:icons$2.DCBattery,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,doorIn:icons$2.doorIn,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,evade:icons$2.evade,exhaustValve:icons$2.exhaustValve,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,fastTravel:icons$2.fastTravel,filter:icons$2.filter,flagNew:icons$2.flagNew,flag:icons$2.flag,flatBulbBeam:icons$2.flatBulbBeam,flatbedTruck:icons$2.flatbedTruck,floppyDisk:icons$2.floppyDisk,fogLight:icons$2.fogLight,folder:icons$2.folder,forklift:icons$2.forklift,FPS:icons$2.FPS,fragile:icons$2.fragile,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,FWD:icons$2.FWD,gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,gaugeEmpty:icons$2.gaugeEmpty,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,hazardLights:icons$2.hazardLights,helmets:icons$2.helmets,help:icons$2.help,highBeam:icons$2.highBeam,HUD:icons$2.HUD,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,hypermiling:icons$2.hypermiling,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,jump:icons$2.jump,keyboard:icons$2.keyboard,keys1:icons$2.keys1,keys2:icons$2.keys2,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,lightrunner:icons$2.lightrunner,limiterEnable:icons$2.limiterEnable,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,lowBeam:icons$2.lowBeam,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minusRes:icons$2.minusRes,minus:icons$2.minus,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,missionCheckboxCross:icons$2.missionCheckboxCross,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,move02:icons$2.move02,move:icons$2.move,movieCamera:icons$2.movieCamera,music:icons$2.music,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,nextTrack:icons$2.nextTrack,night:icons$2.night,noNameControllerButton:icons$2.noNameControllerButton,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,order:icons$2.order,organization:icons$2.organization,palmCrossed:icons$2.palmCrossed,paperKnife:icons$2.paperKnife,parkingIndicator:icons$2.parkingIndicator,parking:icons$2.parking,pathArc:icons$2.pathArc,pathAroundObstacle:icons$2.pathAroundObstacle,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,pauseRound:icons$2.pauseRound,pause:icons$2.pause,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,plus:icons$2.plus,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,powerOnOff:icons$2.powerOnOff,prevTrack:icons$2.prevTrack,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,raceFlag:icons$2.raceFlag,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,runScript:icons$2.runScript,RWD:icons$2.RWD,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,smallTrailer:icons$2.smallTrailer,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,spoilerLift:icons$2.spoilerLift,sprayCan:icons$2.sprayCan,stack3:icons$2.stack3,star:icons$2.star,starSecondary:icons$2.starSecondary,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,strobeLights:icons$2.strobeLights,sunRise:icons$2.sunRise,survellianceCamera:icons$2.survellianceCamera,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,targetJump:icons$2.targetJump,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,thisSideUp:icons$2.thisSideUp,tiles:icons$2.tiles,timer:icons$2.timer,tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,toGarage:icons$2.toGarage,touch:icons$2.touch,tow:icons$2.tow,tractionControl:icons$2.tractionControl,trafficCone:icons$2.trafficCone,transform:icons$2.transform,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,transparencyMask:icons$2.transparencyMask,trashBin1:icons$2.trashBin1,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,turbine:icons$2.turbine,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weather:icons$2.weather,weight:icons$2.weight,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,rocks:icons$2.rocks,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,discharging:icons$2.discharging,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,busTilted:icons$2.busTilted,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,pushUp:icons$2.pushUp,saveMesh:icons$2.saveMesh,square:icons$2.square,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,eject:icons$2.eject,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,gaugeFull:icons$2.gaugeFull,hammerParticles:icons$2.hammerParticles,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp,magicWand:icons$2.magicWand,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,routeSimpleFlag:icons$2.routeSimpleFlag,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,dice24:icons$2.dice24,diceD6:icons$2.diceD6,pathDice:icons$2.pathDice,sunDown:icons$2.sunDown,xmarkBold:icons$2.xmarkBold,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,playPause:icons$2.playPause,picture:icons$2.picture,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp,beamCurrencyThin:icons$2.beamCurrencyThin,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},48:{AIL:icons$2.AIL,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,automaticTransmissionL:icons$2.automaticTransmissionL,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,chargeLL:icons$2.chargeLL,cityOutline:icons$2.cityOutline,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineL:icons$2.engineL,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,multiseatL:icons$2.multiseatL,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,POITimeL:icons$2.POITimeL,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,temperatureL:icons$2.temperatureL,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,tripleCaution:icons$2.tripleCaution},56:{circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront}}),iconsByTag=Object.freeze({vehicle:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,boxTruck:icons$2.boxTruck,bus:icons$2.bus,carChase01:icons$2.carChase01,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carStarred:icons$2.carStarred,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,carsChase02:icons$2.carsChase02,cars:icons$2.cars,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drift01:icons$2.drift01,drift02:icons$2.drift02,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,flatbedTruck:icons$2.flatbedTruck,fogLight:icons$2.fogLight,forklift:icons$2.forklift,FWD:icons$2.FWD,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,rockCrawling01:icons$2.rockCrawling01,RWD:icons$2.RWD,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tankerTrailer:icons$2.tankerTrailer,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tow:icons$2.tow,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,boxTruckFast:icons$2.boxTruckFast,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,busTilted:icons$2.busTilted,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,airPuffRight1:icons$2.airPuffRight1,carClock:icons$2.carClock,carFast:icons$2.carFast,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,carsChange:icons$2.carsChange,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated,carSideOutlineLarge:icons$2.carSideOutlineLarge,carFastReverse:icons$2.carFastReverse,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,carsWrench:icons$2.carsWrench,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},features:{"4WD":icons$2[`4WD`],ABSIndicator:icons$2.ABSIndicator,AWD:icons$2.AWD,axleLift:icons$2.axleLift,axleCenter:icons$2.axleCenter,axleFront:icons$2.axleFront,axleRear:icons$2.axleRear,carCoin:icons$2.carCoin,carCoins:icons$2.carCoins,carDealer:icons$2.carDealer,carStarred:icons$2.carStarred,centrifugalClutchLocked03:icons$2.centrifugalClutchLocked03,centrifugalClutchUnlocked03:icons$2.centrifugalClutchUnlocked03,cogDamaged:icons$2.cogDamaged,cogsDamaged:icons$2.cogsDamaged,cogs:icons$2.cogs,coolantTemp:icons$2.coolantTemp,cruiseDisable:icons$2.cruiseDisable,cruiseEnable:icons$2.cruiseEnable,DCBattery:icons$2.DCBattery,differentialFrontDefault:icons$2.differentialFrontDefault,differentialFrontLocked:icons$2.differentialFrontLocked,differentialMiddleDefault:icons$2.differentialMiddleDefault,differentialMiddleLocked:icons$2.differentialMiddleLocked,differentialRearDefault:icons$2.differentialRearDefault,differentialRearLocked:icons$2.differentialRearLocked,doorHandle:icons$2.doorHandle,drivetrainGeneric:icons$2.drivetrainGeneric,drivetrainSpecial:icons$2.drivetrainSpecial,engine:icons$2.engine,ESCOff:icons$2.ESCOff,ESCOn:icons$2.ESCOn,ESC:icons$2.ESC,exhaustValve:icons$2.exhaustValve,fogLight:icons$2.fogLight,FWD:icons$2.FWD,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,hazardLights:icons$2.hazardLights,highBeam:icons$2.highBeam,hydroPump1:icons$2.hydroPump1,hydroPump2:icons$2.hydroPump2,hydroPump3:icons$2.hydroPump3,hydroPump4:icons$2.hydroPump4,hydroPump5:icons$2.hydroPump5,hydroPump6:icons$2.hydroPump6,hydroPump7:icons$2.hydroPump7,jointLocked:icons$2.jointLocked,jointUnlocked:icons$2.jointUnlocked,keys1:icons$2.keys1,keys2:icons$2.keys2,limiterEnable:icons$2.limiterEnable,lowBeam:icons$2.lowBeam,minusRes:icons$2.minusRes,mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle,odometerKM:icons$2.odometerKM,odometerMI:icons$2.odometerMI,odometer:icons$2.odometer,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,plusSet:icons$2.plusSet,positionLights:icons$2.positionLights,powerGauge01:icons$2.powerGauge01,powerGauge02:icons$2.powerGauge02,powerGauge03:icons$2.powerGauge03,powerGauge04:icons$2.powerGauge04,powerGauge05:icons$2.powerGauge05,rangeboxHi2:icons$2.rangeboxHi2,rangeboxHi4:icons$2.rangeboxHi4,rangeboxHiA:icons$2.rangeboxHiA,rangeboxLo2:icons$2.rangeboxLo2,rangeboxLo4:icons$2.rangeboxLo4,rangeboxLoA:icons$2.rangeboxLoA,RWD:icons$2.RWD,spoilerLift:icons$2.spoilerLift,strobeLights:icons$2.strobeLights,suspension01:icons$2.suspension01,suspension02:icons$2.suspension02,synchro01:icons$2.synchro01,synchro02:icons$2.synchro02,tirePressureDecrease01:icons$2.tirePressureDecrease01,tirePressureDecrease02:icons$2.tirePressureDecrease02,tirePressureGaugeAlt01:icons$2.tirePressureGaugeAlt01,tirePressureGaugeAlt02:icons$2.tirePressureGaugeAlt02,tirePressureGaugeAlt03:icons$2.tirePressureGaugeAlt03,tirePressureGaugeOutlined01:icons$2.tirePressureGaugeOutlined01,tirePressureGaugeOutlined02:icons$2.tirePressureGaugeOutlined02,tirePressureGaugeOutlined03:icons$2.tirePressureGaugeOutlined03,tirePressureGaugeSolid01:icons$2.tirePressureGaugeSolid01,tirePressureGaugeSolid02:icons$2.tirePressureGaugeSolid02,tirePressureGaugeSolid03:icons$2.tirePressureGaugeSolid03,tirePressureIncrease01:icons$2.tirePressureIncrease01,tirePressureIncrease02:icons$2.tirePressureIncrease02,tirePressureStopLine:icons$2.tirePressureStopLine,tirePressureStopOctoLine:icons$2.tirePressureStopOctoLine,tirePressureStopOctoSolid:icons$2.tirePressureStopOctoSolid,tirePressureStopSolid:icons$2.tirePressureStopSolid,tractionControl:icons$2.tractionControl,transmissionA:icons$2.transmissionA,transmissionM:icons$2.transmissionM,turbine:icons$2.turbine,vehicleDoorsClose:icons$2.vehicleDoorsClose,vehicleDoorsOpen:icons$2.vehicleDoorsOpen,vehicleDoors:icons$2.vehicleDoors,vehicleFeatures01:icons$2.vehicleFeatures01,vehicleFeatures02:icons$2.vehicleFeatures02,vehicleFeatures03:icons$2.vehicleFeatures03,vehicleHood:icons$2.vehicleHood,vehicleTrunk:icons$2.vehicleTrunk,wheelHubLocked01:icons$2.wheelHubLocked01,wheelHubUnlocked01:icons$2.wheelHubUnlocked01,wigwags:icons$2.wigwags,wrench:icons$2.wrench,accelerationKPH:icons$2.accelerationKPH,accelerationMPH:icons$2.accelerationMPH,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,jointLockedMultiple:icons$2.jointLockedMultiple,jointUnlockedMultiple:icons$2.jointUnlockedMultiple,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,carsFollow:icons$2.carsFollow,doorFrontDetached:icons$2.doorFrontDetached,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,hingeBroken:icons$2.hingeBroken,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,tripleCaution:icons$2.tripleCaution,carsChase:icons$2.carsChase,carsFlee:icons$2.carsFlee,hammerParticles:icons$2.hammerParticles,rangeboxHi:icons$2.rangeboxHi,rangeboxLo:icons$2.rangeboxLo,jointCycleMultiple:icons$2.jointCycleMultiple,jointCycle:icons$2.jointCycle,intakeTrumpets:icons$2.intakeTrumpets,transmissionCvt:icons$2.transmissionCvt,house:icons$2.house,auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp},generic:{"9dividedby10":icons$2[`9dividedby10`],abandon:icons$2.abandon,addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,adjust:icons$2.adjust,AIMicrochip:icons$2.AIMicrochip,aperture:icons$2.aperture,autobahn:icons$2.autobahn,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,beamNG:icons$2.beamNG,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,BNGFolder:icons$2.BNGFolder,BNGMicrochip:icons$2.BNGMicrochip,bollard:icons$2.bollard,bookmark:icons$2.bookmark,booleanIntersect:icons$2.booleanIntersect,broom:icons$2.broom,bucketAdd:icons$2.bucketAdd,bucketSubtract:icons$2.bucketSubtract,bug:icons$2.bug,bulldozer:icons$2.bulldozer,carChase01:icons$2.carChase01,carCrash:icons$2.carCrash,carOffroadOutlineRear:icons$2.carOffroadOutlineRear,carOffroadOutlineSide:icons$2.carOffroadOutlineSide,carOffroadRear:icons$2.carOffroadRear,carOffroadSide:icons$2.carOffroadSide,carSensors:icons$2.carSensors,carToWheels:icons$2.carToWheels,carUp:icons$2.carUp,carWithLidar:icons$2.carWithLidar,car:icons$2.car,cardboardBox:icons$2.cardboardBox,carsChase02:icons$2.carsChase02,cars:icons$2.cars,catalog01:icons$2.catalog01,catalog02:icons$2.catalog02,catalog03:icons$2.catalog03,chartBars:icons$2.chartBars,checkmarkBold:icons$2.checkmarkBold,checkmark:icons$2.checkmark,circuitMicrochip:icons$2.circuitMicrochip,clapperboard:icons$2.clapperboard,code:icons$2.code,concreteRoadBlock:icons$2.concreteRoadBlock,copy:icons$2.copy,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,cup:icons$2.cup,dataExchange:icons$2.dataExchange,decalRoad:icons$2.decalRoad,decal:icons$2.decal,deform:icons$2.deform,doorIn:icons$2.doorIn,editCheckmark:icons$2.editCheckmark,edit:icons$2.edit,exit:icons$2.exit,export:icons$2.export,eyeOutlineClosed:icons$2.eyeOutlineClosed,eyeOutlineOpened:icons$2.eyeOutlineOpened,eyeSolidClosed:icons$2.eyeSolidClosed,eyeSolidOpened:icons$2.eyeSolidOpened,eyeWaves:icons$2.eyeWaves,facility02:icons$2.facility02,filter:icons$2.filter,flatBulbBeam:icons$2.flatBulbBeam,floppyDisk:icons$2.floppyDisk,folder:icons$2.folder,FPS:icons$2.FPS,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,globe:icons$2.globe,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,group:icons$2.group,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,helmets:icons$2.helmets,help:icons$2.help,HUD:icons$2.HUD,import:icons$2.import,infinity:icons$2.infinity,info:icons$2.info,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,language:icons$2.language,laptop:icons$2.laptop,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,lightrunner:icons$2.lightrunner,lineToTerrain:icons$2.lineToTerrain,link2:icons$2.link2,link:icons$2.link,listBig:icons$2.listBig,listIndented:icons$2.listIndented,listSmall:icons$2.listSmall,location1:icons$2.location1,location2:icons$2.location2,lockClosed:icons$2.lockClosed,lockOpened:icons$2.lockOpened,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,mapWithEmitter:icons$2.mapWithEmitter,mapPoint:icons$2.mapPoint,material:icons$2.material,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,medal:icons$2.medal,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,minus:icons$2.minus,move02:icons$2.move02,move:icons$2.move,nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,order:icons$2.order,organization:icons$2.organization,paperKnife:icons$2.paperKnife,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,personSolid:icons$2.personSolid,person:icons$2.person,photo:icons$2.photo,placeholder:icons$2.placeholder,plus:icons$2.plus,powerOnOff:icons$2.powerOnOff,publisher:icons$2.publisher,puzzleModule:icons$2.puzzleModule,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,reconfigure:icons$2.reconfigure,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,replay:icons$2.replay,restart:icons$2.restart,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadInfo:icons$2.roadInfo,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,road:icons$2.road,runScript:icons$2.runScript,saveAs1:icons$2.saveAs1,scan:icons$2.scan,search:icons$2.search,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,signal01a:icons$2.signal01a,signal02a:icons$2.signal02a,signal03a:icons$2.signal03a,signal04a:icons$2.signal04a,signal05a:icons$2.signal05a,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight,snowflake:icons$2.snowflake,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,sprayCan:icons$2.sprayCan,star:icons$2.star,starSecondary:icons$2.starSecondary,stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,survellianceCamera:icons$2.survellianceCamera,switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline,sync:icons$2.sync,taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp,terrainToLine:icons$2.terrainToLine,terrain:icons$2.terrain,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,tiles:icons$2.tiles,timer:icons$2.timer,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,tow:icons$2.tow,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,triangleBeam:icons$2.triangleBeam,trim:icons$2.trim,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,undo:icons$2.undo,ungroup:icons$2.ungroup,unlink:icons$2.unlink,view:icons$2.view,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight,weight:icons$2.weight,wrench:icons$2.wrench,danger:icons$2.danger,droplet:icons$2.droplet,envelope:icons$2.envelope,fireDiamond:icons$2.fireDiamond,xmark:icons$2.xmark,scale:icons$2.scale,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,colorBrightnessSun:icons$2.colorBrightnessSun,colorCirclePalette:icons$2.colorCirclePalette,colorPalette:icons$2.colorPalette,colorSaturation:icons$2.colorSaturation,sortAscDown02:icons$2.sortAscDown02,sortAscDown:icons$2.sortAscDown,sortAscUp02:icons$2.sortAscUp02,sortAscUp:icons$2.sortAscUp,sortDescDown02:icons$2.sortDescDown02,sortDescDown:icons$2.sortDescDown,sortDescUp02:icons$2.sortDescUp02,sortDescUp:icons$2.sortDescUp,cardboardBoxCoins:icons$2.cardboardBoxCoins,lasso:icons$2.lasso,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,metal01:icons$2.metal01,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,sortAsc:icons$2.sortAsc,sortDesc:icons$2.sortDesc,surfaceRoughness02:icons$2.surfaceRoughness02,shieldCheckmark:icons$2.shieldCheckmark,shieldHandCheckmark:icons$2.shieldHandCheckmark,shieldHandPlus:icons$2.shieldHandPlus,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,shoppingCart:icons$2.shoppingCart,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,floppyDiskPlus:icons$2.floppyDiskPlus,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge,BNGChat:icons$2.BNGChat,chatBubble:icons$2.chatBubble,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire,toggleOff:icons$2.toggleOff,toggleOn:icons$2.toggleOn,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip,circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed,scissors:icons$2.scissors,airPuffRight1:icons$2.airPuffRight1,airPuffUp1:icons$2.airPuffUp1,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,carClock:icons$2.carClock,carNumber1:icons$2.carNumber1,carNumber2:icons$2.carNumber2,carNumber3:icons$2.carNumber3,carNumber4:icons$2.carNumber4,carNumber5:icons$2.carNumber5,carNumber6:icons$2.carNumber6,carNumber7:icons$2.carNumber7,carNumber8:icons$2.carNumber8,carNumber9:icons$2.carNumber9,carPlus:icons$2.carPlus,loadMesh:icons$2.loadMesh,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,saveMesh:icons$2.saveMesh,trafficLight:icons$2.trafficLight,enter:icons$2.enter,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge,carSideOutlineLarge:icons$2.carSideOutlineLarge,flagOutlineLarge:icons$2.flagOutlineLarge,terrainOutlineLarge:icons$2.terrainOutlineLarge,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,test:icons$2.test,globeSimpleNotSign:icons$2.globeSimpleNotSign,globeSimplified:icons$2.globeSimplified,radialMenu:icons$2.radialMenu,branch:icons$2.branch,NA:icons$2.NA,magicWand:icons$2.magicWand,dice24:icons$2.dice24,diceD6:icons$2.diceD6,xmarkBold:icons$2.xmarkBold,house:icons$2.house,picture:icons$2.picture,shieldCheckmarkProgressbar:icons$2.shieldCheckmarkProgressbar},warning:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},internals:{ABSIndicator:icons$2.ABSIndicator,DCBattery:icons$2.DCBattery,oilPressureIndicator:icons$2.oilPressureIndicator,parkingIndicator:icons$2.parkingIndicator},we:{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"world editor":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lineToTerrain:icons$2.lineToTerrain,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingOutline:icons$2.roadMarkingOutline,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,sphericalBeam:icons$2.sphericalBeam,terrainToLine:icons$2.terrainToLine,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,lasso:icons$2.lasso,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},"road tools":{addItemPolygon:icons$2.addItemPolygon,addListItem:icons$2.addListItem,addPolygonVertex:icons$2.addPolygonVertex,bSpline:icons$2.bSpline,beamCrashBarrier1:icons$2.beamCrashBarrier1,beamCrashBarrier2:icons$2.beamCrashBarrier2,beamCrashBarrier3:icons$2.beamCrashBarrier3,bezierPath1:icons$2.bezierPath1,bezierPath2:icons$2.bezierPath2,bicycle1:icons$2.bicycle1,bicycle2:icons$2.bicycle2,bollard:icons$2.bollard,bulldozer:icons$2.bulldozer,concreteRoadBlock:icons$2.concreteRoadBlock,crossroads1:icons$2.crossroads1,crossroads2:icons$2.crossroads2,decalRoad:icons$2.decalRoad,lampPost1:icons$2.lampPost1,lampPost2:icons$2.lampPost2,lampPost3:icons$2.lampPost3,laneProperties:icons$2.laneProperties,lineToTerrain:icons$2.lineToTerrain,magnetOnSurface:icons$2.magnetOnSurface,meshFence:icons$2.meshFence,meshRoad:icons$2.meshRoad,pathArc:icons$2.pathArc,pathLine:icons$2.pathLine,pathSpiral:icons$2.pathSpiral,roadDividerLinesDecal:icons$2.roadDividerLinesDecal,roadEdgeLineDecal:icons$2.roadEdgeLineDecal,roadEndLineDecal:icons$2.roadEndLineDecal,roadFace:icons$2.roadFace,roadMarkingSolid:icons$2.roadMarkingSolid,roadOutline:icons$2.roadOutline,roadRefPathDecal:icons$2.roadRefPathDecal,roadRefPath:icons$2.roadRefPath,roadStartLineDecal:icons$2.roadStartLineDecal,sphereOnPathNumber:icons$2.sphereOnPathNumber,sphereOnPath:icons$2.sphereOnPath,terrainToLine:icons$2.terrainToLine,tunnel:icons$2.tunnel,twoRoadsAdd:icons$2.twoRoadsAdd,twoRoadsCrossAdd:icons$2.twoRoadsCrossAdd,twoRoadsLink:icons$2.twoRoadsLink,removeItemPolygon:icons$2.removeItemPolygon,removeListItem:icons$2.removeListItem,bridgeWithRiver:icons$2.bridgeWithRiver,gizmosOutline:icons$2.gizmosOutline,gizmosSolid:icons$2.gizmosSolid,highwayRoad3To2Merge01:icons$2.highwayRoad3To2Merge01,highwayRoad3To2Merge02:icons$2.highwayRoad3To2Merge02,highwayToUrbanRoadTransition01:icons$2.highwayToUrbanRoadTransition01,highwayToUrbanRoadTransition02:icons$2.highwayToUrbanRoadTransition02,pedestrianCrossing01:icons$2.pedestrianCrossing01,polygonalCube:icons$2.polygonalCube,roadEditOutline:icons$2.roadEditOutline,roadEditSolid:icons$2.roadEditSolid,roadFolderPlus:icons$2.roadFolderPlus,roadFolder:icons$2.roadFolder,roadGuideArrowOutline:icons$2.roadGuideArrowOutline,roadGuideArrowSolid:icons$2.roadGuideArrowSolid,roadOutlineMesh:icons$2.roadOutlineMesh,roadPedestrianCrossing02:icons$2.roadPedestrianCrossing02,roadProfileWithCheckmark:icons$2.roadProfileWithCheckmark,roadProfile:icons$2.roadProfile,roadRoundaboutJunction:icons$2.roadRoundaboutJunction,roadSidewalkTransition:icons$2.roadSidewalkTransition,roadStackPlus:icons$2.roadStackPlus,roadStack:icons$2.roadStack,roadTJunction:icons$2.roadTJunction,roadXJunction:icons$2.roadXJunction,roadYJunction:icons$2.roadYJunction,singleLineToTerrain:icons$2.singleLineToTerrain,sphereOnMesh:icons$2.sphereOnMesh,twoLinesToTerrain:icons$2.twoLinesToTerrain,urbanRoad3To2Merge01:icons$2.urbanRoad3To2Merge01,urbanRoad3To2Merge02:icons$2.urbanRoad3To2Merge02,urbanRoadToHighwayTransition01:icons$2.urbanRoadToHighwayTransition01,urbanRoadToHighwayTransition02:icons$2.urbanRoadToHighwayTransition02,highwayMerge:icons$2.highwayMerge,highwaySeparate:icons$2.highwaySeparate,highwayShoulderMerge:icons$2.highwayShoulderMerge,terrainToSingleLine:icons$2.terrainToSingleLine,terrainToTwoLines:icons$2.terrainToTwoLines,urbanRoadMerge:icons$2.urbanRoadMerge,urbanRoadSeparate:icons$2.urbanRoadSeparate,urbanShoulderMerge:icons$2.urbanShoulderMerge},ai:{AIMicrochip:icons$2.AIMicrochip},microchip:{AIMicrochip:icons$2.AIMicrochip},poi:{AIRace:icons$2.AIRace,barrelKnocker01:icons$2.barrelKnocker01,barrelKnocker02:icons$2.barrelKnocker02,boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,bus:icons$2.bus,cannon:icons$2.cannon,circuit:icons$2.circuit,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,drag01:icons$2.drag01,drag02:icons$2.drag02,drift01:icons$2.drift01,drift02:icons$2.drift02,evade:icons$2.evade,fastTravel:icons$2.fastTravel,flagNew:icons$2.flagNew,flag:icons$2.flag,gaugeEmpty:icons$2.gaugeEmpty,hypermiling:icons$2.hypermiling,jump:icons$2.jump,parking:icons$2.parking,raceFlag:icons$2.raceFlag,rockCrawling01:icons$2.rockCrawling01,rockCrawling02:icons$2.rockCrawling02,targetJump:icons$2.targetJump,toGarage:icons$2.toGarage,trashBin1:icons$2.trashBin1,circlePinBack:icons$2.circlePinBack,circlePinFront:icons$2.circlePinFront,markerRectanglePinBack:icons$2.markerRectanglePinBack,markerRectanglePinFront:icons$2.markerRectanglePinFront,markerTriangleBack:icons$2.markerTriangleBack,markerTriangleFront:icons$2.markerTriangleFront,busTilted:icons$2.busTilted,gaugeFull:icons$2.gaugeFull},camera:{aperture:icons$2.aperture,camera3Fourth1:icons$2.camera3Fourth1,cameraBack1:icons$2.cameraBack1,cameraFocusOnPath:icons$2.cameraFocusOnPath,cameraFocusOnVehicle1:icons$2.cameraFocusOnVehicle1,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,cameraFocusTopDown:icons$2.cameraFocusTopDown,cameraFront1:icons$2.cameraFront1,cameraSideLeft:icons$2.cameraSideLeft,cameraSideLeft2:icons$2.cameraSideLeft2,cameraSideRight:icons$2.cameraSideRight,cameraSideRight2:icons$2.cameraSideRight2,cameraTop1:icons$2.cameraTop1,movieCamera:icons$2.movieCamera,pathAroundObstacle:icons$2.pathAroundObstacle,survellianceCamera:icons$2.survellianceCamera,pathDice:icons$2.pathDice},optical:{aperture:icons$2.aperture,survellianceCamera:icons$2.survellianceCamera},sensor:{aperture:icons$2.aperture,eyeWaves:icons$2.eyeWaves,flatBulbBeam:icons$2.flatBulbBeam,frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidarPatternFullArcHighFreq:icons$2.lidarPatternFullArcHighFreq,lidarPatternFullArcMidFreq:icons$2.lidarPatternFullArcMidFreq,lidarPatternNarrowArc:icons$2.lidarPatternNarrowArc,lidar:icons$2.lidar,location1:icons$2.location1,location2:icons$2.location2,longRangeBeam1:icons$2.longRangeBeam1,longRangeBeam2:icons$2.longRangeBeam2,midRangeBeam1:icons$2.midRangeBeam1,midRangeBeam2:icons$2.midRangeBeam2,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,shortRangeBeam1:icons$2.shortRangeBeam1,shortRangeBeam2:icons$2.shortRangeBeam2,sphericalBeam:icons$2.sphericalBeam,survellianceCamera:icons$2.survellianceCamera,thinBulbBeam:icons$2.thinBulbBeam,thinnerBulbBeam:icons$2.thinnerBulbBeam,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM,triangleBeam:icons$2.triangleBeam,tulipBeam:icons$2.tulipBeam,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},arrow:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical,arrowsReplace:icons$2.arrowsReplace,arrowsShuffle:icons$2.arrowsShuffle,arrowsSwitch:icons$2.arrowsSwitch,seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},large:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},simple:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp},outlined:{arrowLargeDown:icons$2.arrowLargeDown,arrowLargeLeft:icons$2.arrowLargeLeft,arrowLargeRight:icons$2.arrowLargeRight,arrowLargeUp:icons$2.arrowLargeUp,arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,roadMarkingOutline:icons$2.roadMarkingOutline,arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},small:{arrowSmallDown:icons$2.arrowSmallDown,arrowSmallLeft:icons$2.arrowSmallLeft,arrowSmallRight:icons$2.arrowSmallRight,arrowSmallUp:icons$2.arrowSmallUp,mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},solid:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight,twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},detailed:{arrowSolidLeft:icons$2.arrowSolidLeft,arrowSolidRight:icons$2.arrowSolidRight},career:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house,beamCurrencyThin:icons$2.beamCurrencyThin},currencies:{banknotes:icons$2.banknotes,beamCurrency:icons$2.beamCurrency,beamXPFull:icons$2.beamXPFull,beamXPLo:icons$2.beamXPLo,beamCurrencyThin:icons$2.beamCurrencyThin},brand:{beamNG:icons$2.beamNG},beamng:{beamNG:icons$2.beamNG},decals:{booleanIntersect:icons$2.booleanIntersect,cameraFocusOnVehicle2:icons$2.cameraFocusOnVehicle2,copy:icons$2.copy,decal:icons$2.decal,deform:icons$2.deform,group:icons$2.group,material:icons$2.material,move:icons$2.move,order:icons$2.order,paperKnife:icons$2.paperKnife,redo:icons$2.redo,reflectNot:icons$2.reflectNot,reflect:icons$2.reflect,rename:icons$2.rename,sprayCan:icons$2.sprayCan,transform:icons$2.transform,transparencyMask:icons$2.transparencyMask,trashBin2:icons$2.trashBin2,undo:icons$2.undo,ungroup:icons$2.ungroup,view:icons$2.view,weight:icons$2.weight,scale:icons$2.scale,materialGlossy:icons$2.materialGlossy,materialMetal:icons$2.materialMetal,materialRoughness:icons$2.materialRoughness,materialTransparency01:icons$2.materialTransparency01,materialTransparency02:icons$2.materialTransparency02,surfaceRoughness02:icons$2.surfaceRoughness02,cameraFarClip:icons$2.cameraFarClip,cameraNearClip:icons$2.cameraNearClip,viewFarClip:icons$2.viewFarClip,viewNearClip:icons$2.viewNearClip},delivery:{boxDropOff01:icons$2.boxDropOff01,boxDropOff02:icons$2.boxDropOff02,boxDropOff03:icons$2.boxDropOff03,boxPickUp01:icons$2.boxPickUp01,boxPickUp02:icons$2.boxPickUp02,boxPickUp03:icons$2.boxPickUp03,boxPickUpDropOff01:icons$2.boxPickUpDropOff01,boxPickUpDropOff02:icons$2.boxPickUpDropOff02,boxTruck:icons$2.boxTruck,cardboardBox:icons$2.cardboardBox,deliveryTruckArrows:icons$2.deliveryTruckArrows,deliveryTruck:icons$2.deliveryTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast,cardboardBoxCoins:icons$2.cardboardBoxCoins},cargo:{boxTruck:icons$2.boxTruck,flatbedTruck:icons$2.flatbedTruck,forklift:icons$2.forklift,fragile:icons$2.fragile,semiTrailer:icons$2.semiTrailer,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,stack3:icons$2.stack3,tankerTrailer:icons$2.tankerTrailer,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly,boxTruckFast:icons$2.boxTruckFast},sound:{broom:icons$2.broom,soundFadeOut:icons$2.soundFadeOut,soundLimit:icons$2.soundLimit,soundLoud:icons$2.soundLoud,soundMonoL:icons$2.soundMonoL,soundMonoR:icons$2.soundMonoR,soundOff:icons$2.soundOff,soundQuiet:icons$2.soundQuiet,soundStereo:icons$2.soundStereo,soundWave01:icons$2.soundWave01,soundWave02:icons$2.soundWave02,trim:icons$2.trim},police:{carChase01:icons$2.carChase01,carsChase02:icons$2.carsChase02,evade:icons$2.evade,strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},garage:{carDealer:icons$2.carDealer,garage01:icons$2.garage01,garage02:icons$2.garage02,garage03:icons$2.garage03,lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34,plusGarage1:icons$2.plusGarage1,plusGarage2:icons$2.plusGarage2,plusGarage3:icons$2.plusGarage3,plusGarage4:icons$2.plusGarage4,houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},sensors:{carSensors:icons$2.carSensors,carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter},tech:{carWithLidar:icons$2.carWithLidar,mapWithEmitter:icons$2.mapWithEmitter,mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},fuel:{charge:icons$2.charge,charging:icons$2.charging,fuelPumpFilling:icons$2.fuelPumpFilling,fuelPump:icons$2.fuelPump,N2OButton:icons$2.N2OButton,N2OHoriz:icons$2.N2OHoriz,N2OVert:icons$2.N2OVert,discharging:icons$2.discharging},electricity:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},ev:{charge:icons$2.charge,charging:icons$2.charging,discharging:icons$2.discharging},checkbox:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},selection:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},box:{checkboxOff:icons$2.checkboxOff,checkboxOn:icons$2.checkboxOn,missionCheckboxCross:icons$2.missionCheckboxCross},movie:{clapperboard:icons$2.clapperboard},scenery:{clapperboard:icons$2.clapperboard},powertrain:{cogsDamaged:icons$2.cogsDamaged},drivetrain:{cogsDamaged:icons$2.cogsDamaged},data:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},signal:{dataExchange:icons$2.dataExchange,eyeWaves:icons$2.eyeWaves,gyroscopeMicrochip:icons$2.gyroscopeMicrochip,gyroscope:icons$2.gyroscope,lidar:icons$2.lidar,radarIdeal:icons$2.radarIdeal,radarRoundIdeal:icons$2.radarRoundIdeal,radarRound:icons$2.radarRound,radar:icons$2.radar,wavesSignalReceived:icons$2.wavesSignalReceived,wavesSignalSentLeft:icons$2.wavesSignalSentLeft,wavesSignalSentRight:icons$2.wavesSignalSentRight},environment:{day:icons$2.day,night:icons$2.night,sunRise:icons$2.sunRise,weather:icons$2.weather,sunDown:icons$2.sunDown},part:{engine:icons$2.engine,suspension01:icons$2.suspension01,turbine:icons$2.turbine,doorFrontCoins:icons$2.doorFrontCoins,doorFront:icons$2.doorFront,engineCoins:icons$2.engineCoins,exhaustMufflerCoins:icons$2.exhaustMufflerCoins,exhaustMuffler:icons$2.exhaustMuffler,headlightCoins:icons$2.headlightCoins,headlight:icons$2.headlight,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth,turbineCoins:icons$2.turbineCoins,wheelDiscCoins:icons$2.wheelDiscCoins,wheelDisc:icons$2.wheelDisc,doorFrontDetached:icons$2.doorFrontDetached,hingeBroken:icons$2.hingeBroken},mission:{evade:icons$2.evade,flagOutlineLarge:icons$2.flagOutlineLarge},playback:{fastBackward:icons$2.fastBackward,fastForward:icons$2.fastForward,music:icons$2.music,nextTrack:icons$2.nextTrack,pauseRound:icons$2.pauseRound,pause:icons$2.pause,playRound:icons$2.playRound,play:icons$2.play,playlist:icons$2.playlist,prevTrack:icons$2.prevTrack,square:icons$2.square,eject:icons$2.eject,playPause:icons$2.playPause},truck:{flatbedTruck:icons$2.flatbedTruck,semiTruckCabover:icons$2.semiTruckCabover,semiTruckUS:icons$2.semiTruckUS,semiTruck:icons$2.semiTruck},stencil:{forklift:icons$2.forklift,fragile:icons$2.fragile,stack3:icons$2.stack3,thisSideUp:icons$2.thisSideUp,twoUnicyclesOnly:icons$2.twoUnicyclesOnly},placement:{frontAxleMidpoint:icons$2.frontAxleMidpoint,frontBumperMidpoint:icons$2.frontBumperMidpoint,rearAxleMidpoint:icons$2.rearAxleMidpoint,rearBumperMidpoint:icons$2.rearBumperMidpoint,toCOMWithWheels:icons$2.toCOMWithWheels,toCOM:icons$2.toCOM},gamepad:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},controller:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,noNameControllerButton:icons$2.noNameControllerButton,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},input:{gamepadOld:icons$2.gamepadOld,gamepad:icons$2.gamepad,keyboard:icons$2.keyboard,mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse,noNameControllerButton:icons$2.noNameControllerButton,palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty,touch:icons$2.touch,xboxA:icons$2.xboxA,xboxB:icons$2.xboxB,xboxDDefaultOutline:icons$2.xboxDDefaultOutline,xboxDDefaultSolid:icons$2.xboxDDefaultSolid,xboxDDown:icons$2.xboxDDown,xboxDLeft:icons$2.xboxDLeft,xboxDRight:icons$2.xboxDRight,xboxDUp:icons$2.xboxDUp,xboxLB:icons$2.xboxLB,xboxLSButton:icons$2.xboxLSButton,xboxLT:icons$2.xboxLT,xboxMenu:icons$2.xboxMenu,xboxRB:icons$2.xboxRB,xboxRSButton:icons$2.xboxRSButton,xboxRT:icons$2.xboxRT,xboxThumbL:icons$2.xboxThumbL,xboxThumbR:icons$2.xboxThumbR,xboxView:icons$2.xboxView,xboxXAxis:icons$2.xboxXAxis,xboxXRot:icons$2.xboxXRot,xboxX:icons$2.xboxX,xboxYAxis:icons$2.xboxYAxis,xboxYRot:icons$2.xboxYRot,xboxY:icons$2.xboxY,psCircleOutline:icons$2.psCircleOutline,psCircle:icons$2.psCircle,psCreate2:icons$2.psCreate2,psCreate:icons$2.psCreate,psCrossOutline:icons$2.psCrossOutline,psCross:icons$2.psCross,psDDefaultOutline:icons$2.psDDefaultOutline,psDDefaultSolid:icons$2.psDDefaultSolid,psDDown:icons$2.psDDown,psDLeft:icons$2.psDLeft,psDRight:icons$2.psDRight,psDUp:icons$2.psDUp,psL1:icons$2.psL1,psL2:icons$2.psL2,psL3ButtonArrowDown:icons$2.psL3ButtonArrowDown,psL3Button:icons$2.psL3Button,psLSXLeft:icons$2.psLSXLeft,psLSXRight:icons$2.psLSXRight,psLSX:icons$2.psLSX,psLSYDown:icons$2.psLSYDown,psLSYUp:icons$2.psLSYUp,psLSY:icons$2.psLSY,psLS:icons$2.psLS,psMenu2:icons$2.psMenu2,psMenu:icons$2.psMenu,psR1:icons$2.psR1,psR2:icons$2.psR2,psR3ButtonArrowDown:icons$2.psR3ButtonArrowDown,psR3Button:icons$2.psR3Button,psRSXLeft:icons$2.psRSXLeft,psRSXRight:icons$2.psRSXRight,psRSX:icons$2.psRSX,psRSYDown:icons$2.psRSYDown,psRSYUp:icons$2.psRSYUp,psRSY:icons$2.psRSY,psRS:icons$2.psRS,psSquareOutline:icons$2.psSquareOutline,psSquare:icons$2.psSquare,psTrackpadNavigate:icons$2.psTrackpadNavigate,psTrackpadPressCenter:icons$2.psTrackpadPressCenter,psTrackpadPressLeft:icons$2.psTrackpadPressLeft,psTrackpadPressRight:icons$2.psTrackpadPressRight,psTrackpadSwipeDown:icons$2.psTrackpadSwipeDown,psTrackpadSwipeLeft:icons$2.psTrackpadSwipeLeft,psTrackpadSwipeRight:icons$2.psTrackpadSwipeRight,psTrackpadSwipeUp:icons$2.psTrackpadSwipeUp,psTriangleOutline:icons$2.psTriangleOutline,psTriangle:icons$2.psTriangle,xboxAOutline:icons$2.xboxAOutline,xboxBOutline:icons$2.xboxBOutline,xboxLSButtonArrowDown:icons$2.xboxLSButtonArrowDown,xboxRSButtonArrowDown:icons$2.xboxRSButtonArrowDown,xboxXAxisLeft:icons$2.xboxXAxisLeft,xboxXAxisRight:icons$2.xboxXAxisRight,xboxXOutline:icons$2.xboxXOutline,xboxXRotLeft:icons$2.xboxXRotLeft,xboxXRotRight:icons$2.xboxXRotRight,xboxYAxisDown:icons$2.xboxYAxisDown,xboxYAxisUp:icons$2.xboxYAxisUp,xboxYOutline:icons$2.xboxYOutline,xboxYRotDown:icons$2.xboxYRotDown,xboxYRotUp:icons$2.xboxYRotUp,psDLeftRight:icons$2.psDLeftRight,psDUpDown:icons$2.psDUpDown,xboxDLeftRight:icons$2.xboxDLeftRight,xboxDUpDown:icons$2.xboxDUpDown},gps:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},position:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},map:{GPSMark:icons$2.GPSMark,GPSSolid:icons$2.GPSSolid,location1:icons$2.location1,location2:icons$2.location2},keyboard:{keyboard:icons$2.keyboard,kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},lights:{lightGarageG11:icons$2.lightGarageG11,lightGarageG12:icons$2.lightGarageG12,lightGarageG13:icons$2.lightGarageG13,lightGarageG14:icons$2.lightGarageG14,lightGarageG21:icons$2.lightGarageG21,lightGarageG22:icons$2.lightGarageG22,lightGarageG23:icons$2.lightGarageG23,lightGarageG24:icons$2.lightGarageG24,lightGarageG31:icons$2.lightGarageG31,lightGarageG32:icons$2.lightGarageG32,lightGarageG33:icons$2.lightGarageG33,lightGarageG34:icons$2.lightGarageG34},catalog:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},selector:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},view:{listBig:icons$2.listBig,listSmall:icons$2.listSmall,tiles:icons$2.tiles},math:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},operands:{mathDivide:icons$2.mathDivide,mathGreaterOrEqualThan:icons$2.mathGreaterOrEqualThan,mathGreaterThan:icons$2.mathGreaterThan,mathLessOrEqualThan:icons$2.mathLessOrEqualThan,mathLessThan:icons$2.mathLessThan,mathMinus:icons$2.mathMinus,mathMultiply:icons$2.mathMultiply,mathPlus:icons$2.mathPlus,slashLeft:icons$2.slashLeft,slashRight:icons$2.slashRight},reward:{medal:icons$2.medal,voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},achievment:{medal:icons$2.medal,medalEmpty:icons$2.medalEmpty,medalStar:icons$2.medalStar,badgeRoundEmpty:icons$2.badgeRoundEmpty,badgeRoundStar:icons$2.badgeRoundStar,badgeRound:icons$2.badgeRound,badge:icons$2.badge},mesh:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},beams:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},nodes:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells},surface:{mesh4Cells:icons$2.mesh4Cells,mesh9Cells:icons$2.mesh9Cells,bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},mirror:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},rearview:{mirrorInteriorMiddle:icons$2.mirrorInteriorMiddle,mirrorLeftBigBottomWideAngle:icons$2.mirrorLeftBigBottomWideAngle,mirrorLeftBigTop:icons$2.mirrorLeftBigTop,mirrorLeftBig:icons$2.mirrorLeftBig,mirrorLeftBonnet:icons$2.mirrorLeftBonnet,mirrorLeftDefault:icons$2.mirrorLeftDefault,mirrorRightBigBottomWideAngle:icons$2.mirrorRightBigBottomWideAngle,mirrorRightBigTop:icons$2.mirrorRightBigTop,mirrorRightBig:icons$2.mirrorRightBig,mirrorRightBonnet:icons$2.mirrorRightBonnet,mirrorRightDefault:icons$2.mirrorRightDefault,mirrorRoundWideAngle:icons$2.mirrorRoundWideAngle,mirrorTopWideAngle:icons$2.mirrorTopWideAngle},mouse:{mouseLMB:icons$2.mouseLMB,mouseMMB:icons$2.mouseMMB,mouseRMB:icons$2.mouseRMB,mouseWheel:icons$2.mouseWheel,mouseXAxis:icons$2.mouseXAxis,mouseXYAxis:icons$2.mouseXYAxis,mouseYAxis:icons$2.mouseYAxis,mouse:icons$2.mouse},path:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},node:{nodeAddFirst01:icons$2.nodeAddFirst01,nodeAddFirst02:icons$2.nodeAddFirst02,nodeAddLast02:icons$2.nodeAddLast02,nodeAddMiddle01:icons$2.nodeAddMiddle01,nodeAddMiddle02:icons$2.nodeAddMiddle02,nodeAdd:icons$2.nodeAdd,nodeLast01:icons$2.nodeLast01,nodeRemove:icons$2.nodeRemove,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},touch:{palmCrossed:icons$2.palmCrossed,smartphone1:icons$2.smartphone1,smartphone2:icons$2.smartphone2,touch:icons$2.touch},route:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource,routeSimpleFlag:icons$2.routeSimpleFlag},traffic:{routeAdd:icons$2.routeAdd,routeComplex:icons$2.routeComplex,routeSimple:icons$2.routeSimple,trafficCone:icons$2.trafficCone,trafficLight:icons$2.trafficLight,pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding,routeSimpleFlag:icons$2.routeSimpleFlag},trailer:{semiTrailer:icons$2.semiTrailer,semiTruck:icons$2.semiTruck,smallTrailer:icons$2.smallTrailer,tankerTrailer:icons$2.tankerTrailer},steering:{steeringWheelCommon:icons$2.steeringWheelCommon,steeringWheelSporty:icons$2.steeringWheelSporty},time:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},fast:{stopwatchArrows01:icons$2.stopwatchArrows01,stopwatchArrows02:icons$2.stopwatchArrows02,stopwatchSectionOutlinedEnd:icons$2.stopwatchSectionOutlinedEnd,stopwatchSectionOutlinedStart:icons$2.stopwatchSectionOutlinedStart,stopwatchSectionSolidEnd:icons$2.stopwatchSectionSolidEnd,stopwatchSectionSolidStart:icons$2.stopwatchSectionSolidStart,timer:icons$2.timer},emergency:{strobeLights:icons$2.strobeLights,wigwags:icons$2.wigwags},circuit:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},electronics:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},switch:{switchBlock:icons$2.switchBlock,switchOutline:icons$2.switchOutline},tank:{tankerTrailer:icons$2.tankerTrailer},tanker:{tankerTrailer:icons$2.tankerTrailer},taxi:{taxiCar1:icons$2.taxiCar1,taxiCar3:icons$2.taxiCar3,taxiCarT:icons$2.taxiCarT,taxiCheckerLamp:icons$2.taxiCheckerLamp},tire:{tireDirection3Fourth2:icons$2.tireDirection3Fourth2,tireDirection3Fourth3:icons$2.tireDirection3Fourth3,tireDirectionFront2:icons$2.tireDirectionFront2,tireDirectionSide2:icons$2.tireDirectionSide2,tireDirectionTop2:icons$2.tireDirectionTop2,tire3FourthCoins:icons$2.tire3FourthCoins,tire3Fourth:icons$2.tire3Fourth},currency:{voucherDiagonal1:icons$2.voucherDiagonal1,voucherDiagonal2:icons$2.voucherDiagonal2,voucherDiagonal3:icons$2.voucherDiagonal3,voucherHorizontal1:icons$2.voucherHorizontal1,voucherHorizontal2:icons$2.voucherHorizontal2,voucherHorizontal3:icons$2.voucherHorizontal3,beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},extra:{AIL:icons$2.AIL,automaticTransmissionL:icons$2.automaticTransmissionL,chargeLL:icons$2.chargeLL,clutchL:icons$2.clutchL,couplerL:icons$2.couplerL,engineL:icons$2.engineL,multiseatL:icons$2.multiseatL,POITimeL:icons$2.POITimeL,replayL:icons$2.replayL,roadblockL:icons$2.roadblockL,rotationL:icons$2.rotationL,sensorsL:icons$2.sensorsL,temperatureL:icons$2.temperatureL,tuningL:icons$2.tuningL,turbineL:icons$2.turbineL},web:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},secondary:{arrowLeftOutline:icons$2.arrowLeftOutline,arrowRightOutline:icons$2.arrowRightOutline,beamsNodesMessageOutline:icons$2.beamsNodesMessageOutline,beamsNodesOutline:icons$2.beamsNodesOutline,beamsNodesPlugOutline:icons$2.beamsNodesPlugOutline,BNGEcosystemOutline:icons$2.BNGEcosystemOutline,carFrontRouteOutline:icons$2.carFrontRouteOutline,carSensorsOutline:icons$2.carSensorsOutline,carSideRouteOutline:icons$2.carSideRouteOutline,cityOutline:icons$2.cityOutline,dialogOutline:icons$2.dialogOutline,documentSmileOutline:icons$2.documentSmileOutline,drivetrainOutline:icons$2.drivetrainOutline,electronicSchemeOutline:icons$2.electronicSchemeOutline,engineOutline:icons$2.engineOutline,gearTuningOutline:icons$2.gearTuningOutline,giftBoxOutline:icons$2.giftBoxOutline,lidarOutline:icons$2.lidarOutline,medalStarOutline:icons$2.medalStarOutline,megaphoneOutline:icons$2.megaphoneOutline,peopleOutline:icons$2.peopleOutline,personOutline:icons$2.personOutline,physicsOutline:icons$2.physicsOutline,playChainOutline:icons$2.playChainOutline,proximitySensorsOutline:icons$2.proximitySensorsOutline,qualityBadgeStarOutline:icons$2.qualityBadgeStarOutline,qualityBadgeVOutline:icons$2.qualityBadgeVOutline,simRigOutline:icons$2.simRigOutline,suspensionOutline:icons$2.suspensionOutline,teamOutline:icons$2.teamOutline,techLightBulbOutline01:icons$2.techLightBulbOutline01,techLightBulbOutline02:icons$2.techLightBulbOutline02,timeUnlockOutline:icons$2.timeUnlockOutline,timedLockOutline:icons$2.timedLockOutline,trafficOutline:icons$2.trafficOutline,voucherOutline:icons$2.voucherOutline,wheelBeamsNodesOutline:icons$2.wheelBeamsNodesOutline,wheelOutline:icons$2.wheelOutline},hazard:{danger:icons$2.danger,fireDiamond:icons$2.fireDiamond,test:icons$2.test},drop:{droplet:icons$2.droplet},liquid:{droplet:icons$2.droplet},nfpa704:{fireDiamond:icons$2.fireDiamond},"dry cargo":{rocks:icons$2.rocks},dry:{rocks:icons$2.rocks},editor:{scale:icons$2.scale},marker:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},ribbon:{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},"content-props":{arrowsUp:icons$2.arrowsUp,bigDot:icons$2.bigDot,connectorBold:icons$2.connectorBold,cornerTopRight:icons$2.cornerTopRight,plusBold:icons$2.plusBold,puzzlePieceBold:icons$2.puzzlePieceBold},location:{locationDestination:icons$2.locationDestination,locationSource:icons$2.locationSource},shop:{shoppingCart:icons$2.shoppingCart},purchase:{shoppingCart:icons$2.shoppingCart},bus:{busTilted:icons$2.busTilted},destruction:{explosion:icons$2.explosion,fireExtinguisher:icons$2.fireExtinguisher,fire:icons$2.fire},"turn signals":{twoArrowsHorizontal:icons$2.twoArrowsHorizontal,twoArrowsVertical:icons$2.twoArrowsVertical},rally:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet,tripleCaution:icons$2.tripleCaution},"pace notes":{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},directions:{bridge:icons$2.bridge,bump:icons$2.bump,bumps:icons$2.bumps,caution:icons$2.caution,crest:icons$2.crest,doubleCaution:icons$2.doubleCaution,finish:icons$2.finish,jumpOverBump:icons$2.jumpOverBump,narrows:icons$2.narrows,pothole:icons$2.pothole,turn1:icons$2.turn1,turn2:icons$2.turn2,turn3:icons$2.turn3,turn4:icons$2.turn4,turn5:icons$2.turn5,turn6:icons$2.turn6,turnHp:icons$2.turnHp,turnSq:icons$2.turnSq,water:icons$2.water,tripleCaution:icons$2.tripleCaution},"do not cut":{circleSlashed:icons$2.circleSlashed,scissorsSlashed:icons$2.scissorsSlashed},"no entry":{circleSlashed:icons$2.circleSlashed},cut:{scissors:icons$2.scissors},car:{airPuffRight1:icons$2.airPuffRight1,octagonBrick:icons$2.octagonBrick,octagon:icons$2.octagon,tireAirPuff:icons$2.tireAirPuff,tireDeflated:icons$2.tireDeflated},select:{carsChange:icons$2.carsChange,carsWrench:icons$2.carsWrench},physics:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},field:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3},force:{forceFieldPull1:icons$2.forceFieldPull1,forceFieldPull2:icons$2.forceFieldPull2,forceFieldPull3:icons$2.forceFieldPull3,forceFieldPush1:icons$2.forceFieldPush1,forceFieldPush2:icons$2.forceFieldPush2,forceFieldPush3:icons$2.forceFieldPush3,pushUp:icons$2.pushUp,pushBackward:icons$2.pushBackward,pushDown:icons$2.pushDown,pushForward:icons$2.pushForward},"garage number":{garageNumber1:icons$2.garageNumber1,garageNumber2:icons$2.garageNumber2,garageNumber3:icons$2.garageNumber3,garageNumber4:icons$2.garageNumber4,garageNumber5:icons$2.garageNumber5,garageNumber6:icons$2.garageNumber6,garageNumber7:icons$2.garageNumber7,garageNumber8:icons$2.garageNumber8,garageNumber9:icons$2.garageNumber9},stop:{square:icons$2.square},roads:{trafficLight:icons$2.trafficLight},sign:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},pedestrian:{pedestrianRunning:icons$2.pedestrianRunning,pedestrianStanding:icons$2.pedestrianStanding},actions:{seatArrowIn:icons$2.seatArrowIn,seatArrowOut:icons$2.seatArrowOut,seatVArrowIn:icons$2.seatVArrowIn,seatVArrowOut:icons$2.seatVArrowOut,vehicleArrowIn:icons$2.vehicleArrowIn,vehicleArrowOut:icons$2.vehicleArrowOut,leverFrontOperate:icons$2.leverFrontOperate,leverSideDown:icons$2.leverSideDown,leverSideOperate:icons$2.leverSideOperate,leverSideUp:icons$2.leverSideUp,seatArrowInLeft:icons$2.seatArrowInLeft,seatArrowOutLeft:icons$2.seatArrowOutLeft,seatVArrowInLeft:icons$2.seatVArrowInLeft,seatVArrowOutLeft:icons$2.seatVArrowOutLeft},outline:{beamCurrencyOutlineLarge:icons$2.beamCurrencyOutlineLarge},scenario:{flagOutlineLarge:icons$2.flagOutlineLarge},house:{houseWrenchRoof:icons$2.houseWrenchRoof,houseWrench:icons$2.houseWrench,house:icons$2.house},helmet:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},racing:{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},"game mode":{rallyHelmet3To4:icons$2.rallyHelmet3To4,rallyHelmet:icons$2.rallyHelmet},offline:{globeSimpleNotSign:icons$2.globeSimpleNotSign},online:{globeSimplified:icons$2.globeSimplified},material:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},beam:{cableSection:icons$2.cableSection},strap:{cableSection:icons$2.cableSection,strapHook:icons$2.strapHook,strapRatchet:icons$2.strapRatchet},controls:{kbArrowsDown:icons$2.kbArrowsDown,kbArrowsLeftRight:icons$2.kbArrowsLeftRight,kbArrowsLeft:icons$2.kbArrowsLeft,kbArrowsOutline:icons$2.kbArrowsOutline,kbArrowsRight:icons$2.kbArrowsRight,kbArrowsSolid:icons$2.kbArrowsSolid,kbArrowsUpDown:icons$2.kbArrowsUpDown,kbArrowsUp:icons$2.kbArrowsUp},equipment:{auxUpDown:icons$2.auxUpDown,bucketArmUpDown:icons$2.bucketArmUpDown,bucketTilt:icons$2.bucketTilt,bucketArmDown:icons$2.bucketArmDown,bucketArmLevel:icons$2.bucketArmLevel,bucketArmUp:icons$2.bucketArmUp,bucketTiltDown:icons$2.bucketTiltDown,bucketTiltLevel:icons$2.bucketTiltLevel,bucketTiltUp:icons$2.bucketTiltUp,dumpBedDown:icons$2.dumpBedDown,dumpBedUpDown:icons$2.dumpBedUpDown,dumpBedUp:icons$2.dumpBedUp}}),getIconsWithTags=(...tagsToFind)=>Object.fromEntries(Object.entries(icons$2).filter(([name,{tags}])=>{for(let t of tagsToFind)if(!tags.includes(t))return!1;return!0})),icons=Object.freeze({...icons$2,_empty:{...icons$2.minus,invisible:!0}}),_sfc_main$369={__name:`bngIcon`,props:{type:{type:[String,Object],default:``},fallbackType:{type:String,default:`placeholder`},color:{type:String,default:`#fff`},asImage:{},image:String,externalImage:String},setup(__props){useCssVars(_ctx=>({v9bdaf084:__props.color}));let props=__props,hasImageSource=computed(()=>!!props.image||!!props.externalImage),imageSrcKey=computed(()=>props.image||props.externalImage||``),errorSrcKey=ref(``),isCurrentSrcErrored=computed(()=>!!imageSrcKey.value&&errorSrcKey.value===imageSrcKey.value),isGlyph=computed(()=>!!(!hasImageSource.value||isCurrentSrcErrored.value)),icon=computed(()=>{let res;switch(typeof props.type){case`object`:props.type.glyph&&(res=props.type);break;case`string`:props.type in icons&&(res=icons[props.type]);break}return res}),displayIcon=computed(()=>{let fallback=typeof props.fallbackType==`string`&&props.fallbackType in icons?icons[props.fallbackType]:icons.placeholder;return isCurrentSrcErrored.value||!icon.value&&!hasImageSource.value?fallback:icon.value}),iconGlyph=computed(()=>displayIcon.value?displayIcon.value.glyph:icons.placeholder.glyph),OFF_VALUES=[null,void 0,!1,`false`,0,`0`],asImage=computed(()=>OFF_VALUES.includes(props.asImage)?!1:props.asImage||!0),imageProps=computed(()=>{let res={bgColor:props.color,mask:[`mask`,`span`].includes(asImage.value)};return icon.value||(res.bgColor=`#f00`),asImage.value||(props.image?res.src=props.image:props.externalImage&&(res.externalSrc=props.externalImage)),res});function onImageError(){errorSrcKey.value=imageSrcKey.value}return(_ctx,_cache)=>isGlyph.value?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`icon-base`,{"icon-not-found":displayIcon.value===unref(icons).placeholder,"icon-invisible":displayIcon.value&&displayIcon.value.invisible}])},toDisplayString(iconGlyph.value),3)):(openBlock(),createBlock(unref(bngImageAsset_default),mergeProps({key:1,class:`icon-img`},imageProps.value,{onError:onImageError}),null,16))}},bngIcon_default=__plugin_vue_export_helper_default(_sfc_main$369,[[`__scopeId`,`data-v-978d1732`]]),markerValidate=name=>name.endsWith(`Back`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Back$/,`Front`))||name.endsWith(`Front`)&&Object.keys(iconsBySize[56]).includes(name.replace(/Front$/,`Back`)),markersList=Object.keys(iconsBySize[56]).filter(markerValidate).map(name=>name.replace(/Back$|Front$/,``)).sort((a$1,b)=>a$1.toLowerCase().localeCompare(b.toLowerCase())).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);const markers=Object.fromEntries(markersList.map(i=>[i,i])),MARKER_POINTS={up:`up`,down:`down`,left:`left`,right:`right`};var _sfc_main$368={__name:`bngIconMarker`,props:{marker:{type:String,default:`circlePin`,validator:val=>!!markers[val]},type:[String,Object],color:[String,Array],point:{type:String,default:`down`,validator:val=>MARKER_POINTS[val]}},setup(__props){let props=__props,icon=computed(()=>({back:iconsBySize[56][props.marker+`Back`],front:iconsBySize[56][props.marker+`Front`]})),iconColour=computed(()=>({back:(Array.isArray(props.color)?props.color[0]:props.color)||`#fff`,front:(Array.isArray(props.color)?props.color[1]:null)||`#000`,icon:(Array.isArray(props.color)?props.color[2]||props.color[0]:props.color)||`#fff`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`icon-marker`,`icon-point-${__props.point}`,`icon-type-${__props.marker}`])},[createVNode(unref(bngIcon_default),{class:`icon-back`,type:icon.value.back,color:iconColour.value.back},null,8,[`type`,`color`]),createVNode(unref(bngIcon_default),{class:`icon-front`,type:icon.value.front,color:iconColour.value.front},null,8,[`type`,`color`]),__props.type?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon-inner`,type:__props.type,color:iconColour.value.icon},null,8,[`type`,`color`])):createCommentVNode(``,!0)],2))}},bngIconMarker_default=__plugin_vue_export_helper_default(_sfc_main$368,[[`__scopeId`,`data-v-1089accc`]]),_hoisted_1$322=[`src`],_sfc_main$367=Object.assign({inheritAttrs:!1},{__name:`bngImage`,props:{src:String,observe:Boolean},setup(__props){let props=__props,attrs=useAttrs(),observe=computed(()=>props.observe?`observe`:void 0),imgAttrs=computed(()=>showCanvas.value?{}:attrs),cvsAttrs=computed(()=>showCanvas.value?attrs:{}),elImg=ref(null),elCanvas=ref(null),showCanvas=ref(!1),imgSrc=ref(emptyImage),parentDataAttrs={};function setImage(elm,url,bmp){bmp?(showCanvas.value=!0,imgSrc.value=emptyImage,elCanvas.value.width=bmp.width,elCanvas.value.height=bmp.height,elCanvas.value.getContext(`2d`).drawImage(bmp,0,0),Object.entries(parentDataAttrs).forEach(([attr,value])=>{elCanvas.value.setAttribute(attr,value)})):(showCanvas.value=!1,imgSrc.value=url||`data:image/svg+xml,`)}return watch(()=>props.src,()=>{elImg.value&&(showCanvas.value=!1,imgSrc.value=emptyImage)}),watch(elImg,elm=>{if(elm){parentDataAttrs={};for(let attr of elm.parentElement.getAttributeNames())attr.startsWith(`data-v-`)&&(parentDataAttrs[attr]=elm.parentElement.getAttribute(attr));Object.entries(parentDataAttrs).forEach(([attr,value])=>{elm.setAttribute(attr,value),elCanvas.value&&elCanvas.value.setAttribute(attr,value)}),elm.__setImage=setImage}},{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[withDirectives(createBaseVNode(`img`,mergeProps({ref_key:`elImg`,ref:elImg},imgAttrs.value,{src:imgSrc.value,alt:``}),null,16,_hoisted_1$322),[[vShow,!showCanvas.value],[unref(BngLazyImage_default),{url:__props.src,callback:setImage},observe.value]]),withDirectives(createBaseVNode(`canvas`,mergeProps({ref_key:`elCanvas`,ref:elCanvas},cvsAttrs.value),null,16),[[vShow,showCanvas.value]])],64))}}),bngImage_default=_sfc_main$367,_hoisted_1$321=[`src`],_sfc_main$366={__name:`bngImageAsset`,props:{src:String,externalSrc:String,span:Boolean,mask:Boolean,bgColor:{type:String,default:`transparent`}},emits:[`error`,`load`],setup(__props,{emit:__emit}){useCssVars(_ctx=>({v0d0b2c1c:__props.bgColor}));let emit$1=__emit,props=__props,assetURL=computed(()=>props.src?getAssetURL(props.src):props.externalSrc);return(_ctx,_cache)=>__props.span||__props.mask?(openBlock(),createElementBlock(`span`,{key:0,class:`bng-image-asset`,style:normalizeStyle({[__props.mask?`maskImage`:`backgroundImage`]:`url(${assetURL.value})`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bng-image-asset`,src:assetURL.value,alt:``,onError:_cache[0]||=$event=>emit$1(`error`,$event),onLoad:_cache[1]||=$event=>emit$1(`load`,$event)},null,40,_hoisted_1$321))}},bngImageAsset_default=__plugin_vue_export_helper_default(_sfc_main$366,[[`__scopeId`,`data-v-27bf5bcc`]]),_hoisted_1$320={class:`bng-image-carousel`},_sfc_main$365={__name:`bngImageCarousel`,props:{images:{type:Array,required:!0},external:Boolean,current:[String,Number],transition:Boolean,transitionType:{type:String,default:`fade`},transitionTime:{type:Number,default:3e3},loop:{type:Boolean,default:!0},showNav:{type:Boolean,default:!0},parent:Object},setup(__props,{expose:__expose}){let props=__props,carousel=ref();__expose({carousel});let imageAssets=computed(()=>props.external?props.images.map(x=>`/`+x):props.images.map(getAssetURL)),carouselSettings=computed(()=>props.parent&&props.parent.carousel!==carousel?{parent:props.parent.carousel,transition:!1,transitionType:props.transitionType,loop:!1,transitionTime:props.transitionTime}:{current:props.current,transition:props.transition,transitionType:props.transitionType,transitionTime:props.transitionTime,loop:props.loop,showNav:props.showNav});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$320,[createVNode(unref(carousel_default),mergeProps({items:imageAssets.value,ref_key:`carousel`,ref:carousel},carouselSettings.value),{item:withCtx(({item})=>[createBaseVNode(`div`,{class:`image-slide`,style:normalizeStyle({"background-image":`url(${item})`})},null,4)]),_:1},16,[`items`])]))}},bngImageCarousel_default=__plugin_vue_export_helper_default(_sfc_main$365,[[`__scopeId`,`data-v-6b0c2d6b`]]),_hoisted_1$319=[`src`],_sfc_main$364={__name:`bngImageTile`,props:{oldIcon:String,src:String,externalSrc:String,label:String,image:String,externalImage:String,icon:[Object,String],ratio:{type:String,default:`4:3`}},setup(__props){let props=__props,slots=useSlots(),assetURL=computed(()=>props.externalSrc?props.externalSrc:getAssetURL(props.src));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngTile_default),{label:__props.label,backgroundImage:__props.image,backgroundExternalImage:__props.externalImage,ratio:__props.ratio},createSlots({default:withCtx(()=>[__props.oldIcon?(openBlock(),createBlock(unref(bngOldIcon_default),{key:0,class:`icon`,type:__props.oldIcon,span:``},null,8,[`type`])):createCommentVNode(``,!0),__props.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:1,class:`glyph`,type:__props.icon},null,8,[`type`])):__props.src||__props.externalSrc?(openBlock(),createElementBlock(`img`,{key:2,class:`icon`,src:assetURL.value},null,8,_hoisted_1$319)):createCommentVNode(``,!0)]),_:2},[unref(slots).default?{name:`label`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`default`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`label`,`backgroundImage`,`backgroundExternalImage`,`ratio`]))}},bngImageTile_default=__plugin_vue_export_helper_default(_sfc_main$364,[[`__scopeId`,`data-v-d74a4ec4`]]),UNIQUE_CLEAN_VALUE=Symbol(`Unique 'clean' value from Dirty service code`);function useDirty(valueRef,emitter=void 0,setCallback=void 0){if(!valueRef)throw Error(`valueRef must be specified`);let hasInitValue=!1,initialValue=ref();function init$3(val){let type=typeof val;type===`undefined`||type===`number`&&isNaN(val)||(hasInitValue=!0,initialValue.value=val)}if(init$3(valueRef.value),!hasInitValue){let unwatch=watch(valueRef,newVal=>{init$3(newVal),hasInitValue&&unwatch()});onUnmounted(()=>!hasInitValue&&unwatch())}let dirty=computed(()=>{let isDirty$1=valueRef.value!==initialValue.value;return isDirty$1&&hasInitValue&&emitter&&emitter(`dirtied`,valueRef.value,initialValue.value),isDirty$1}),setDirty=state=>{let oldVal=initialValue.value,newVal=state?UNIQUE_CLEAN_VALUE:valueRef.value;initialValue.value=newVal,typeof setCallback==`function`&&setCallback(newVal,oldVal)};return{dirty,currentCleanValue:computed(()=>initialValue.value),setCleanValue:val=>initialValue.value=val,resetValue:()=>valueRef.value=initialValue.value,setDirty,markClean:()=>setDirty(!1)}}var _hoisted_1$318={class:`bng-input-wrapper`},_hoisted_2$259={class:`icons-input-wrapper`},_hoisted_3$226={class:`bng-input-container`},_hoisted_4$194={key:0,class:`prefix-suffix-container`},_hoisted_5$164={"data-testid":`prefix`},_hoisted_6$141={class:`bng-input-group`},_hoisted_7$123=[`value`,`type`,`min`,`max`,`step`,`maxlength`,`placeholder`,`disabled`,`readonly`],_hoisted_8$101={key:0,class:`number-actions`},_hoisted_9$91={key:1,class:`floating-label`,"data-testid":`floating-label`},_hoisted_10$79={key:2,class:`error-message`},_hoisted_11$71={key:1,class:`prefix-suffix-container`},_hoisted_12$59={"data-testid":`suffix`},_hoisted_13$51={key:2,class:`trailing-icon`},_sfc_main$363={__name:`bngInput`,props:{modelValue:[String,Number],type:{type:String,default:`text`,validator(value){return[`text`,`number`].includes(value)}},min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},decimals:Number,maxlength:[Number,String],readonly:Boolean,floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,prefix:String,suffix:String,trailingIcon:Object,trailingIconOutside:Boolean,disabled:Boolean,validate:Function,errorMessage:String},emits:[`update:modelValue`,`valueChanged`,`change`,`focus`,`blur`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emitter=__emit,input=ref(),value=ref(props.initialValue||props.modelValue),isInputFieldFocused=ref(!1),numMin=computed(()=>props.type===`number`?+props.min:null),numMax=computed(()=>props.type===`number`?+props.max:null),numStep=computed(()=>props.type===`number`?roundDec(+props.step,15):null),numDecimals=computed(()=>props.type===`number`?props.decimals:null),charMax=computed(()=>props.type===`text`?props.maxlength:null),hasValue=computed(()=>value.value!==``&&value.value!==void 0&&value.value!==null),hasError=computed(()=>typeof props.validate==`function`?!props.validate(value.value):!1);if(props.type===`number`){let type=typeof value.value;type===`string`&&/^\d+(?:\.?\d+)?$/.test(value.value)?value.value=+value.value:type!==`number`&&(value.value=0),numMin.value>numMax.value&&console.error(`BngInput: min cannot be greater than max`)}__expose(useDirty(value));let lastNotify;function notify(val){props.readonly||lastNotify===val||(lastNotify=val,emitter(`update:modelValue`,val),emitter(`valueChanged`,val),emitter(`change`,val))}watch(()=>props.modelValue,newVal=>{props.type===`number`&&(newVal=numClamp(newVal)),value.value=newVal,lastNotify=newVal},{immediate:!0});function numClamp(val){return isNaN(val)&&(val=0),typeof numDecimals.value==`number`&&!isNaN(numDecimals.value)?val=roundDec(val,numDecimals.value):typeof numStep.value==`number`&&!isNaN(numStep.value)&&(val=roundDecSample(val,numStep.value)),typeof numMin.value==`number`&&!isNaN(numMin.value)&&valnumMax.value&&(val=numMax.value),val}function increment(by){let val=numClamp(+value.value+by);value.value!==val&&(value.value=val,input.value=val,notify(val))}let onArrowUpClicked=()=>increment(numStep.value),onArrowDownClicked=()=>increment(-numStep.value);function onValueChanged($event){let val=$event.target.value;if(props.type===`number`){val=+val;let prev=val;val=numClamp(val),val!==prev&&(input.value=val)}value.value=val,notify(val)}function onInputFieldFocusIn(){isInputFieldFocused.value=!0,emitter(`focus`)}function onInputFieldFocusOut(){isInputFieldFocused.value=!1,emitter(`blur`),notify(value.value)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$318,[__props.externalLabel?(openBlock(),createElementBlock(`span`,{key:0,class:`external-label`,style:normalizeStyle([__props.leadingIcon?{"margin-left":`3em`}:{}]),"data-testid":`external-label`},toDisplayString(__props.externalLabel),5)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$259,[__props.leadingIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`outside-icon`,type:__props.leadingIcon,"data-testid":`leading-icon`},null,8,[`type`])):createCommentVNode(``,!0),createBaseVNode(`div`,{tabindex:`disabled ? -1 : 0`,class:normalizeClass([`bng-highlight-container`,{"bng-input-focused":isInputFieldFocused.value,"has-error":hasError.value}]),onKeydown:withKeys(onInputFieldFocusOut,[`enter`])},[createBaseVNode(`div`,_hoisted_3$226,[__props.prefix?(openBlock(),createElementBlock(`span`,_hoisted_4$194,[createBaseVNode(`span`,_hoisted_5$164,toDisplayString(__props.prefix),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_6$141,[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,class:normalizeClass([`bng-input`,{"bng-input-empty":!hasValue.value,"bng-input-error":hasError.value}]),"data-testid":`input`,value:value.value,type:__props.type,min:numMin.value,max:numMax.value,step:numStep.value,maxlength:charMax.value,onInput:onValueChanged,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut,placeholder:__props.placeholder,disabled:__props.disabled,readonly:__props.readonly},null,42,_hoisted_7$123),[[unref(BngTextInput_default)]]),__props.type===`number`?(openBlock(),createElementBlock(`div`,_hoisted_8$101,[withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeUp,class:normalizeClass([{"number-action-disabled":__props.readonly},`number-action up-action`])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowUpClicked,holdCallback:onArrowUpClicked}]]),withDirectives(createVNode(unref(bngIcon_default),{type:unref(iconsByTag).arrow.arrowLargeDown,class:normalizeClass([`number-action down-action`,{"number-action-disabled":__props.readonly}])},null,8,[`type`,`class`]),[[unref(BngClick_default),{clickCallback:onArrowDownClicked,holdCallback:onArrowDownClicked}]])])):createCommentVNode(``,!0),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_9$91,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),hasError.value&&__props.errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_10$79,toDisplayString(__props.errorMessage),1)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`span`,{class:`input-border`},null,-1)]),__props.suffix?(openBlock(),createElementBlock(`span`,_hoisted_11$71,[createBaseVNode(`span`,_hoisted_12$59,toDisplayString(__props.suffix),1)])):createCommentVNode(``,!0),__props.trailingIcon&&!__props.trailingIconOutside?(openBlock(),createElementBlock(`span`,_hoisted_13$51,[createVNode(unref(bngIcon_default),{type:__props.trailingIcon,class:`input-icon`,"data-testid":`trailing-icon`},null,8,[`type`])])):createCommentVNode(``,!0)])],34),__props.trailingIcon&&__props.trailingIconOutside?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:__props.trailingIcon,class:`outside-icon`,"data-testid":`external-trailing-icon`},null,8,[`type`])):createCommentVNode(``,!0)])])),[[unref(BngDisabled_default),__props.disabled]])}},bngInput_default=__plugin_vue_export_helper_default(_sfc_main$363,[[`__scopeId`,`data-v-d6c70b5c`]]),_hoisted_1$317=[`readonly`,`disabled`,`placeholder`,`maxlength`],_hoisted_2$258={key:0,class:`floating-label`},_hoisted_3$225={key:7,class:`external-button`},_hoisted_4$193={key:8,class:`error-message`};const INPUT_TYPES={text:`text`,number:`number`},STEP_ICON_TYPES={arrowUpDown:`arrowUpDown`,arrowLeftRight:`arrowLeftRight`,plusMinus:`plusMinus`};var STEP_ICON_TYPES_MAP={[STEP_ICON_TYPES.arrowUpDown]:{up:`arrowSmallUp`,down:`arrowSmallDown`},[STEP_ICON_TYPES.arrowLeftRight]:{up:`arrowSmallRight`,down:`arrowSmallLeft`},[STEP_ICON_TYPES.plusMinus]:{up:`plus`,down:`minus`}},NUMBER_PATTERN=/^\d+(\.d+)?$/,NUMBER_INPUT_KEYS=/^[0-9\.\-]$/,ERROR_TYPES={invalidformat:`invalidformat`,outofrange:`outofrange`,required:`required`,custom:`custom`},ERROR_MESSAGES={[ERROR_TYPES.invalidformat]:`Invalid format`,[ERROR_TYPES.outofrange]:`Value must be between {min} and {max}`,[`${ERROR_TYPES.outofrange}-min`]:`Value must be greater than {min}`,[`${ERROR_TYPES.outofrange}-max`]:`Value must be less than {max}`,[ERROR_TYPES.required]:`Value is required`},ALLOW_DEFAULT_BEHAVIOR_KEYS=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Backspace`,`Delete`],NUMBER_INPUT_MODES={spinner:`spinner`,arrowKeys:`arrowKeys`,uinav:`uinav`},_sfc_main$362={__name:`bngInputNew`,props:{modelValue:{type:[Number,String],default:void 0},value:{type:[Number,String],default:void 0},type:{type:String,default:INPUT_TYPES.text,validator(value){return Object.keys(INPUT_TYPES).includes(value)}},showExternalButton:{type:Boolean,default:!0},floatingLabel:[Boolean,String],externalButtonFn:Function,externalLabel:String,label:String,prefix:String,suffix:String,leadingIcon:Object,trailingIcon:Object,maxLength:{type:[Number,String],default:null,validator(value){return value===null?!0:typeof parseInt(value)==`number`&&parseInt(value)>=0}},readonly:Boolean,disabled:Boolean,required:Boolean,placeholder:String,validate:Function,errorMessage:String,min:{type:Number,default:void 0},max:{type:Number,default:void 0},step:{type:Number,default:1},stepIconType:{type:String,default:STEP_ICON_TYPES.arrowUpDown,validator(value){return Object.keys(STEP_ICON_TYPES).includes(value)}},noStepBindings:Boolean},emits:[`update:modelValue`,`change`,`error`,`blur`,`focus`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),{showIfController}=storeToRefs(controls_default()),input=ref(null),scopeActivated=ref(!1),rawValue=ref(null),validationState=ref(null),isProgrammaticChange=ref(!1),numberInputState=reactive({inputType:null,isUpActive:!1,isDownActive:!1}),value=computed({get:()=>props.modelValue,set:emitChange}),isEmptyRawValue=computed(()=>isEmpty(rawValue.value)),inputStyle=computed(()=>({"max-width":props.maxLength?`${props.maxLength}ch`:`initial`})),stepIcons=computed(()=>STEP_ICON_TYPES_MAP[props.stepIconType]),exposed=useDirty(value);exposed.scopeActivated=scopeActivated,__expose(exposed),watch(()=>rawValue.value,newValue=>{if(isProgrammaticChange.value){isProgrammaticChange.value=!1;return}let res=validate(newValue);validationState.value=res,rawValue.value!=props.modelValue&&(res.valid||res.error!==ERROR_TYPES.invalidformat)&&(value.value=res.value)}),watch(()=>props.modelValue,modelValue=>{modelValue!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=isEmpty(modelValue)?null:String(modelValue))},{immediate:!0}),watch(()=>props.value,()=>{props.modelValue===void 0&&props.value!=rawValue.value&&(isProgrammaticChange.value=!0,rawValue.value=props.value)},{immediate:!0}),onUnmounted(()=>{resetInputState.cancel()});let activateInput=()=>{props.disabled||props.readonly||nextTick(()=>input.value.focus())},canActivateScope=()=>!props.readonly&&!props.disabled,externalButtonFn=()=>{props.externalButtonFn?props.externalButtonFn():props.type===INPUT_TYPES.number?rawValue.value=props.min||0:rawValue.value=null,activateInput()};function onScopeActivated(event){scopeActivated.value=!0}function onScopeDeactivated(event){scopeActivated.value=!1,nextTick(()=>cleanValue())}let resetInputState=debounce(()=>{numberInputState.inputType=null,numberInputState.isUpActive=!1,numberInputState.isDownActive=!1},150);function onUINavChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.uinav||(numberInputState.inputType=NUMBER_INPUT_MODES.uinav,updateNumValue(dir),resetInputState())}function onArrowKeysChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.arrowKeys||(numberInputState.inputType=NUMBER_INPUT_MODES.arrowKeys,updateNumValue(dir),resetInputState())}function onSpinnerChangeValue(dir){numberInputState.inputType&&numberInputState.inputType!==NUMBER_INPUT_MODES.spinner||(numberInputState.inputType=NUMBER_INPUT_MODES.spinner,updateNumValue(dir),resetInputState())}function updateNumValue(dir){props.type!==INPUT_TYPES.number||props.disabled||props.readonly||(dir===1?(numberInputState.isUpActive=!0,changeNumValue(props.step)):(numberInputState.isDownActive=!0,changeNumValue(-props.step)))}function onEnterDown(event){event.preventDefault(),scopeActivated.value=!1}function onKeyDown(event){if(ALLOW_DEFAULT_BEHAVIOR_KEYS.includes(event.key))return;event.key===`Enter`&&event.preventDefault();let rawValueString=typeof rawValue.value!=`string`&&!isNullOrUndefined(rawValue.value)?rawValue.value.toString():rawValue.value;props.type===INPUT_TYPES.number&&(!NUMBER_INPUT_KEYS.test(event.key)||event.key===`.`&&(isNullOrUndefined(rawValueString)||rawValueString.includes(`.`))||event.key===`.`&&!NUMBER_PATTERN.test(rawValueString))&&event.preventDefault()}function changeNumValue(diff){if(props.type!==INPUT_TYPES.number)return;if(isEmpty(rawValue.value)){diff<0?rawValue.value=isNullOrUndefined(props.max)?0:props.max:rawValue.value=isNullOrUndefined(props.min)?0:props.min;return}let{valid,value:validatedValue,error}=validate(rawValue.value);if(!valid&&error!==ERROR_TYPES.outofrange){rawValue.value=0;return}let decimalTokens=props.step.toString().split(`.`),stepDecimalPlaces=decimalTokens.length>1?decimalTokens[1].length:0,newValue=Number((validatedValue+diff).toFixed(stepDecimalPlaces)),{valid:isValidRange}=validateRange(newValue);(isValidRange||diff<0&&newValue>=props.max||diff>0&&newValue<=props.min)&&(rawValue.value=newValue)}function cleanValue(){if(!isNullOrUndefined(rawValue.value)&&props.type===INPUT_TYPES.number){let rawValueString=typeof rawValue.value==`string`?rawValue.value:rawValue.value.toString();rawValueString.endsWith(`.`)&&(rawValue.value=rawValueString.slice(0,-1))}}function validate(value$1){let valid=!0,newValue=value$1,errorMessage=null;if(isEmpty(value$1)&&props.required)return{valid:!1,error:ERROR_TYPES.required};if(isEmpty(value$1)&&props.type===INPUT_TYPES.number)return{valid:!0,value:void 0};if(props.type===INPUT_TYPES.number&&typeof value$1==`string`&&(newValue=value$1.includes(`.`)?parseFloat(value$1):parseInt(value$1),isNaN(newValue)))return{valid:!1,error:ERROR_TYPES.invalidformat};if(props.type===INPUT_TYPES.number)return{...validateRange(newValue),value:newValue};if(props.validate){let res=props.validate(value$1);typeof res==`boolean`?(valid=res,errorMessage=props.errorMessage):typeof res==`object`&&(`valid`in res&&console.warn("`validate` function must return a boolean `valid` property. Ignoring validation result..."),valid=res.valid||!0,valid||(errorMessage=`errorMessage`in res?res.errorMessage:props.errorMessage))}return{valid,value:newValue,errorMessage}}function validateRange(value$1){let lessThanMin=props.min&&value$1props.max,valid=!0,errorMessage=null;return!isNullOrUndefined(props.min)&&!isNullOrUndefined(props.max)&&(lessThanMin||greaterThanMax)?(errorMessage=ERROR_MESSAGES[ERROR_TYPES.outofrange].replace(`{min}`,props.min).replace(`{max}`,props.max),valid=!1):lessThanMin?(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-min`].replace(`{min}`,props.min),valid=!1):greaterThanMax&&(errorMessage=ERROR_MESSAGES[`${ERROR_TYPES.outofrange}-max`].replace(`{max}`,props.max),valid=!1),{valid,error:valid?null:ERROR_TYPES.outofrange,errorMessage}}function isEmpty(val){return val==null||val===``}function isNullOrUndefined(val){return val==null}function emitChange(value$1){emit$1(`update:modelValue`,value$1),emit$1(`change`,value$1),emit$1(`valueChanged`,value$1)}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([{"has-value":!isEmptyRawValue.value,"bng-input-readonly":__props.readonly,"bng-input-invalid":validationState.value&&!validationState.value.valid},`bng-input`]),onActivate:onScopeActivated,onDeactivate:onScopeDeactivated},[(__props.label||__props.externalLabel||unref(slots).label)&&!__props.floatingLabel?(openBlock(),createElementBlock(`label`,{key:0,class:`external-label`,onClick:activateInput,onMousedown:_cache[0]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.externalLabel),1)],!0)],32)):createCommentVNode(``,!0),__props.leadingIcon||unref(slots).leadingIcon?(openBlock(),createElementBlock(`span`,{key:1,class:`leading-icon`,onClick:activateInput,onMousedown:_cache[1]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`leading-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass([{"spinner-active":numberInputState.isDownActive},`input-spinner input-spinner-down`]),onMousedown:_cache[2]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-down`,{changeValue:()=>onSpinnerChangeValue(-1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_d`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.down},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(-1),holdCallback:()=>onSpinnerChangeValue(-1)}]])],!0)],34)):createCommentVNode(``,!0),__props.prefix||unref(slots).prefix?(openBlock(),createElementBlock(`span`,{key:3,class:`prefix`,onClick:activateInput,onMousedown:_cache[3]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)],32)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`input-container`,style:normalizeStyle(inputStyle.value)},[withDirectives(createBaseVNode(`input`,{ref_key:`input`,ref:input,"onUpdate:modelValue":_cache[4]||=$event=>rawValue.value=$event,readonly:__props.readonly,disabled:__props.disabled,placeholder:__props.placeholder,maxlength:__props.maxLength,type:`text`,onFocusin:_cache[5]||=$event=>_ctx.$emit(`focus`),onFocusout:_cache[6]||=$event=>_ctx.$emit(`blur`),onKeydown:[_cache[7]||=withKeys($event=>onArrowKeysChangeValue(1),[`arrow-up`]),_cache[8]||=withKeys($event=>onArrowKeysChangeValue(-1),[`arrow-down`]),withKeys(onEnterDown,[`enter`]),onKeyDown]},null,40,_hoisted_1$317),[[unref(BngTextInput_default)],[unref(BngOnUiNavFocus_default),dir=>onUINavChangeValue(dir),`vertical`,{repeat:!0}],[vModelText,rawValue.value]]),__props.label&&__props.floatingLabel||typeof __props.floatingLabel==`string`||unref(slots).label?(openBlock(),createElementBlock(`label`,_hoisted_2$258,[renderSlot(_ctx.$slots,`label`,{},()=>[createTextVNode(toDisplayString(__props.label||__props.floatingLabel),1)],!0)])):createCommentVNode(``,!0)],4),__props.suffix||unref(slots).suffix?(openBlock(),createElementBlock(`span`,{key:4,class:`suffix`,onClick:activateInput,onMousedown:_cache[9]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)],32)):createCommentVNode(``,!0),__props.trailingIcon||unref(slots).trailingIcon?(openBlock(),createElementBlock(`span`,{key:5,class:`trailing-icon`,onClick:activateInput,onMousedown:_cache[10]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`trailing-icon`,{},()=>[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],!0)],32)):createCommentVNode(``,!0),__props.type===INPUT_TYPES.number&&!__props.readonly&&!__props.disabled?(openBlock(),createElementBlock(`span`,{key:6,class:normalizeClass([{"spinner-active":numberInputState.isUpActive},`input-spinner input-spinner-up`]),onMousedown:_cache[11]||=withModifiers(()=>{},[`prevent`])},[renderSlot(_ctx.$slots,`spinner-up`,{changeValue:()=>onSpinnerChangeValue(1)},()=>[withDirectives((openBlock(),createBlock(unref(bngButton_default),{"bng-no-nav":`true`,accent:`text`},{default:withCtx(()=>[__props.noStepBindings?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,uiEvent:`focus_u`})),!unref(showIfController)||__props.noStepBindings?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:stepIcons.value.up},null,8,[`type`])):createCommentVNode(``,!0)]),_:1})),[[unref(BngClick_default),{clickCallback:()=>onSpinnerChangeValue(1),holdCallback:()=>onSpinnerChangeValue(1)}]])],!0)],34)):createCommentVNode(``,!0),__props.showExternalButton?(openBlock(),createElementBlock(`span`,_hoisted_3$225,[renderSlot(_ctx.$slots,`external-button`,{externalButtonFn},()=>[__props.readonly?createCommentVNode(``,!0):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,icon:unref(icons).mathMultiply,disabled:__props.disabled,accent:`attention`,onClick:externalButtonFn,onMousedown:_cache[12]||=withModifiers(()=>{},[`prevent`])},null,8,[`icon`,`disabled`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),isEmptyRawValue.value]])],!0)])):createCommentVNode(``,!0),validationState.value&&!validationState.value.valid&&validationState.value.errorMessage||unref(slots).errorMessage?(openBlock(),createElementBlock(`span`,_hoisted_4$193,[renderSlot(_ctx.$slots,`error-message`,{},()=>[createTextVNode(toDisplayString(validationState.value.errorMessage),1)],!0)])):createCommentVNode(``,!0)],34)),[[unref(BngDisabled_default),__props.disabled],[unref(BngScopedNav_default),{activated:scopeActivated.value,canActivate:canActivateScope}]])}},bngInputNew_default=__plugin_vue_export_helper_default(_sfc_main$362,[[`__scopeId`,`data-v-bb1297d5`]]),_hoisted_1$316={class:`list-container`},_hoisted_2$257={key:0,class:`list-toolbar`},_hoisted_3$224={key:1},_hoisted_4$192={class:`list-layout-toggle`};const LIST_LAYOUTS={DEFAULT:`tiles`,TILES:`tiles`,LIST:`list`,RIBBON:`ribbon`};var _sfc_main$361={__name:`bngList`,props:{path:Array,pathLimit:{type:[Number,String],default:3},pathTarget:Object,layoutSelector:Boolean,layoutSelectorTarget:Object,layout:{type:String,default:LIST_LAYOUTS.DEFAULT,validator:val=>Object.values(LIST_LAYOUTS).includes(val)},big:Boolean,immediate:Boolean,keepAlive:[Boolean,Number],tileSizeCalc:Function,tileWidth:Number,tileHeight:Number,tileMargin:Number,targetWidth:Number,targetHeight:Number,targetMargin:Number,titleWidth:Number,titleHeight:Number,titleMargin:Number,targetTitleWidth:Number,targetTitleHeight:Number,targetTitleMargin:Number,noBackground:Boolean},emits:[`layoutChange`,`pathClick`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,elPath=ref();__expose({navBack(){elPath.value&&elPath.value.navBack()},navTo(item){elPath.value&&elPath.value.navTo(item)},async scrollToIndex(index=0){if(!bigmode.enabled){let hasPosObserver=(elCont.value.children||[])[0]?.classList.contains(`bng-pos-observer`),elm=(elCont.value.children||[])[index+(hasPosObserver?1:0)];return elm&&elm.scrollIntoView(),elm}let big=await getBigProps(void 0,index);if(!big)return null;let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,containerSize=horizontal?contWidth:contHeight,rowIndex=layoutCache.itemToRow.get(index),itemRowPos=layoutCache.rows[rowIndex]?.pos||big.position,itemRowSize=layoutCache.rows[rowIndex]?.size||(horizontal?tileWidth.value:tileHeight.value),centeredPos=itemRowPos-containerSize/2+itemRowSize/2;scrollPos.value=Math.max(0,centeredPos),horizontal?elCont.value.scrollLeft=scrollPos.value:elCont.value.scrollTop=scrollPos.value,await updSkeleton();let itm=items$2.value[index];return itm?itm.getElement?.()||itm.el||itm:null},refresh(){tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps=getItemProps(items$2.value,!1),titleProps=getItemProps(items$2.value,!0),tileProps&&(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles()),titleProps&&(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles()),invalidateLayoutCache(),nextTick(()=>{bigmode.enabled&&contWidth>0&&contHeight>0&&(buildLayoutCache(),calcBig(),updSkeleton())})}});let defFontSize=16,defTileWidth=10,defTileHeight=5,defTileMargin=.2,defTitleWidth=10,defTitleHeight=2.5,defTitleMargin=.2,layoutSelected=ref(props.layout);watch(()=>props.layout,()=>layoutSelected.value=props.layout||LIST_LAYOUTS.DEFAULT),watch(()=>layoutSelected.value,val=>{emit$1(`layoutChange`,val),invalidateLayoutCache(),updSize()});let toolbar=computed(()=>{let res={path:props.path&&props.path.length>0,layout:props.layoutSelector};return res.enabled=res.path||res.layout,res.show=res.enabled&&(res.path&&!props.pathTarget||res.layout&&!props.layoutSelectorTarget),res}),slots=useSlots(),elCont=ref(),elSize=ref(),elSkeleton=ref(),tileWidth=ref(0),tileHeight=ref(0),tileMargin=ref(0),titleWidth=ref(0),titleHeight=ref(0),titleMargin=ref(0),scrollPos=ref(0),skeletonItems=ref([]),processing=computed(()=>bigmode.enabled&&(bigmode.initial||layoutCache.building)),contWidth=0,contHeight=0,fontSize=16,skeletonShown=!1,warnShown=!1,listItemsStyle=computed(()=>bigmode.enabled?{transform:`translate${layoutSelected.value===LIST_LAYOUTS.RIBBON?`X`:`Y`}(${bigmode.position}px)`}:void 0),tileProps=null,titleProps=null,bigmode=reactive({enabled:!1,initial:!0,debounce:500,skeleton:!0,layouts:[],getPos:{[LIST_LAYOUTS.TILES]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.LIST]:()=>elCont.value?.scrollTop||0,[LIST_LAYOUTS.RIBBON]:()=>elCont.value?.scrollLeft||0},overflow:2,skeletonOverflow:2,first:0,last:0,perRow:1,items:[],position:0,full:0,size:0});bigmode.layouts=Object.keys(bigmode.getPos);let layoutCache=reactive({version:0,building:!1,valid:!1,itemCount:0,totalSize:0,rows:[],itemToRow:new Map,rowPositions:[]}),items$2=ref([]),itemsView=ref([]),itemsShown=ref(new Set);watch(()=>props.immediate,val=>{val?(bigmode._skeleton=bigmode.skeleton,bigmode._debounce=bigmode.debounce,bigmode.skeleton=!1,bigmode.debounce=0):(bigmode._skeleton&&(bigmode.skeleton=bigmode._skeleton),bigmode._debounce&&(bigmode.debounce=bigmode._debounce))},{immediate:!0}),watch([()=>slots.default?.(),()=>props.big,()=>layoutSelected.value],()=>{let res=slots.default?slots.default():[];bigmode.enabled=props.big&&bigmode.layouts.includes(layoutSelected.value),bigmode.enabled&&(bigmode.initial=!0,res=getItems(res)),res=res.map((item,key)=>({...item,key})),items$2.value=res,bigmode.enabled||(itemsView.value=res),itemsShown.value.clear(),nextTick(()=>{tileProps=getItemProps(res,!1),titleProps=getItemProps(res,!0),invalidateLayoutCache(),updSize(),updSkeleton()})},{immediate:!0});function getItems(vnodes,_level=0){let res=[];for(let vnode of vnodes)switch(typeof vnode.type){case`object`:{let isTitle=vnode.props&&`bng-list-title`in vnode.props,item={...vnode};isTitle&&(item.isBngListTitle=!0),res.push(item);break}case`symbol`:if(_level===20)return logger_default.debug(`BngList reached max level of nested Vue fragments`),[];res.push(...getItems(vnode.children,_level+1));break}return res}function findItem(vnode,_level=0){let res=null;switch(typeof vnode.type){case`object`:res={el:vnode.el,width:vnode.type.width,height:vnode.type.height,margin:vnode.type.margin};break;case`string`:vnode.el instanceof HTMLElement&&(res={el:vnode.el});break;case`symbol`:if(vnode.children.length>0){if(_level===20)return null;res=findItem(vnode.children[0],++_level)}break}return res}function getItemProps(vnodes,title=!1){if(vnodes.length===0)return null;let sampleItem=vnodes.find(vnode=>title&&vnode.isBngListTitle||!title&&!vnode.isBngListTitle);if(!sampleItem)return null;let res=findItem(sampleItem);if(!res)return null;let valid={width:validNum(res.width),height:validNum(res.height),margin:validNum(res.margin)},fontSize$1,targetWidth=0,targetHeight=0,targetMargin=0;if(!title&&props.tileSizeCalc)try{fontSize$1||=getFontSize();let size$3=props.tileSizeCalc({contWidth,contHeight,fontSize:fontSize$1,layout:layoutSelected.value});if(size$3&&typeof size$3==`object`){let isPx=size$3.unit===`px`;targetWidth=isPx?size$3.width/fontSize$1:size$3.width,targetHeight=isPx?size$3.height/fontSize$1:size$3.height,targetMargin=isPx?size$3.margin/fontSize$1:size$3.margin}}catch(err){logger_default.warn(`BngList: tileSizeCalc function error:`,err)}targetWidth||=title?props.titleWidth||props.targetTitleWidth:props.tileWidth||props.targetWidth,targetHeight||=title?props.titleHeight||props.targetTitleHeight:props.tileHeight||props.targetHeight,targetMargin||=title?props.titleMargin||props.targetTitleMargin:props.tileMargin||props.targetMargin,validNum(targetWidth)&&(res.width=targetWidth,valid.width=!0),validNum(targetHeight)&&(res.height=targetHeight,valid.height=!0),validNum(targetMargin)&&(res.margin=targetMargin,valid.margin=!0);let em2px=em=>(fontSize$1||=getFontSize(),em*fontSize$1);if(valid.width&&res.width&&(res.width=em2px(res.width)),valid.height&&res.height&&(res.height=em2px(res.height)),valid.margin&&res.margin&&(res.margin=em2px(res.margin)),!valid.width||bigmode.enabled&&!valid.height||!valid.margin){if(res.el instanceof HTMLElement){let style=window.getComputedStyle(res.el,null);valid.width||(res.width=+style.width.substring(0,style.width.length-2)),valid.height||(res.height=+style.height.substring(0,style.height.length-2)),valid.margin||(res.margin=[style.marginTop,style.marginRight,style.marginBottom,style.marginLeft].map(m=>+m.substring(0,m.length-2)).sort((a$1,b)=>b-a$1)[0])}else logger_default.warn(`BngList cannot access ${title?`title`:`tile`} element for size auto-detection!`);warnShown||(warnShown=!0,logger_default.debug(`BigList was not provided with ${title?`title`:`target`} sizes (from props or from ${title?`title`:`tile`} component export) and attempted to auto-detect them. This may lead to some size micro-adjustments visible to user or invalid sizes. Please specify ${title?`title`:`target`} sizes manually.`),(res.width<1||res.height<1)&&logger_default.debug(`BigList noticed a detected ${title?`title`:``} size being too low: width = ${res.width}, height = ${res.height}`))}return res}let validNum=num=>typeof num==`number`&&!isNaN(num),getFontSize=()=>{if(!elCont.value)return 16;let size$3=window.getComputedStyle(elCont.value,null).fontSize;return+size$3.substring(0,size$3.length-2)||16},resizeObserver=new ResizeObserver(updSize);onMounted(()=>nextTick(()=>{resizeObserver.observe(elSize.value)})),onBeforeUnmount(()=>{elSize.value&&resizeObserver.unobserve(elSize.value),resizeObserver.disconnect()});let scrolling=ref(!1),scrollTmr,scrollTick=!1,onScrollDebounce=async()=>{scrollPos.value=bigmode.getPos[layoutSelected.value](),await updSkeleton()};watch(scrollPos,async pos=>{if(bigmode.enabled)if(bigmode.debounce>0)clearTimeout(scrollTmr),scrolling.value=!0,scrollTmr=setTimeout(async()=>{scrolling.value=!1,await calcBig(pos),await updSkeleton()},bigmode.debounce);else{if(scrollTick)return;scrollTick=!0,requestAnimationFrame(async()=>{scrollTick=!1,await calcBig(pos),await updSkeleton()})}});function vScroll(evt){evt.deltaY!==0&&elCont.value.scrollBy({left:evt.deltaY,behavior:`instant`})}function updSize(entries=[]){let oldContWidth=contWidth,oldContHeight=contHeight;tileWidth.value=0,tileHeight.value=0,titleWidth.value=0,titleHeight.value=0,tileProps?(tileMargin.value=validNum(tileProps.margin)?tileProps.margin:defTileMargin*fontSize,calcTiles(entries)):tileMargin.value=0,titleProps?(titleMargin.value=validNum(titleProps.margin)?titleProps.margin:defTitleMargin*fontSize,calcTitles(entries)):titleMargin.value=0,(Math.abs(oldContWidth-contWidth)>1||Math.abs(oldContHeight-contHeight)>1)&&invalidateLayoutCache(),bigmode.enabled&&!layoutCache.valid&&contWidth>0&&contHeight>0&&(!titleProps||titleWidth.value>0&&titleHeight.value>0)&&buildLayoutCache(),bigmode.enabled&&bigmode.initial&&(tileProps||titleProps)&&nextTick(async()=>{await calcBig(),await updSkeleton(),setTimeout(async()=>{await calcBig(),await updSkeleton()},50)}),elCont.value.removeEventListener(`mousewheel`,vScroll),layoutSelected.value===LIST_LAYOUTS.RIBBON&&elCont.value.addEventListener(`mousewheel`,vScroll)}function calcSizes(entries=[]){if(contWidth=0,contHeight=0,!elSize.value||!bigmode.enabled&&layoutSelected.value!==LIST_LAYOUTS.TILES)return!1;let baseMargin=tileMargin.value,rect=entries[0]?.contentRect||elSize.value.getBoundingClientRect();if(fontSize=getFontSize(),contWidth=rect.width,layoutSelected.value===LIST_LAYOUTS.RIBBON){let tileHeight$1=(tileProps?.height||5*fontSize)+baseMargin,titleHeight$1=titleProps?(titleProps.height||defTitleHeight*fontSize)+(titleProps.margin||defTitleMargin*fontSize):0;contHeight=Math.max(tileHeight$1,titleHeight$1)}else contHeight=rect.height-baseMargin;return!0}function calcTiles(entries=[]){if(!calcSizes(entries))return;let wantsWidth=layoutSelected.value===LIST_LAYOUTS.TILES||bigmode.enabled&&layoutSelected.value===LIST_LAYOUTS.RIBBON,wantsHeight=bigmode.enabled;if(!wantsWidth&&!wantsHeight)return;let baseMargin=tileMargin.value;if(wantsWidth){let baseWidth=tileProps.width||10*fontSize;if(contWidth>0&&layoutSelected.value===LIST_LAYOUTS.TILES){let prepWidth=baseWidth+baseMargin,amount=contWidth/prepWidth;amount<2?tileWidth.value=contWidth-baseMargin:tileWidth.value=(contWidth-baseMargin)/~~amount-baseMargin}else tileWidth.value=baseWidth}wantsHeight&&(tileHeight.value=tileProps.height||5*fontSize),bigmode.enabled&&bigmode.initial&&((!wantsWidth||contWidth>0)&&(!wantsHeight||contHeight>0)?(bigmode.initial=!1,calcBig(),updSkeleton()):window.requestAnimationFrame(()=>calcTiles()))}function calcTitles(){if(bigmode.enabled&&(fontSize=getFontSize()),!titleProps)return;let baseMargin=titleMargin.value,baseHeight=titleProps.height||defTitleHeight*fontSize;layoutSelected.value===LIST_LAYOUTS.RIBBON?titleWidth.value=titleProps.width||10*fontSize:titleWidth.value=contWidth-baseMargin;let oldTitleHeight=titleHeight.value;titleHeight.value=baseHeight,bigmode.enabled&&oldTitleHeight===0&&titleHeight.value>0&&contWidth>0&&contHeight>0&&(invalidateLayoutCache(),buildLayoutCache())}function clearLayoutCache(){layoutCache.totalSize=0,layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.valid=!0,layoutCache.building=!1,bigmode.enabled&&(bigmode.initial=!1,bigmode.full=0,bigmode.position=0,itemsView.value=[])}async function buildLayoutCache(){if(layoutCache.building){for(;layoutCache.building;)await sleep(10);return}if(items$2.value.length===0){clearLayoutCache();return}if(!tileProps&&!titleProps||contWidth<=0||contHeight<=0)return;if(layoutCache.building=!0,layoutCache.version=Date.now(),layoutCache.itemCount=items$2.value.length,await sleep(0),layoutCache.rows=[],layoutCache.itemToRow.clear(),layoutCache.rowPositions=[],layoutCache.itemCount!==items$2.value.length&&(layoutCache.itemCount=0),layoutCache.itemCount===0){clearLayoutCache(),items$2.value.length>0&&buildLayoutCache();return}let baseTileMargin=tileProps?.margin||defTileMargin*fontSize,baseTitleMargin=titleProps?.margin||defTitleMargin*fontSize,horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,tilesPerRow=layoutSelected.value===LIST_LAYOUTS.TILES?~~(contWidth/tileWidth.value):1,pos=0,first=0,curItems=0;function completeRow(i){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i-1};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j0&&(completeRow(i),curItems=0);let titleSize=horizontal?titleWidth.value:titleHeight.value,rowSize=titleSize+baseTitleMargin,row={pos,size:rowSize,first:i,last:i,isTitle:!0};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos),layoutCache.itemToRow.set(i,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=titleSize+nextMargin,first=i+1,curItems=0}else if(curItems++,curItems===1&&(first=i),curItems>=tilesPerRow){let tileSize=horizontal?tileWidth.value:tileHeight.value,size$3=tileSize+baseTileMargin,row={pos,size:size$3,first,last:i};layoutCache.rows.push(row),layoutCache.rowPositions.push(pos);for(let j=first;j<=i;j++)layoutCache.itemToRow.set(j,layoutCache.rows.length-1);let nextMargin=items$2.value[i+1]?.isBngListTitle?baseTitleMargin:baseTileMargin;pos+=tileSize+nextMargin,curItems=0,first=i+1}curItems>0&&completeRow(layoutCache.itemCount),pos+=items$2.value[layoutCache.itemCount-1]?.isBngListTitle?baseTitleMargin:baseTileMargin,layoutCache.totalSize=pos,layoutCache.valid=!0,layoutCache.building=!1}function invalidateLayoutCache(){layoutCache.valid=!1,layoutCache.version++}function layoutCacheSearch(arr,target){let left=0,right=arr.length-1;for(;left<=right;){let mid=~~((left+right)/2);arr[mid]<=target?left=mid+1:right=mid-1}return Math.max(0,right)}async function getBigProps(pos=void 0,index=void 0,overflow=void 0){let count$1=items$2.value.length;if(count$1===0)return;if((!layoutCache.valid||layoutCache.itemCount!==count$1)&&(await buildLayoutCache(),!layoutCache.valid))return null;(typeof index!=`number`||index<0)&&(index=void 0,typeof pos!=`number`&&(pos=bigmode.getPos[layoutSelected.value]()));let contSize=layoutSelected.value===LIST_LAYOUTS.RIBBON?contWidth:contHeight;typeof overflow!=`number`&&(overflow=bigmode.overflow);let overflowBefore=Math.ceil(overflow/2),overflowAfter=Math.floor(overflow/2),firstRow=0,currentPos=0;if(typeof index==`number`&&index>=0){let rowIndex=layoutCache.itemToRow.get(index);rowIndex!==void 0&&(firstRow=rowIndex,currentPos=layoutCache.rows[rowIndex].pos,pos=currentPos)}else firstRow=layoutCacheSearch(layoutCache.rowPositions,pos),currentPos=layoutCache.rows[firstRow]?.pos||0;let extendedFirstRow=firstRow,backwardCount=0;for(let i=firstRow-1;i>=0&&backwardCount=contSize));i++);let overflowCount=0;for(let i=lastRow+1;iprops.keepAlive){let center=big.first+(big.last-big.first)/2,farthest=Array.from(itemsShown.value).sort((a$1,b)=>Math.abs(b-center)-Math.abs(a$1-center)).slice(0,itemsShown.value.size-props.keepAlive);for(let idx of farthest)itemsShown.value.delete(idx)}big.items=Array.from(itemsShown.value).sort((a$1,b)=>a$1-b).map(idx=>{let item=items$2.value[idx];return idx>=big.first&&idx<=big.last?item:{...item,keepAliveStyle:`display: none !important;`}})}else itemsShown.value.size>0&&itemsShown.value.clear();bigmode.items=big.items,itemsView.value=big.items}}function showSkeleton(show=!0){skeletonShown!==show&&(show?elSkeleton.value.style.removeProperty(`display`):(skeletonItems.value=[],elSkeleton.value.style.setProperty(`display`,`none`,`important`)),skeletonShown=show)}async function updSkeleton(){if(!elSkeleton.value||!bigmode.enabled||!bigmode.skeleton||!scrolling.value||items$2.value.length===0||!layoutCache.valid){showSkeleton(!1);return}if(bigmode.first===0&&bigmode.last===items$2.value.length-1){showSkeleton(!1);return}let horizontal=layoutSelected.value===LIST_LAYOUTS.RIBBON,contSize=horizontal?contWidth:contHeight,pos=scrollPos.value,start,end;if(pos=bigmode.position||(end=i,visibleSize+=row.size,visibleSize>=contSize))break}let overflowCount=0;for(let i=end+1;i=bigmode.position);i++)end=i,overflowCount++;let neededSize=contSize+bigmode.skeletonOverflow*(horizontal?tileWidth.value:tileHeight.value),backwardSize=visibleSize;for(;start>0&&backwardSize=contSize));i++);let overflowCount=0;for(let i=end+1;i(openBlock(),createElementBlock(`div`,_hoisted_1$316,[toolbar.value.enabled?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_2$257,[toolbar.value.path?(openBlock(),createBlock(Teleport,{key:0,disabled:!__props.pathTarget,to:__props.pathTarget},[createVNode(unref(bngBreadcrumbs_default),{ref_key:`elPath`,ref:elPath,items:__props.path,limit:__props.pathLimit,blur:!__props.noBackground,onClick:_cache[0]||=itm=>emit$1(`pathClick`,itm)},null,8,[`items`,`limit`,`blur`])],8,[`disabled`,`to`])):(openBlock(),createElementBlock(`div`,_hoisted_3$224)),toolbar.value.layout?(openBlock(),createBlock(Teleport,{key:2,disabled:!__props.layoutSelectorTarget,to:__props.layoutSelectorTarget},[createBaseVNode(`div`,_hoisted_4$192,[createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.TILES?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).tiles,onClick:_cache[1]||=$event=>layoutSelected.value=LIST_LAYOUTS.TILES},null,8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:layoutSelected.value===LIST_LAYOUTS.LIST?unref(ACCENTS).outlined:unref(ACCENTS).text,icon:unref(icons).listSmall,onClick:_cache[2]||=$event=>layoutSelected.value=LIST_LAYOUTS.LIST},null,8,[`accent`,`icon`])])],8,[`disabled`,`to`])):createCommentVNode(``,!0)],512)),[[vShow,toolbar.value.show]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass({"list-content":!0,"list-with-background":!__props.noBackground,[`list-layout-${layoutSelected.value}`]:!0,"list-item-width":!!tileWidth.value,"list-item-height":!!tileHeight.value,"list-item-margin":!!tileMargin.value,"list-title-width":!!titleWidth.value,"list-title-height":!!titleHeight.value,"list-title-margin":!!titleMargin.value,"list-big":bigmode.enabled,"list-scrolling":scrolling.value||bigmode.debounce===0,"list-processing":processing.value}),style:normalizeStyle({"--list-item-width":`${tileWidth.value}px`,"--list-item-height":`${tileHeight.value}px`,"--list-item-margin":`${tileMargin.value}px`,"--list-title-width":`${titleWidth.value}px`,"--list-title-height":`${titleHeight.value}px`,"--list-title-margin":`${titleMargin.value}px`,"--list-big-full":`${bigmode.full}px`}),onScroll:onScrollDebounce},[createBaseVNode(`div`,{ref_key:`elSize`,ref:elSize,class:`list-content-size-observer`},null,512),bigmode.enabled&&bigmode.skeleton?(openBlock(),createElementBlock(`div`,{key:0,ref_key:`elSkeleton`,ref:elSkeleton,class:`list-skeleton`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(skeletonItems.value,(isTitle,i)=>(openBlock(),createElementBlock(`div`,{key:`skeleton-${i}`,class:normalizeClass({"skeleton-item":!0,"skeleton-title":isTitle})},null,2))),128))],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{class:`list-items`,style:normalizeStyle(listItemsStyle.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,vnode=>(openBlock(),createBlock(resolveDynamicComponent(vnode),{key:vnode.key,style:normalizeStyle(vnode.keepAliveStyle)},null,8,[`style`]))),128))],4)],38)),[[unref(BngBlur_default),!__props.noBackground]])]))}},bngList_default=__plugin_vue_export_helper_default(_sfc_main$361,[[`__scopeId`,`data-v-5af5eff2`]]),_hoisted_1$315={class:`bng-stars`},_hoisted_2$256={key:0,class:`stars`},_hoisted_3$223=[`innerHTML`],_hoisted_4$191=[`innerHTML`],_hoisted_5$163={key:1,class:`stars`},_hoisted_6$140={class:`stars-label`},_hoisted_7$122=[`innerHTML`],_sfc_main$360={__name:`bngMainStars`,props:{unlockedStars:{type:Number,default:0,validator:val=>val>=0},totalStars:{type:Number,default:1},scale:{type:Number,default:1},individualStars:{type:Object,default:null,validator:val=>val===null||Array.isArray(val)},numerical:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v3c930dd6:fontSize.value}));let props=__props,fontSize=computed(()=>`${props.scale}rem`),starsTotal=computed(()=>props.individualStars?props.individualStars.length:props.totalStars),starsFilled=computed(()=>props.individualStars?props.individualStars.filter(Boolean).length:props.unlockedStars),starsUnfilled=computed(()=>starsTotal.value-starsFilled.value),glyphsFilled=computed(()=>starsFilled.value>0?icons.star.glyph.repeat(starsFilled.value):``),glyphsUnfilled=computed(()=>starsUnfilled.value>0?icons.star.glyph.repeat(starsUnfilled.value):``);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$315,[!__props.numerical&&__props.individualStars&&__props.individualStars.length?(openBlock(),createElementBlock(`div`,_hoisted_2$256,[starsFilled.value?(openBlock(),createElementBlock(`span`,{key:0,class:`star star-filled`,innerHTML:glyphsFilled.value},null,8,_hoisted_3$223)):createCommentVNode(``,!0),starsUnfilled.value?(openBlock(),createElementBlock(`span`,{key:1,class:`star star-unfilled`,innerHTML:glyphsUnfilled.value},null,8,_hoisted_4$191)):createCommentVNode(``,!0)])):(openBlock(),createElementBlock(`div`,_hoisted_5$163,[createBaseVNode(`div`,_hoisted_6$140,toDisplayString(starsFilled.value)+` / `+toDisplayString(starsTotal.value),1),createBaseVNode(`span`,{class:`star star-filled`,innerHTML:unref(icons).star.glyph},null,8,_hoisted_7$122)]))]))}},bngMainStars_default=__plugin_vue_export_helper_default(_sfc_main$360,[[`__scopeId`,`data-v-4ba4c794`]]),_hoisted_1$314=[`rows`,`placeholder`,`disabled`],_hoisted_2$255={key:0,class:`floating-label`},_sfc_main$359={__name:`bngMultilineInput`,props:{floatingLabel:String,externalLabel:String,placeholder:String,initialValue:String,leadingIcon:Object,trailingIcon:Object,scalable:Boolean,hasError:Boolean,errorMessage:String,lines:{type:Number,default:1},disabled:{type:Boolean,default:!1}},setup(__props){useCssVars(_ctx=>({v26daab40:bngScalableInputMaxWidth.value}));let props=__props,inputContainer=ref(null),bngMultilineInput=ref(null),focusHighlight=ref(null),leadingIconContainer=ref(null),trailingIconContainer=ref(null),value=ref(``),isInputFieldFocused=ref(!1),hasValue=computed(()=>value.value!==``&&value.value!==void 0),bngScalableInputMaxWidth=computed(()=>`${(leadingIconContainer.value?leadingIconContainer.value.offsetWidth:0)+(trailingIconContainer.value?trailingIconContainer.value.offsetWidth:0)}px`),resizeObserver;onBeforeMount(()=>{value.value=props.initialValue,resizeObserver=new ResizeObserver(onInputResize)}),onMounted(()=>{resizeObserver.observe(bngMultilineInput.value)}),onDeactivated(()=>{resizeObserver.disconnect()});function onInputFieldFocusIn(){isInputFieldFocused.value=!0}function onInputFieldFocusOut(){isInputFieldFocused.value=!1}function onInputResize(){inputContainer.value&&window.requestAnimationFrame(()=>{let focusRight=inputContainer.value.offsetWidth-inputContainer.value.offsetWidth;focusHighlight.value.style.right=`${focusRight-2}px`})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`input-icon-wrapper`,{scalable:__props.scalable}])},[__props.leadingIcon?(openBlock(),createElementBlock(`span`,{key:0,ref_key:`leadingIconContainer`,ref:leadingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.leadingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`inputContainer`,ref:inputContainer,class:normalizeClass([`bng-multiline-input`,{"input-focused":isInputFieldFocused.value,"has-error":__props.hasError}]),tabindex:`0`},[withDirectives(createBaseVNode(`textarea`,{"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,ref_key:`bngMultilineInput`,ref:bngMultilineInput,class:normalizeClass([`input-field`,{empty:!hasValue.value,"has-value":hasValue.value,"has-error":__props.hasError,disabled:__props.disabled}]),rows:__props.lines,placeholder:__props.floatingLabel,disabled:__props.disabled,onFocusin:onInputFieldFocusIn,onFocusout:onInputFieldFocusOut},null,42,_hoisted_1$314),[[vModelText,value.value],[unref(BngTextInput_default)]]),__props.floatingLabel?(openBlock(),createElementBlock(`span`,_hoisted_2$255,toDisplayString(__props.floatingLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,{ref_key:`focusHighlight`,ref:focusHighlight,class:`focus-highlight`},null,512)],2),__props.trailingIcon?(openBlock(),createElementBlock(`span`,{key:1,ref_key:`trailingIconContainer`,ref:trailingIconContainer,class:`input-icon`},[createVNode(unref(bngIcon_default),{type:__props.trailingIcon},null,8,[`type`])],512)):createCommentVNode(``,!0)],2))}},bngMultilineInput_default=__plugin_vue_export_helper_default(_sfc_main$359,[[`__scopeId`,`data-v-6c6cfdb8`]]);const icons$1={undefined:`undefined`,arrow:{large:{up:`arrow/large_up`,down:`arrow/large_down`,left:`arrow/large_left`,right:`arrow/large_right`},small:{up:`arrow/arrowSmallUp`,down:`arrow/arrowSmallDown`,left:`arrow/arrowSmallLeft`,right:`arrow/arrowSmallRight`}},drive:{autobahn:`drive/autobahn`,busroutes:`drive/busroutes`,campaigns:`drive/campaigns`,career:`drive/career`,freeroam:`drive/freeroam`,garage:`drive/garage`,infinity:`drive/infinity`,lightrunner:`drive/lightrunner`,m_a:`drive/m_a`,m_b:`drive/m_b`,m_c:`drive/m_c`,play:`drive/play`,quit:`drive/quit`,scenarios:`drive/scenarios`,timetrials:`drive/timetrials`},general:{offbtn:`general/offbtn`,unknown:`general/unknown`,check:`general/check`,recharge:`general/recharge`,refuel:`general/refuel`,beambuck:`general/beambuck`,money:`general/beambuck`,beamXP:`general/beamXP`,arrow_small_left:`general/arrow_small-left`,arrow_small_right:`general/arrow_small-right`,fuel_nozzle:`general/fuel-nozzle`,recharge_connector:`general/recharge-connector`,star:`general/star`,star_outlined:`general/star-secondary`,vehicle:`general/vehicle`,awd:`general/awd`,"4wd":`general/4wd`,fwd:`general/fwd`,rwd:`general/rwd`,drivetrain_special:`general/drivetrain-special`,drivetrain_generic:`general/drivetrain-generic`,charge:`general/charge`,fuel:`general/fuel`,odometer:`general/odometer`,power_gauge_01:`general/power-gauge-01c`,power_gauge_02:`general/power-gauge-02c`,power_gauge_03:`general/power-gauge-03c`,power_gauge_04:`general/power-gauge-04c`,power_gauge_05:`general/power-gauge-05c`,weight:`general/weight`,transmission_a:`general/transmission-a`,transmission_m:`general/transmission-m`},device:{keyboard:`device/keyboard`,phone_android:`device/phone_android`,wheel:`device/wheel`,gamepad:`device/gamepad`,videogame_asset:`device/videogame_asset`,mouse:{button0:`device/mouse/button0`,button1:`device/mouse/button1`,button2:`device/mouse/button2`,xaxis:`device/mouse/xaxis`,yaxis:`device/mouse/yaxis`,zaxis:`device/mouse/zaxis`},xbox:{btn_a:`device/xbox/btn_a`,btn_b:`device/xbox/btn_b`,btn_back:`device/xbox/btn_back`,btn_lb:`device/xbox/btn_lb`,btn_lt:`device/xbox/btn_lt`,btn_rb:`device/xbox/btn_rb`,btn_rt:`device/xbox/btn_rt`,btn_start:`device/xbox/btn_start`,btn_x:`device/xbox/btn_x`,btn_y:`device/xbox/btn_y`,btn_dpad_default_filled:`device/xbox/btn_dpad_default_filled`,btn_dpad_default_outline:`device/xbox/btn_dpad_default_outline`,btn_dpad_down:`device/xbox/btn_dpad_down`,btn_dpad_left:`device/xbox/btn_dpad_left`,btn_dpad_right:`device/xbox/btn_dpad_right`,btn_dpad_up:`device/xbox/btn_dpad_up`,btn_thumb_left:`device/xbox/btn_thumb_left`,btn_thumb_left_x:`device/xbox/btn_thumb_left_x`,btn_thumb_left_y:`device/xbox/btn_thumb_left_y`,btn_thumb_right:`device/xbox/btn_thumb_right`,btn_thumb_right_x:`device/xbox/btn_thumb_right_x`,btn_thumb_right_y:`device/xbox/btn_thumb_right_y`}},decals:{camera:{back:`decals/camera/back`,freecam:`decals/camera/freecam`,front:`decals/camera/front`,left:`decals/camera/left`,right:`decals/camera/right`,top:`decals/camera/top`},general:{change_order:`decals/general/change_order`,deform:`decals/general/deform`,delete:`decals/general/delete`,duplicate:`decals/general/duplicate`,hide:`decals/general/hide`,lock:`decals/general/lock`,mirror:`decals/general/mirror`,options:`decals/general/options`,redo:`decals/general/redo`,rename:`decals/general/rename`,save:`decals/general/save`,transform:`decals/general/transform`,undo:`decals/general/undo`,unlock:`decals/general/unlock`,use_mask:`decals/general/mask`},group:{group:`decals/group/group`,ungroup:`decals/group/ungroup`},layer:{decal:`decals/layer/decal`,material:`decals/layer/material`},mirror:{copy_mirrored:`decals/mirror/copy_mirrored`,copy_straight:`decals/mirror/copy_straight`}}},iconTypesList=makeIconTypesList(icons$1);function makeIconTypesList(dict){let key,all=[];for(key in dict)all=all.concat(typeof dict[key]==`string`?dict[key]:makeIconTypesList(dict[key]));return all}var _hoisted_1$313=[`src`],_sfc_main$358={__name:`bngOldIcon`,props:{type:{type:String,validator:v=>iconTypesList.includes(v)},span:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},color:String},setup(__props){let props=__props,iconImageURL=computed(()=>getAssetURL(`icons/${props.type}.svg`)),spanStyle=computed(()=>({[props.mask?`maskImage`:`backgroundImage`]:`url(${iconImageURL.value})`,backgroundColor:props.color||`#fff`}));return(_ctx,_cache)=>__props.span?(openBlock(),createElementBlock(`span`,{key:0,class:`bngicon`,style:normalizeStyle(spanStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4)):(openBlock(),createElementBlock(`img`,{key:1,class:`bngicon`,src:iconImageURL.value,alt:``},null,8,_hoisted_1$313))}},bngOldIcon_default=__plugin_vue_export_helper_default(_sfc_main$358,[[`__scopeId`,`data-v-da0e0a74`]]),_hoisted_1$312=[`bng-no-child-nav`],scrollBuildupTime=3e3,scrollMaxSpeedModifier=4,CLICKID=`__bngOverflowContainer`,_sfc_main$357={__name:`bngOverflowContainer`,props:{scrollSpeed:{type:Number,default:5},initialIndex:{type:Number,default:-1},useBindings:[Boolean,Array],useBindingsOnly:[Boolean,Array],showBindings:{type:Boolean,default:!0},showArrows:{type:Boolean,default:!1},noWheel:{type:Boolean,default:!1}},setup(__props,{expose:__expose}){let slots=useSlots(),props=__props,useBindings=props.useBindings||props.useBindingsOnly,useBindingsOnly=props.useBindingsOnly;watch([()=>props.useBindings,()=>props.useBindingsOnly],()=>console.warn(`useBindings and useBindingsOnly can only be set at component mount time`));let uinavBound=!1,focusNav=useBindings&&Array.isArray(useBindings)?useBindings:[`tab_l`,`tab_r`],elBindPrev=ref(null),elBindNext=ref(null),elCont=ref(null),scrollContainer=ref(null),showLeftFade=ref(!1),showRightFade=ref(!1),resizeObserver=new ResizeObserver(updateFadeVisibility),scrollInterval=null,scrollTime=0,lastActive=null,fixingActive=!1;function setActive(elm){clearActive(),elm instanceof Element&&(elm.setAttribute(`active`,`true`),lastActive=elm)}function clearActive(evt){lastActive&&(evt&&(evt.detail?.target||evt.target)===lastActive||(lastActive.removeAttribute(`active`),lastActive=null))}function fixActive(evt){if(fixingActive||useBindings&&evt.type===`focusin`)return;let active=evt.detail?.target||evt.target||document.activeElement;if(active.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(active=active.closest(NAVIGABLE_ELEMENTS_SELECTOR)),scrollContainer.value.contains(active)&&!(lastActive&&(lastActive===active||lastActive.contains(active)))){if(useBindingsOnly){fixingActive=!0;let prev=evt.detail.relatedTarget||evt.relatedTarget;prev&&scrollContainer.value.contains(prev)&&(prev=null),prev?setFocusExternal(prev,!0):setFocusExternal(active,!1)}nextTick(()=>{setActive(active),fixingActive=!1})}}let firstTime=!0;function updateContents(){if(!scrollContainer.value)return;let elFirst;for(let elm of scrollContainer.value.children)firstTime&&!elFirst&&(elFirst=elm),!elm[CLICKID]&&(elm[CLICKID]=!0,elm.addEventListener(`click`,fixActive));firstTime&&elFirst&&props.initialIndex>-1&&(firstTime=!1,elFirst.matches(`[is-bng-panel], [bng-nav-item], [ng-click], [href], [bng-all-clicks], [bng-all-clicks-no-nav], [ui-sref], input, textarea, button, md-option, md-slider, md-select, md-checkbox`)||(elFirst=elFirst.querySelector(NAVIGABLE_ELEMENTS_SELECTOR)),elFirst&&activate(elFirst))}watch([()=>slots.default?.(),()=>scrollContainer.value],()=>nextTick(updateContents),{immediate:!0});function navContents(dir,fireClick=!1){let links=collectRects(dir,scrollContainer.value,useBindingsOnly),prev=lastActive;clearActive();let res;if(useBindingsOnly){let idx=links[dir].findIndex(link=>link.dom===prev);idx>-1?res=links[dir][dir===`right`?idx+1:idx-1]:idx===0&&dir===`left`?res=links[dir][links[dir].length-1]:idx===links[dir].length-1&&dir===`right`&&(res=links[dir][0]),res&&(setActive(res.dom),scrollFix(res,dir))}else prev&&(res=navigate(links,dir,prev),res&&setActive(res));res?fireClick&&(res.dom&&(res=res.dom),nextTick(()=>res?.dispatchEvent(new Event(`click`)))):(scrollContainer.value.scrollTo({left:dir===`right`?0:scrollContainer.value.clientWidth,behavior:`instant`}),nextTick(()=>{let elms$4=collectRects(`right`,scrollContainer.value,!0).right;dir===`left`&&elms$4.reverse(),res=elms$4[0],res&&(setActive(res.dom),useBindingsOnly?scrollFix(res,dir):setFocusExternal(res.dom),fireClick&&res.dom.dispatchEvent(new Event(`click`)))}))}let activatePrev=()=>navContents(`left`,!0),activateNext=()=>navContents(`right`,!0);function activate(indexOrElement){let elm;if(typeof indexOrElement==`number`){let elms$4=scrollContainer.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);indexOrElement<0&&(indexOrElement=elms$4.length+indexOrElement),elm=elms$4[indexOrElement]}else if(indexOrElement instanceof Element)elm=indexOrElement;else throw Error(`Invalid argument`);if(!elm)throw Error(`Element not found`);scrollFix({dom:elm,rect:elm.getBoundingClientRect()},`right`),setActive(elm),!useBindingsOnly&&setFocusExternal(elm)}if(__expose({scrollBy:amount=>scrollContainer.value?.scrollBy({left:amount,behavior:`smooth`}),activatePrev,activateNext,activate,deactivate:()=>{let active=document.activeElement,activeCorrect=active&&active===lastActive;clearActive(),activeCorrect&&(useBindingsOnly&&setFocusExternal(active,!1),active.blur?.())},refresh:(withActivation=!1)=>{withActivation&&(firstTime=!0),updateContents()}}),useBindings){let instance$1=getCurrentInstance(),contUnwatch=watch(()=>elCont.value,elm=>{elm&&(contUnwatch(),nextTick(()=>{uinavBound=!0;let vnode={ctx:instance$1,el:elm};BngOnUiNav_default.mounted(elm,{arg:focusNav[0],modifiers:{},value:activatePrev},vnode),BngOnUiNav_default.mounted(elm,{arg:focusNav[1],modifiers:{},value:activateNext},vnode),elm.addEventListener(`focusin`,fixActive)}))},{immediate:!0})}watch(scrollContainer,elm=>{elm&&(updateFadeVisibility(),resizeObserver.observe(elm))},{immediate:!0});function updateFadeVisibility(){if(!scrollContainer.value)return;let{scrollLeft,scrollWidth,clientWidth}=scrollContainer.value;showLeftFade.value=scrollLeft>0,showRightFade.value=scrollLeft{let speedModifier=Math.min(1+(scrollMaxSpeedModifier-1)*(scrollTime/scrollBuildupTime),scrollMaxSpeedModifier),scrollAmount=(direction$1===`left`?-props.scrollSpeed:props.scrollSpeed)*speedModifier;scrollContainer.value.scrollLeft+=scrollAmount,updateFadeVisibility(),scrollTime+=1e3/30},1e3/30)}function stopScrolling(){scrollInterval&&=(clearInterval(scrollInterval),null),scrollTime=0}function onWheel(evt){props.noWheel||(evt.preventDefault(),scrollContainer.value.scrollLeft+=evt.deltaY,updateFadeVisibility())}function onScroll(){updateFadeVisibility()}return onBeforeUnmount(()=>{resizeObserver.disconnect(),stopScrolling(),uinavBound&&(BngOnUiNav_default.beforeUnmount(elCont.value),elCont.value.removeEventListener(`focusin`,fixActive))}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-overflow-container`,{"with-bindings":unref(useBindings)&&(elBindPrev.value?.displayed||elBindNext.value?.displayed),"with-arrows":__props.showArrows&&!(elBindPrev.value?.displayed||elBindNext.value?.displayed),"hide-bindings":!__props.showBindings}]),onWheel},[withDirectives(createBaseVNode(`div`,{class:`fade-left`,onMouseenter:_cache[0]||=$event=>startScrolling(`left`),onMouseleave:stopScrolling},null,544),[[vShow,showLeftFade.value]]),withDirectives(createBaseVNode(`div`,{class:`fade-right`,onMouseenter:_cache[1]||=$event=>startScrolling(`right`),onMouseleave:stopScrolling},null,544),[[vShow,showRightFade.value]]),__props.showArrows&&!elBindPrev.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).arrowLargeLeft,class:`hint-prev`},null,8,[`type`])):createCommentVNode(``,!0),__props.showArrows&&!elBindNext.value?.displayed?(openBlock(),createBlock(unref(bngIcon_default),{key:1,type:unref(icons).arrowLargeRight,class:`hint-next`},null,8,[`type`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:2,ref_key:`elBindPrev`,ref:elBindPrev,class:`hint-prev`,"ui-event":unref(focusNav)[0],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),unref(useBindings)?(openBlock(),createBlock(unref(bngBinding_default),{key:3,ref_key:`elBindNext`,ref:elBindNext,class:`hint-next`,"ui-event":unref(focusNav)[1],controller:``},null,8,[`ui-event`])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`scrollContainer`,ref:scrollContainer,class:`scroll-container`,"bng-no-child-nav":unref(useBindingsOnly),onScroll},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],40,_hoisted_1$312)],34))}},bngOverflowContainer_default=__plugin_vue_export_helper_default(_sfc_main$357,[[`__scopeId`,`data-v-24544cbf`]]);const rainbow=(numOfSteps,step)=>{let r,g,b,h$1=step/numOfSteps,i=~~(h$1*6),f=h$1*6-i,q=1-f;switch(i%6){case 0:[r,g,b]=[1,f,0];break;case 1:[r,g,b]=[q,1,0];break;case 2:[r,g,b]=[0,1,f];break;case 3:[r,g,b]=[0,q,1];break;case 4:[r,g,b]=[f,0,1];break;case 5:[r,g,b]=[1,0,q];break}return[r,g,b]},hueToRGB=(p$1,q,t)=>(t<0&&(t+=1),t>1&&--t,t<1/6?p$1+(q-p$1)*6*t:t<1/2?q:t<2/3?p$1+(q-p$1)*(2/3-t)*6:p$1),HSLToRGB=(h$1,s,l)=>{let r,g,b;if(s===0)r=g=b=l;else{let q=l<.5?l*(1+s):l+s-l*s,p$1=2*l-q;r=hueToRGB(p$1,q,h$1+1/3),g=hueToRGB(p$1,q,h$1),b=hueToRGB(p$1,q,h$1-1/3)}return[r,g,b]},RGBToHSL=(r,g,b)=>{let vmax=Math.max(r,g,b),vmin=Math.min(r,g,b),h$1,s,l=(vmax+vmin)/2;if(vmax===vmin)return[0,0,l];let d=vmax-vmin;return s=l>.5?d/(2-vmax-vmin):d/(vmax+vmin),vmax===r&&(h$1=(g-b)/d+(gnum;else if(val<=15){let prec=10**val;this._precision=num=>~~(num*prec)/prec}else throw TypeError(`Precision can't go higher than 15`)}_sync({hsl=!1,rgb=!1}={}){if(hsl&&rgb)throw Error(`Cannot set both HSL and RGB changes at once`);this._dirty.hsl&&!hsl?this._rgb=HSLToRGB(...this._hsl):this._dirty.rgb&&!rgb&&(this._hsl=RGBToHSL(...this._rgb)),this._dirty.hsl=hsl,this._dirty.rgb=rgb}_parse(val){let res;if(isProxy(val)&&(val=toRaw(val)),typeof val==`string`&&(val=val.split(` `)),typeof val==`object`&&Array.isArray(val)){if(val.length<3)throw Error(`Invalid colour array length`);val.length===3&&(val=[...val,1]),val=val.map(Number);for(let num of val)if(isNaN(num))throw Error(`Values must be numbers`);res=val}if(!res)throw Error(`Color must be either an array or a string`);return res}get hslString(){return this.hsl.join(` `)}get hslaString(){return this.hsla.join(` `)}get rgbString(){return this.rgb.join(` `)}get rgbaString(){return this.rgba.join(` `)}get saturationPercent(){return Math.round(this.saturation*100)}get luminosityPercent(){return Math.round(this.luminosity*100)}get alphaPercent(){return Math.round(this._alpha*50)}get metallicPercent(){return Math.round(this._metallic*100)}get roughnessPercent(){return Math.round(this._roughness*100)}get clearcoatPercent(){return Math.round(this._clearcoat*100)}get clearcoatRoughnessPercent(){return Math.round(this._clearcoatRoughness*100)}get paint(){return[...this._legacy?this.rgba:this.rgb,this.metallic,this.roughness,this.clearcoat,this.clearcoatRoughness].map(this._precision)}get paintString(){return this.paint.join(` `)}get paintObject(){return this._paintObjectNames.reduce((res,name)=>({...res,[name]:this[name]}),{})}set paint(val){let data;if(isProxy(val)&&(val=toRaw(val)),typeof val==`object`){if(!Array.isArray(val)){data={...val};let names=this._paintObjectNames;for(let name of names){if(name===`baseColor`){this.baseColor=name in data?data[name]:[1,1,1,1];continue}let num=0;name in data&&(num=Number(data[name]),isNaN(num)&&(num=0)),this[name]=num}return}data=val}else if(typeof val==`string`)data=val.split(` `);else throw TypeError(`Invalid data type`);if(data.length===8)this.rgba=data.slice(0,4);else if(data.length===7)this.rgb=data.slice(0,3);else throw TypeError(`Invalid data value`);[this._metallic,this._roughness,this._clearcoat,this._clearcoatRoughness]=data.slice(-4)}get metallic(){return this._precision(this._metallic)}set metallic(val){this._metallic=Number(val)}get roughness(){return this._precision(this._roughness)}set roughness(val){this._roughness=Number(val)}get clearcoat(){return this._precision(this._clearcoat)}set clearcoat(val){this._clearcoat=Number(val)}get clearcoatRoughness(){return this._precision(this._clearcoatRoughness)}set clearcoatRoughness(val){this._clearcoatRoughness=Number(val)}get alpha(){return this._precision(this._alpha)}set alpha(val){let type=typeof val;type!==`undefined`&&(type===`number`?this._alpha=val:this._alpha=Number(val))}get hsl(){return this._sync(),this._hsl.map(this._precision)}set hsl(val){let arr=this._parse(val);this._sync({hsl:!0}),this._hsl=arr.slice(0,3),this.alpha=arr[3]}get rgb(){return this._sync(),this._rgb.map(this._precision)}get rgb255(){return this.rgb.map(val=>Math.round(val*255))}set rgb(val){let arr=this._parse(val);this._sync({rgb:!0}),this._rgb=arr.slice(0,3),this.alpha=arr[3]}set rgb255(val){let arr=this._parse(val);this.rgb=[...arr.slice(0,3).map(val$1=>val$1/255),arr[3]]}get hsla(){return[...this.hsl,this.alpha]}set hsla(val){this.hsl=val}get rgba(){return[...this.rgb,this.alpha]}set rgba(val){this.rgb=val}get baseColor(){return this.rgba}set baseColor(val){this.rgba=val}get hue(){return this.hsl[0]}get hue360(){return this.hsl[0]*360}set hue(val){this._sync({hsl:!0}),this._hsl[0]=Number(val)}set hue360(val){this.hue=Number(val)/360}get saturation(){return this.hsl[1]}set saturation(val){this._sync({hsl:!0}),this._hsl[1]=Number(val)}get luminosity(){return this.hsl[2]}set luminosity(val){this._sync({hsl:!0}),this._hsl[2]=Number(val)}get red(){return this.rgb[0]}get red255(){return this.rgb[0]*255}set red(val){this._sync({rgb:!0}),this._rgb[0]=Number(val)}set red255(val){this.red=Number(val)/255}get green(){return this.rgb[1]}get green255(){return this.rgb[1]*255}set green(val){this._sync({rgb:!0}),this._rgb[1]=Number(val)}set green255(val){this.green=Number(val)/255}get blue(){return this.rgb[2]}get blue255(){return this.rgb[2]*255}set blue(val){this._sync({rgb:!0}),this._rgb[2]=Number(val)}set blue255(val){this.blue=Number(val)/255}static anyToArray(val,legacy=!1){if(Array.isArray(val)){let checks=[val$1=>val$1 instanceof Paint,val$1=>typeof val$1==`object`&&Array.isArray(val$1.baseColor),val$1=>typeof val$1==`string`&&val$1.split(` `).length>=7,val$1=>Array.isArray(val$1)&&val$1.length>=7];if(val.some(item=>checks.some(check=>check(item))))return val.map(item=>Paint.anyToArray(item,legacy))}let precision=val$1=>{let num=Number(val$1);return isNaN(num)?val$1:~~(num*1e4)/1e4};return Array.isArray(val)?val.map(precision):typeof val==`string`?val.split(` `).map(precision):val instanceof Paint?val.paint:typeof val==`object`&&val.baseColor?[...legacy?val.baseColor:val.baseColor.slice(0,3),val.metallic,val.roughness,val.clearcoat,val.clearcoatRoughness].map(precision):val}static hslCssStr(arr){return`${Math.round(arr[0]*360)}, ${Math.round(arr[1]*100)}%, ${Math.round(arr[2]*100)}%`}static rgbToHsl(rgb){return RGBToHSL(...rgb)}static hslToRgb(hsl){return HSLToRGB(...hsl)}},CACHE_LIMIT=200,TILE_SIZE=64,MULTI_ANGLE=23,MAX_CONCURRENT_RENDERS=20,QUEUE_INTERVAL=10,reflectionImageUrl=`/ui/ui-vue/src/assets/images/paint-reflection.jpg`,reflectionImage=null,reflectionImageDone=!1,renderCancelledError=Error(`Render cancelled`),cacheCleanedError=Error(`Cache cleared`);function hashPaintData(paintData){return paintData?(paintData=Paint.anyToArray(paintData,!1),Array.isArray(paintData)?Array.isArray(paintData[0])?paintData.map(paint=>Array.isArray(paint)?paint.join(`,`):``).join(`|`):paintData.join(`,`):JSON.stringify(paintData)):``}var checkMultipaint=paintData=>Array.isArray(paintData)&&paintData.length>0&&paintData.some(item=>Array.isArray(item)&&item.length>=7);const usePaintPreviews=defineStore(`paint-previews`,()=>{let previews=ref(new Map),pendingRenders=ref(new Map),renderQueue=ref([]),activeRenders=ref(0),cacheListeners=new Set,pendingBlobCleanup=new Set,queueProcessor=null,blobCleanupTimeout=null;{let img=new Image;img.onload=()=>{reflectionImage=img,reflectionImageDone=!0},img.onerror=()=>{console.warn(`Failed to load metallic reflection image`),reflectionImageDone=!0},img.src=reflectionImageUrl}function startQueue(eager=!1){if(queueProcessor||renderQueue.value.length===0)return;let run$1=()=>{renderQueue.value.length===0?stopQueue():activeRenders.value0||activeRenders.value>0)return!1;for(let entry of previews.value.values())if(entry.blobGenerating)return!1;return!0}function blobCleanup(){blobCleanupTimeout&&clearTimeout(blobCleanupTimeout),blobCleanupTimeout=setTimeout(()=>{if(blobCleanupTimeout=null,isSystemIdle()&&pendingBlobCleanup.size>0){for(let blobUrl of pendingBlobCleanup)URL.revokeObjectURL(blobUrl);pendingBlobCleanup.clear()}},1e3)}async function processQueue({key,paintData,opts,resolve:resolve$1,reject,aborter}){activeRenders.value++;try{let checkAborted=()=>{if(aborter.signal.aborted)throw renderCancelledError};checkAborted();let width$1=opts.width||TILE_SIZE,height$1=opts.height||TILE_SIZE,areas=calculatePaintAreas(paintData,width$1,height$1),cvs=await renderPaint(paintData,width$1,height$1,opts.radialLight||!1,areas,aborter);checkAborted();let bmp=await createImageBitmap(cvs);if(previews.value.size>=CACHE_LIMIT){let oldestKey=previews.value.keys().next().value;cleanupCacheEntry(previews.value.get(oldestKey)),previews.value.delete(oldestKey)}checkAborted(),previews.value.set(key,{bitmap:bmp,paintData,paintHash:hashPaintData(paintData),areas}),resolve$1(bmp)}catch(err){err!==renderCancelledError&&reject(err)}finally{pendingRenders.value.has(key)&&pendingRenders.value.get(key).aborter===aborter&&pendingRenders.value.delete(key),activeRenders.value--}}function getCacheKey({paintId,vehicleName,paintName,width:width$1=TILE_SIZE,height:height$1=TILE_SIZE,radialLight=!1}){if(paintId)return`paint#${paintId}@${width$1}x${height$1}${radialLight?`R`:`L`}`;if(vehicleName&&paintName)return`vehicle:${vehicleName}:${paintName}@${width$1}x${height$1}${radialLight?`R`:`L`}`;throw Error(`Either paintId or vehicleName+paintName must be provided`)}function isCached(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?!paintData||data.paintHash===hashPaintData(paintData):!1}catch{return!1}}function getCachedPreview(opts,paintData){try{let key=getCacheKey(opts),data=previews.value.get(key);return data?data.paintHash===hashPaintData(paintData)?data.bitmap:(cleanupCacheEntry(data),previews.value.delete(key),null):null}catch{return null}}async function generatePreview(paintData,opts){let key=getCacheKey(opts),paintHash=hashPaintData(paintData);if(pendingRenders.value.has(key)){let existing=pendingRenders.value.get(key);if(existing.paintHash===paintHash)return new Promise((resolve$1,reject)=>existing.others.push({resolve:resolve$1,reject}));{existing.aborter.abort(),renderQueue.value=renderQueue.value.filter(item=>!(item.key===key&&item.aborter===existing.aborter));let aborter$1=new AbortController,others$1=[...existing.others];return pendingRenders.value.set(key,{paintHash,others:others$1,aborter:aborter$1}),new Promise((resolve$1,reject)=>{others$1.push({resolve:resolve$1,reject}),renderQueue.value.unshift({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>others$1.forEach(p$1=>p$1.resolve(result)),reject:error=>others$1.forEach(p$1=>p$1.reject(error)),aborter:aborter$1}),startQueue(!0)})}}let aborter=new AbortController,others=[];return pendingRenders.value.set(key,{paintHash,others,aborter}),new Promise((resolve$1,reject)=>{others.push({resolve:resolve$1,reject}),renderQueue.value.push({key,paintData:Paint.anyToArray(paintData),opts,resolve:result=>{others.forEach(p$1=>p$1.resolve(result))},reject:error=>{others.forEach(p$1=>p$1.reject(error))},aborter}),startQueue()})}function cleanupCacheEntry(data){data&&(data.bitmap?.close?.(),data.blobUrl&&pendingBlobCleanup.add(data.blobUrl))}function onCacheClear(callback){return cacheListeners.add(callback),()=>cacheListeners.delete(callback)}function notifyCacheCleared(type=`all`,key=null){cacheListeners.forEach(callback=>{try{callback(type,key)}catch(error){console.warn(`Cache clear listener error:`,error)}})}function clearCache(opts=void 0){if(opts)try{let key=getCacheKey(opts);if(cleanupCacheEntry(previews.value.get(key)),previews.value.delete(key),pendingRenders.value.has(key)){let req=pendingRenders.value.get(key);req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError)),pendingRenders.value.delete(key)}notifyCacheCleared(`single`,key)}catch{}else stopQueue(),pendingRenders.value.forEach(req=>{req.aborter.abort(),req.others.forEach(p$1=>p$1.reject(cacheCleanedError))}),pendingRenders.value.clear(),previews.value.forEach(cleanupCacheEntry),previews.value.clear(),renderQueue.value.splice(0),activeRenders.value=0,notifyCacheCleared(`all`),startQueue();blobCleanup()}async function getPreview(paintData,opts){return getCachedPreview(opts,paintData)||await generatePreview(paintData,opts)}async function getBlobPreview(paintData,opts){let paintHash=hashPaintData(paintData),key=getCacheKey(opts),bmp=await getPreview(paintData,opts),data=previews.value.get(key);if(!data)return null;if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;for(;data.blobGenerating;)await sleep(10);if(data.blobUrl&&data.paintHash===paintHash)return data.blobUrl;data.blobGenerating=!0;let canvas=new OffscreenCanvas(opts.width||TILE_SIZE,opts.height||TILE_SIZE);canvas.getContext(`2d`).drawImage(bmp,0,0);let blobUrl=URL.createObjectURL(await canvas.convertToBlob()),oldBlobUrl=data.blobUrl;return data.blobUrl=blobUrl,delete data.blobGenerating,oldBlobUrl&&pendingBlobCleanup.add(oldBlobUrl),previews.value.has(key)?(blobCleanup(),blobUrl):(pendingBlobCleanup.add(blobUrl),blobCleanup(),null)}function getAreas(opts){let data=previews.value.get(getCacheKey(opts));return data?data.areas:[]}return{cache:previews.value,cacheSize:computed(()=>previews.value.size),isRenderingAny:computed(()=>activeRenders.value>0||renderQueue.value.length>0),queueLength:computed(()=>renderQueue.value.length),activeRenders,isCached,clearCache,onCacheClear,getCacheKey,getPreview,getBlobPreview,getAreas,checkMultipaint,toArray:Paint.anyToArray}});async function renderPaint(paintData,width$1=TILE_SIZE,height$1=TILE_SIZE,radialLight=!1,areas=null,aborter=null){if(paintData=Paint.anyToArray(paintData),!paintData)return renderEmpty(width$1,height$1,aborter);if(checkMultipaint(paintData)){let clipData=areas||calculatePaintAreas(paintData,width$1,height$1);return renderMultipaint(paintData,width$1,height$1,clipData,radialLight,aborter)}else return paintData=Array.isArray(paintData[0])?paintData[0]:paintData,renderSinglePaint(paintData,width$1,height$1,radialLight,aborter)}function createPaint(paintData){let paint={_isEmpty:!0};if(!paintData)return paint;try{paint=new Paint({paint:paintData})}catch{}return paint}function applyAntialiasing(ctx){ctx.imageSmoothingEnabled=!0,ctx.imageSmoothingQuality=`high`,ctx.antialias=!0}function calculatePaintAreas(paintData,width$1,height$1){if(!paintData||!checkMultipaint(paintData))return[[0,0,width$1,height$1]];let paintCount=paintData.length,angle=Math.tan(MULTI_ANGLE*Math.PI/180),stripeWidth=(width$1+height$1*angle)/paintCount,overlap=.5,areas=[];for(let i=0;i0?overlap:0),topRight=startX+stripeWidth+(icoords.map((coord,i)=>coord*(i%2==0?scaleX:scaleY)));for(let i=0;igrad.addColorStop(...args))}else grad=ctx.createLinearGradient(0,0,0,height$1*.65),gradStops.forEach(args=>grad.addColorStop(...args));ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),ctx.restore()}async function renderPaintLayers(ctx,paint,width$1,height$1,radialLight=!1,aborter=null){if(applyAntialiasing(ctx),ctx.fillStyle=`rgb(${(paint.rgb255||[255,255,255]).join(`, `)})`,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let grad=ctx.createLinearGradient(0,0,0,height$1);if(grad.addColorStop(0,`rgba(0, 0, 0, 0)`),grad.addColorStop(.65,`rgba(0, 0, 0, 0)`),grad.addColorStop(.8,`rgba(0, 0, 0, 0.15)`),grad.addColorStop(1,`rgba(0, 0, 0, 0.55)`),ctx.fillStyle=grad,ctx.fillRect(0,0,width$1,height$1),aborter?.signal.aborted)return;let metallic=Math.max(0,paint.metallic-paint.roughness/.5);if(metallic>.01){for(;!reflectionImageDone;){if(aborter?.signal.aborted)return;await sleep(10)}if(aborter?.signal.aborted)return;if(ctx.globalCompositeOperation=`multiply`,ctx.globalAlpha=metallic,reflectionImage){let scale=1,imageAspect=reflectionImage.width/reflectionImage.height,canvasAspect=width$1/height$1,drawWidth,drawHeight,offsetX=0,offsetY=0;imageAspect>canvasAspect?(drawHeight=height$1*1,drawWidth=height$1*imageAspect*1):(drawHeight=width$1/imageAspect*1,drawWidth=width$1*1),ctx.drawImage(reflectionImage,0,0,drawWidth,drawHeight)}else{ctx.strokeStyle=`rgba(255, 255, 255, 0.5)`,ctx.lineWidth=1;for(let x=-height$1;x({v889f200a:tileWidth.value,bee2d4dc:tileHeight.value}));let popover=usePopover(),props=__props,emit$1=__emit,mapId=uniqueId(`paint-tile-map`),menuId=uniqueId(`paint-tile-menu`),popMenu=ref(null),elCont=ref(null),elCanvas=ref(null),isLoading=ref(!1),isEmpty=ref(!1),hasRenderedOnce=ref(!1),paintPreviews=usePaintPreviews(),width$1=computed(()=>props.size||props.width),height$1=computed(()=>props.size||props.height),tileWidth=computed(()=>`${width$1.value}px`),tileHeight=computed(()=>`${height$1.value}px`),paints=computed(()=>props.paint?paintPreviews.toArray(props.paint):[]),isMultipaint=computed(()=>paintPreviews.checkMultipaint(paints.value)),paintNames=computed(()=>{let len=props.paint?.length||0;if(len===0)return[];let res=Array.from({length:len}).map((_,idx)=>({tooltip:[`ui.color.paint.unnamed`,{index:idx+1}],menu:[`ui.color.paint.selectOne`,{index:idx+1}],menuAdd:null}));if(props.paintNames?.length>0)for(let i=0;ihoveredPaintIndex.value=idx,tooltip=computed(()=>{let res={name:props.tooltip||props.paintName};return hoveredPaintIndex.value>-1&&paintNames.value[hoveredPaintIndex.value]&&(res.subname=paintNames.value[hoveredPaintIndex.value].tooltip),res}),customMenu=computed(()=>!props.customMenu||props.customMenu.length===0?null:props.customMenu.reduce((res,item,idx)=>item?[...res,{label:item.label||item,click:evt=>{popMenu.value?.hide?.(),nextTick(()=>{item.action?item.action(props.paint,evt):emit$1(`menu-click`,item.value||idx,props.paint,evt)})}}]:res,[])),withMenu=computed(()=>props.withMenu&&(paintAreas.value.length>1||customMenu.value)),opts=computed(()=>({paintId:props.paintId,vehicleName:props.vehicleName,paintName:props.paintName,width:width$1.value,height:height$1.value,radialLight:props.radialLight})),cacheKey=computed(()=>{try{return paintPreviews.getCacheKey(opts.value)}catch{return null}}),paintAreas=computed(()=>{if(!props.paint||isEmpty.value)return[];try{return paintPreviews.getAreas(opts.value)}catch{return[]}}),onContClick=evt=>onClick(-1,evt),onContRMB=()=>withMenu.value&&openMenu();function onClick(idx,evt){popMenu.value?.hide?.(),!props.disabled&&emit$1(`click`,idx,props.paint,evt)}function openMenu(){!elCont.value||!popMenu.value||(popover.hideAll(`paint-tile-menu`),!props.disabled&&popMenu.value.show(elCont.value))}async function renderPreview(){if(!cacheKey.value||!props.paint){isEmpty.value=!0,hasRenderedOnce.value=!1;return}isLoading.value=!0,isEmpty.value=!1;try{let bmp=await paintPreviews.getPreview(paints.value,opts.value);if(elCanvas.value&&bmp){let ctx=elCanvas.value.getContext(`2d`);ctx.clearRect(0,0,width$1.value,height$1.value),ctx.drawImage(bmp,0,0,width$1.value,height$1.value),hasRenderedOnce.value=!0}}catch(error){console.error(`Failed to render preview`,error),isEmpty.value=!0,hasRenderedOnce.value=!1}finally{isLoading.value=!1}}function checkEmpty(){if(!props.paint)return isEmpty.value=!0,hasRenderedOnce.value=!1,!0;if(isMultipaint.value){let allEmpty=paints.value.every(paintArray=>!paintArray||paintArray.length===0);return isEmpty.value=allEmpty,allEmpty&&(hasRenderedOnce.value=!1),allEmpty}return Array.isArray(paints.value)&&paints.value.length===0?(isEmpty.value=!0,hasRenderedOnce.value=!1,!0):(isEmpty.value=!1,!1)}watch(()=>[paints.value,props.paintId,props.vehicleName,props.paintName,width$1.value,height$1.value,props.radialLight],()=>{checkEmpty()?isLoading.value=!1:renderPreview()},{immediate:!0,deep:!0}),watch(()=>props.withAreas,val=>{val||(hoveredPaintIndex.value=-1)});let unsubscribeFromCacheClear=null,outEvents=[`click`,`contextmenu`,`uinav-focus`],listeningOutEvents=!1;function outOfMenu(evt){if(!popMenu.value||!popMenu.value.isShown())return;let el=popMenu.value.getElement();el&&el.contains(evt.detail?.target||evt.target)||nextTick(()=>popMenu.value.hide?.())}return watch(()=>popover.popovers[menuId]?.show,val=>{val?listeningOutEvents||(listeningOutEvents=!0,outEvents.forEach(evt=>document.addEventListener(evt,outOfMenu))):listeningOutEvents&&(listeningOutEvents=!1,outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu)))}),onMounted(()=>{!checkEmpty()&&renderPreview(),unsubscribeFromCacheClear=paintPreviews.onCacheClear((type,key)=>{(type===`all`||type===`single`&&key===cacheKey.value)&&!checkEmpty()&&hasRenderedOnce.value&&renderPreview()})}),onUnmounted(()=>{unsubscribeFromCacheClear?.(),listeningOutEvents&&outEvents.forEach(evt=>document.removeEventListener(evt,outOfMenu))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elCont`,ref:elCont,class:normalizeClass([`bng-paint-tile`,{loading:isLoading.value&&!hasRenderedOnce.value,empty:isEmpty.value}]),tabindex:`0`,"bng-nav-item":``,onClick:withModifiers(onContClick,[`stop`]),onContextmenu:withModifiers(onContRMB,[`stop`])},[createBaseVNode(`canvas`,{ref_key:`elCanvas`,ref:elCanvas,width:width$1.value,height:height$1.value},null,8,_hoisted_1$311),__props.withAreas&&paintAreas.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`img`,{usemap:`#${unref(mapId)}`,src:unref(emptyImage),alt:``},null,8,_hoisted_2$254),createBaseVNode(`map`,{name:unref(mapId)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(paintAreas.value,(area,index)=>(openBlock(),createElementBlock(`area`,{key:index,shape:`poly`,coords:area.join(`,`),onMouseover:$event=>onMouseOver(index),onMouseleave:_cache[0]||=$event=>onMouseOver(-1),onClick:withModifiers($event=>onClick(index,$event),[`stop`])},null,40,_hoisted_4$190))),128))],8,_hoisted_3$222)],64)):createCommentVNode(``,!0),isEmpty.value||isLoading.value&&!hasRenderedOnce.value?(openBlock(),createElementBlock(`div`,_hoisted_5$162)):createCommentVNode(``,!0),withMenu.value?(openBlock(),createBlock(unref(bngPopoverMenu_default),{key:2,ref_key:`popMenu`,ref:popMenu,name:unref(menuId),focus:``},{default:withCtx(()=>[paintNames.value.length>1?(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).menu,onClick:_cache[1]||=$event=>onClick(-1,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.selectAll`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(paintNames.value,(paint,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>onClick(index,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(...paintNames.value[index].menu))+toDisplayString(paintNames.value[index].menuAdd?`: `+paintNames.value[index].menuAdd:``),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128))],64)):withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:1,accent:unref(ACCENTS).menu,onClick:_cache[2]||=$event=>onClick(0,$event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.color.paint.select`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]]),customMenu.value?.length>0?(openBlock(!0),createElementBlock(Fragment,{key:2},renderList(customMenu.value,(item,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:index,accent:unref(ACCENTS).menu,onClick:$event=>item.click($event)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(item.label)),1)]),_:2},1032,[`accent`,`onClick`])),[[unref(BngOnUiNav_default),void 0,`ok`,{focusRequired:!0,asMouse:!0}]])),128)):createCommentVNode(``,!0)]),_:1},8,[`name`])):createCommentVNode(``,!0)],34)),[[unref(BngTooltip_default),_ctx.$tt(tooltip.value.name)+(tooltip.value.subname?` - `+_ctx.$tt(...tooltip.value.subname):``),__props.tooltipPosition],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])}},bngPaintTile_default=__plugin_vue_export_helper_default(_sfc_main$356,[[`__scopeId`,`data-v-25bf2552`]]),_hoisted_1$310=[`tabindex`],_sfc_main$355={__name:`bngPill`,props:{marked:{type:Boolean,default:!1}},setup(__props){let props=__props,attrs=useAttrs(),hasClickEvent=computed(()=>attrs&&attrs.onClick),isMarked=ref(props.marked);return watch(()=>props.marked,newValue=>isMarked.value=newValue),(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{"bng-nav-item":``,class:normalizeClass([`bng-pill`,{"pill-marked":isMarked.value,"pill-clickable":hasClickEvent.value}]),tabindex:hasClickEvent.value?0:-1},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],10,_hoisted_1$310))}},bngPill_default=__plugin_vue_export_helper_default(_sfc_main$355,[[`__scopeId`,`data-v-2d28d1ed`]]),_sfc_main$354={__name:`bngPillCheckbox`,props:{modelValue:{type:Boolean,default:null},markedIcon:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`valueChanged`,`change`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,defaultValue=ref(!1),isChecked=computed({get:()=>props.modelValue!==void 0&&props.modelValue!==null?props.modelValue:defaultValue.value,set:newValue=>{props.modelValue!==void 0&&props.modelValue!==null?notifyListeners(newValue):(defaultValue.value=newValue,emit$1(`valueChanged`,newValue),emit$1(`change`,newValue))}}),onChecked=()=>isChecked.value=!isChecked.value;function notifyListeners(value){emit$1(`update:modelValue`,value),emit$1(`change`,value),emit$1(`valueChanged`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`bng-pill-checkbox`,{"show-icon":isChecked.value&&props.markedIcon}])},[createVNode(unref(bngPill_default),{marked:isChecked.value,onClick:onChecked,onKeyup:withKeys(onChecked,[`space`])},{default:withCtx(()=>[createBaseVNode(`span`,{class:normalizeClass({"pill-content":!0,"uses-mark":__props.markedIcon})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2),createVNode(unref(bngIcon_default),{class:`pill-mark-icon`,type:props.markedIcon===!0?unref(icons).checkmark:props.markedIcon||unref(icons).checkmark},null,8,[`type`])]),_:3},8,[`marked`])],2))}},bngPillCheckbox_default=__plugin_vue_export_helper_default(_sfc_main$354,[[`__scopeId`,`data-v-04487830`]]),_hoisted_1$309={class:`bng-pill-filters`,tabindex:`0`},_sfc_main$353={__name:`bngPillFilters`,props:{modelValue:Array,options:{type:Array,required:!0},selectOnFocus:Boolean,selectMany:Boolean,showCheckIcon:{type:Boolean,default:!0},required:Boolean},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit;__expose({focusPrevious,focusNext,toggleFocusedPill,focusIndex});let scrollable=ref(null),pills=ref([]),currentPillIndex=ref(-1),defaultSelected=ref([]),selectedValues=computed({get:()=>props.modelValue?props.modelValue:defaultSelected.value,set:newValue=>{props.modelValue?(emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue)):(defaultSelected.value=newValue,emit$1(`valueChanged`,newValue))}}),pillConfigs=computed(()=>toRaw(props.options).map(x=>({...x,selected:selectedValues.value&&selectedValues.value.length>0&&selectedValues.value.includes(x.value)})));function focusPrevious(){currentPillIndex.value=currentPillIndex.value>0?currentPillIndex.value-1:0,pills.value[currentPillIndex.value].querySelector(`.bng-pill`).focus(),console.log(`currentPillIndex.value`,currentPillIndex.value)}function focusNext(){currentPillIndex.value{scrollable.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),scrollable.value.scrollLeft+=evt.deltaY}),currentPillIndex.value=selectedValues.value.length>0?pillConfigs.value.findIndex(x=>x.value===selectedValues.value[0]):-1,currentPillIndex.value>-1&&focusPill(currentPillIndex.value)});let onPillValueChanged=(key,value)=>{props.selectOnFocus||(console.log(`onPillValueChanged`,key,value),setPillValue(key,value))},onPillFocusIn=(key,index)=>{focusPill(index),props.selectOnFocus&&setPillValue(key,!(selectedValues.value.length>0&&selectedValues.value.includes(key)))};function setPillValue(key,checked){if(currentPillIndex.value=pillConfigs.value.findIndex(x=>x.value===key),props.required&&!checked&&selectedValues.value.includes(key)&&selectedValues.value.length==1){selectedValues.value=[key];return}if(!props.selectMany){selectedValues.value=checked?[key]:[];return}let isExisting=selectedValues.value.includes(key);checked&&!isExisting?selectedValues.value=[...selectedValues.value,key]:!checked&&isExisting&&(selectedValues.value=selectedValues.value.filter(x=>x!==key))}function focusPill(index){let pillEl=pills.value[index],scrollableRect=scrollable.value.getBoundingClientRect(),pillRect=pillEl.getBoundingClientRect();pillRect.left>=scrollableRect.left&&pillRect.right<=scrollableRect.right||window.requestAnimationFrame(()=>{scrollable.value.scrollBy({left:pillEl.getBoundingClientRect().right})})}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$309,[createBaseVNode(`div`,{class:`pills-wrapper`,ref_key:`scrollable`,ref:scrollable},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pillConfigs.value,(pill,index)=>(openBlock(),createElementBlock(`div`,{key:pill.value,ref_for:!0,ref_key:`pills`,ref:pills,class:`pill-wrapper`},[createVNode(unref(bngPillCheckbox_default),{markedIcon:__props.showCheckIcon,modelValue:pill.selected,"onUpdate:modelValue":$event=>pill.selected=$event,onValueChanged:value=>onPillValueChanged(pill.value,value),onFocusin:$event=>onPillFocusIn(pill.value,index)},{default:withCtx(()=>[createTextVNode(toDisplayString(pill.label),1)]),_:2},1032,[`markedIcon`,`modelValue`,`onUpdate:modelValue`,`onValueChanged`,`onFocusin`])]))),128))],512)]))}},bngPillFilters_default=__plugin_vue_export_helper_default(_sfc_main$353,[[`__scopeId`,`data-v-580a9eac`]]),_sfc_main$352={__name:`bngPillFiltersContainer`,props:{options:{type:Array,required:!0},selectOnNavigation:{type:Boolean,default:!0},required:Boolean,selectMany:Boolean,hasCheckedIcon:{default:!0,type:Boolean}},emits:[`update:modelValue`,`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let emit$1=__emit,props=__props,selectedItems=ref([]),bngFiltersContainer=ref(null),filtersContainer=ref(null),bngPillFiltersRef=ref(null);__expose({selectPrevious:()=>bngPillFiltersRef.value.selectPrevious(),selectNext:()=>bngPillFiltersRef.value.selectNext(),selectCurrent:()=>bngPillFiltersRef.value.selectCurrent(),focusAndScrollToSelected:focusSelected});let selectedItemId=``;onMounted(()=>{filtersContainer.value.addEventListener(`wheel`,evt=>{evt.preventDefault(),filtersContainer.value.scrollLeft+=evt.deltaY})});function focusSelected(){props.selectMany||!props.selectOnNavigation||scrollToElement(selectedItemId)}function onContainerFocusOut($event){!($event.relatedTarget&&bngFiltersContainer.value.contains($event.relatedTarget))&&!props.selectMany&&selectedItemId&&scrollToElement(selectedItemId)}function onValueChanged(items$2,id){selectedItems.value=items$2,selectedItemId=id,emit$1(`valueChanged`,items$2,id)}function onPillItemFocusIn(id){scrollToElement(id)}function scrollToElement(id){let scrollableContainer=filtersContainer.value,el=scrollableContainer.querySelector(`#${id}`);if(el){let scrollableContainerRect=scrollableContainer.getBoundingClientRect(),itemRect=el.getBoundingClientRect();if(itemRect.left>=scrollableContainerRect.left&&itemRect.right<=scrollableContainerRect.right)return;window.requestAnimationFrame(()=>{let scrollValue=itemRect.left(openBlock(),createElementBlock(`div`,{class:`bng-filters-container`,ref_key:`bngFiltersContainer`,ref:bngFiltersContainer,tabindex:`0`,onFocusout:onContainerFocusOut},[_cache[0]||=createBaseVNode(`div`,{class:`fade-effect left-fade-effect`},null,-1),_cache[1]||=createBaseVNode(`div`,{class:`fade-effect right-fade-effect`},null,-1),createBaseVNode(`div`,{class:`scroll-container`,ref_key:`filtersContainer`,ref:filtersContainer},[createVNode(unref(bngPillFilters_default),{ref_key:`bngPillFiltersRef`,ref:bngPillFiltersRef,options:__props.options,"select-on-navigation":__props.selectOnNavigation,required:__props.required,"select-many":__props.selectMany,"show-checked-icon":__props.hasCheckedIcon,onValueChanged,onPillItemFocusIn},null,8,[`options`,`select-on-navigation`,`required`,`select-many`,`show-checked-icon`])],512)],544))}},bngPillFiltersContainer_default=__plugin_vue_export_helper_default(_sfc_main$352,[[`__scopeId`,`data-v-498af92b`]]),_hoisted_1$308=[`data-bng-popover-name`],containerSelector=`.popover-container`,_sfc_main$351={__name:`bngPopoverContent`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,placement:String,disabled:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,popover=usePopover(),popoverName,popoverContent=ref(null),arrow$3=ref(null),show=ref(!1),unwatchShow,unwatchPlacement,teleportTargetExists=ref(!1),observer$2=null,scopeActivated=ref(!1),isRender=computed(()=>!props.disabled&&teleportTargetExists.value&&show.value),hide$2=()=>!props.disabled&&popover.hide(popoverName),expose={hide:hide$2,show:(el=void 0)=>!props.disabled&&popover.show(popoverName,el),toggle:(forceVal=void 0)=>popover.toggle(popoverName,!props.disabled&&forceVal),isShown:()=>popover.isShown(popoverName)};__expose(expose),watch(()=>show.value,value=>emit$1(value?`show`:`hide`,{name:props.name,...expose})),watch(()=>props.name,(newName,oldName)=>{oldName&&disposePopover(oldName),props.disabled||setupPopover()},{immediate:!0}),watch(()=>props.disabled,value=>{value?(popover.hide(popoverName),disposePopover(popoverName)):setupPopover()}),watch(isRender,async value=>{value&&(await nextTick(),checkSlotContent())});let onMenu=()=>{scopeActivated.value=!1};onBeforeUnmount(()=>{disposePopover(popoverName),observer$2&&=(observer$2.disconnect(),null)}),onMounted(async()=>{teleportTargetExists.value=!!document.querySelector(containerSelector),teleportTargetExists.value||(observer$2=new MutationObserver(()=>{!teleportTargetExists.value&&document.querySelector(containerSelector)&&(teleportTargetExists.value=!0,observer$2.disconnect(),observer$2=null)}),observer$2.observe(document.body,{childList:!0,subtree:!0})),isRender.value&&(await nextTick(),checkSlotContent())});function onScopeChanged(activated,event){scopeActivated.value=activated,!activated&&!event.detail.force&&popover.hide(popoverName)}function checkSlotContent(){let navigableElements=popoverContent.value.querySelectorAll(NAVIGABLE_ELEMENTS_SELECTOR);navigableElements&&navigableElements.length>0&&!scopeActivated.value&&(scopeActivated.value=!0)}function setupPopover(){popoverName=props.name||uniqueId(`bng-popover-content`);let res=popover.register(popoverName,popoverContent,props.placement,{arrow:props.hideArrow?void 0:arrow$3,offset:props.offset});res&&(unwatchShow=watch(res.show,value=>show.value=value),unwatchPlacement=watch(res.placement,placement=>emit$1(`placementChanged`,placement)))}function disposePopover(name){unwatchShow&&=(unwatchShow(),null),unwatchPlacement&&=(unwatchPlacement(),null),popover.unregister(name),show.value=!1,popoverName=null}return(_ctx,_cache)=>isRender.value?(openBlock(),createBlock(Teleport,{key:0,to:`.popover-container`},[withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`popoverContent`,ref:popoverContent,"data-bng-popover-name":unref(popoverName),class:`bng-popover`,onActivate:_cache[0]||=$event=>onScopeChanged(!0,$event),onDeactivate:_cache[1]||=$event=>onScopeChanged(!1,$event)},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0),__props.hideArrow?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,{key:0,ref_key:`arrow`,ref:arrow$3,class:`bng-popover-arrow`},null,512))],40,_hoisted_1$308)),[[unref(BngScopedNav_default),{activated:scopeActivated.value,type:unref(SCOPED_NAV_TYPES).popover}],[unref(BngOnUiNav_default),onMenu,`menu`]])])):createCommentVNode(``,!0)}},bngPopoverContent_default=__plugin_vue_export_helper_default(_sfc_main$351,[[`__scopeId`,`data-v-4938e558`]]),_sfc_main$350=Object.assign({inheritAttrs:!1},{__name:`bngPopoverMenu`,props:{name:String,offset:{type:Number,default:4},hideArrow:Boolean,disabled:Boolean,focus:Boolean},emits:[`show`,`hide`,`placementChanged`],setup(__props,{expose:__expose,emit:__emit}){let popover=usePopover(),props=__props,emit$1=__emit,relay={show:(...args)=>emit$1(`show`,...args),hide:(...args)=>emit$1(`hide`,...args),placementChanged:(...args)=>emit$1(`placementChanged`,...args)},popoverContent=ref(null),popoverMenu=ref(null),hide$2=(...args)=>popoverContent.value.hide(...args);return __expose({hide:hide$2,show:(...args)=>popoverContent.value.show(...args),toggle:(...args)=>popoverContent.value.toggle(...args),isShown:(...args)=>popoverContent.value.isShown(...args),getElement:()=>popoverMenu.value}),watchEffect(()=>{if(props.name in popover.popovers){let pop=popover.popovers[props.name];!pop.show&&nextTick(()=>{pop.target&&document.activeElement===document.body&&setFocusExternal(pop.target,!0,!1)})}}),(_ctx,_cache)=>(openBlock(),createBlock(unref(bngPopoverContent_default),{ref_key:`popoverContent`,ref:popoverContent,name:__props.name,offset:__props.offset,"hide-arrow":__props.hideArrow,disabled:__props.disabled,onPlacementChanged:relay.placementChanged,onHide:hide$2},{default:withCtx(()=>[createBaseVNode(`div`,{ref_key:`popoverMenu`,ref:popoverMenu,class:`bng-popover-menu`},[renderSlot(_ctx.$slots,`default`,{hide:hide$2},void 0,!0)],512)]),_:3},8,[`name`,`offset`,`hide-arrow`,`disabled`,`onPlacementChanged`]))}}),bngPopoverMenu_default=__plugin_vue_export_helper_default(_sfc_main$350,[[`__scopeId`,`data-v-fe39553c`]]),_hoisted_1$307={class:`bng-progress-bar`},_hoisted_2$253={key:0,class:`header`},_hoisted_3$221={class:`header-left`},_hoisted_4$189={class:`header-right`},_hoisted_5$161={class:`progress-bar`},_hoisted_6$139=[`innerHTML`],_hoisted_7$121={key:1,class:`progress-fill-indeterminate`},_sfc_main$349={__name:`bngProgressBar`,props:{value:{type:Number,default:0},oldValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,required:!0},headerLeft:String,headerRight:String,showValueLabel:{type:Boolean,default:!0},valueLabelFormat:{type:[String,Function],default:`#value#`},valueColor:{type:String,default:`#ff6600`},oldValueColor:{type:String,default:`#ffffff`},indeterminate:Boolean,animateDifference:Boolean,gradient:Boolean},setup(__props,{expose:__expose}){useCssVars(_ctx=>({v5113e7b0:__props.valueColor,v14406f01:progressFillUnits.value,v6b373656:oldProgressFillUnits.value}));let props=__props;__expose({decreaseValueBy,increaseValueBy,setValue:value=>updateCurrentValue(value)});let currentValue=ref(null),valueHTML=computed(()=>{let res;return res=typeof props.valueLabelFormat==`function`?props.valueLabelFormat(props.value,{min:props.min,max:props.max}):props.valueLabelFormat.replace(/ +/g,` `).replace(`#value#`,`${currentValue.value}${props.max}`),res}),progressFillUnits=computed(()=>1-(currentValue.value-props.min)/(props.max-props.min)),oldProgressFillUnits=computed(()=>1-(props.oldValue-props.min)/(props.max-props.min));watch(()=>props.value,updateCurrentValue),onMounted(()=>{updateCurrentValue(props.min>props.value?props.min:props.value)});function decreaseValueBy(value){let newValue=currentValue.value-value;newValueprops.max&&(newValue=props.max),updateCurrentValue(newValue)}function updateCurrentValue(newValue){currentValue.value=newValue}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$307,[__props.headerLeft||__props.headerRight?(openBlock(),createElementBlock(`div`,_hoisted_2$253,[createBaseVNode(`span`,_hoisted_3$221,toDisplayString(__props.headerLeft),1),createBaseVNode(`span`,_hoisted_4$189,toDisplayString(__props.headerRight),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$161,[__props.showValueLabel?(openBlock(),createElementBlock(`div`,{key:0,class:`info`,innerHTML:valueHTML.value},null,8,_hoisted_6$139)):createCommentVNode(``,!0),__props.indeterminate?(openBlock(),createElementBlock(`span`,_hoisted_7$121)):(openBlock(),createElementBlock(`span`,{key:2,class:normalizeClass({"progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value>__props.oldValue}),style:normalizeStyle({backgroundColor:__props.valueColor,zIndex:__props.value<__props.oldValue?2:1})},null,6)),__props.oldValue?(openBlock(),createElementBlock(`span`,{key:3,class:normalizeClass({"second-progress-fill":!0,"progress-fill-gradient":__props.gradient,"animate-progress":__props.animateDifference&&__props.value<__props.oldValue}),style:normalizeStyle({backgroundColor:__props.oldValueColor,zIndex:__props.value<__props.oldValue?1:2})},null,6)):createCommentVNode(``,!0)])]))}},bngProgressBar_default=__plugin_vue_export_helper_default(_sfc_main$349,[[`__scopeId`,`data-v-1ca6aacd`]]);function shrinkNum(num,decimals=0){let units=[``,`K`,`M`,`B`,`T`,`Q`];if(!num)return`0`;if(isNaN(parseFloat(num))||!isFinite(+num))return`n/a`;let power$1=Math.floor(Math.log(Math.abs(+num))/Math.log(1e3));return power$1>=units.length&&(power$1=units.length-1),(num/1e3**power$1).toFixed(decimals).replace(/\.0+$/,``)+units[power$1]}var _hoisted_1$306={key:1,class:`key-label`},_hoisted_2$252={class:`value-label`},_sfc_main$348={__name:`bngPropVal`,props:{iconType:[String,Object],keyLabel:String,valueLabel:{required:!0},shrinkNum:Boolean,iconColor:{type:String,default:`#fff`},noGap:{type:Boolean,default:!1},noIcon:{type:Boolean,default:!1}},setup(__props){let props=__props,itemClass=computed(()=>({"info-item":!0,"with-icon":props.iconType,"no-key":!props.keyLabel,"no-gap":props.noGap})),value=computed(()=>{let i=props.valueLabel;return props.shrinkNum?shrinkNum(i,0):i});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass(itemClass.value)},[__props.iconType&&!__props.noIcon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,class:`icon`,type:__props.iconType,color:__props.iconColor},null,8,[`type`,`color`])):createCommentVNode(``,!0),__props.keyLabel?(openBlock(),createElementBlock(`span`,_hoisted_1$306,toDisplayString(__props.keyLabel),1)):createCommentVNode(``,!0),createBaseVNode(`span`,_hoisted_2$252,toDisplayString(value.value),1)],2))}},bngPropVal_default=__plugin_vue_export_helper_default(_sfc_main$348,[[`__scopeId`,`data-v-fa2e2062`]]),_hoisted_1$305={class:`header`},_sfc_main$347={__name:`bngScreenHeading`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`line`,validator:v=>[`line`,`ribbon`].includes(v)||v===``}},setup(__props){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[preheadings.value?withDirectives((openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`pre-header`,{"with-divider":__props.divider}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(preheadings.value,preheading=>(openBlock(),createElementBlock(`span`,{class:`location`,key:preheading},toDisplayString(preheading),1))),128))],2)),[[unref(BngBlur_default),blurVal.value]]):createCommentVNode(``,!0),withDirectives((openBlock(),createElementBlock(`h1`,_hoisted_1$305,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeading_default=__plugin_vue_export_helper_default(_sfc_main$347,[[`__scopeId`,`data-v-f6d9f077`]]),_hoisted_1$304={class:`header`},_hoisted_2$251={key:0,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 32 40`,preserveAspectRatio:`none`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_3$220={key:1,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_hoisted_4$188={key:2,class:`decorator-item`,width:`100%`,height:`100%`,viewBox:`0 0 36 40`,preserveAspectRatio:`xMaxYMid slice`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},_sfc_main$346={__name:`bngScreenHeadingV2`,props:{blurDelay:Number,preheadings:Array,divider:Boolean,type:{type:String,default:`1`,validator:v=>[`1`,`2`,`3`].includes(v)||v===``},hintVisible:Boolean,hintLabel:String,hintIcon:String,hintAccent:String,hintBindingEvent:String},emits:[`hint`],setup(__props,{emit:__emit}){let blurVal=ref(!1);onMounted(()=>window.setTimeout(()=>blurVal.value=!0,~~+props.blurDelay));let props=__props,preheadings=computed(()=>Array.isArray(props.preheadings)&&props.preheadings.length>0?props.preheadings:null);return computed(()=>props.hintVisible??!1),computed(()=>props.hintLabel??``),computed(()=>props.hintIcon??icons.arrowLargeLeft),computed(()=>props.hintAccent??ACCENTS.outlined),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`bng-screen-heading`,{[`heading-style-${__props.type}`]:!0,prehead:preheadings.value}])},[renderSlot(_ctx.$slots,`preheadings`,{},void 0,!0),withDirectives((openBlock(),createElementBlock(`span`,_hoisted_1$304,[createBaseVNode(`div`,{class:normalizeClass(`decorator type${__props.type}`)},[__props.type===`1`?(openBlock(),createElementBlock(`svg`,_hoisted_2$251,[..._cache[0]||=[createBaseVNode(`path`,{d:`M16.6328 40H1.62891L14.0039 6H14.002L11.8174 0H26.8174L29.001 6H29.0078L16.6328 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`2`?(openBlock(),createElementBlock(`svg`,_hoisted_3$220,[..._cache[1]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0),__props.type===`3`?(openBlock(),createElementBlock(`svg`,_hoisted_4$188,[..._cache[2]||=[createBaseVNode(`path`,{d:`M18.6366 0H34.0094L26.73 20H11.3572L18.6366 0Z`,fill:`#DA5706`},null,-1),createBaseVNode(`path`,{d:`M19.4504 40H4.07812L11.3572 20L4.07812 0H19.4504L26.7295 20L19.4504 40Z`,fill:`var(--bng-orange-400)`},null,-1)]])):createCommentVNode(``,!0)],2),createBaseVNode(`h1`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])])),[[unref(BngBlur_default),blurVal.value]])],2))}},bngScreenHeadingV2_default=__plugin_vue_export_helper_default(_sfc_main$346,[[`__scopeId`,`data-v-4854a8bd`]]),_hoisted_1$303={class:`label select`},_hoisted_2$250={class:`bng-select-indicator`},_sfc_main$345={__name:`bngSelect`,props:mergeModels({value:void 0,options:{type:Array,required:!0},config:{type:Object,default:()=>({value:opt=>opt,label:opt=>opt})},loop:Boolean,labelClickable:Boolean,labelPopover:String,disabled:Boolean,navLeftEvent:{type:String,default:`focus_l`},navRightEvent:{type:String,default:`focus_r`}},{modelValue:{type:[Object,Boolean,Number,String],default:void 0},modelModifiers:{}}),emits:mergeModels([`change`,`valueChanged`,`label-click`],[`update:modelValue`]),setup(__props,{expose:__expose,emit:__emit}){let leftBinding=ref(),rightBinding=ref(),vModel=useModel(__props,`modelValue`),props=__props,elContainer=ref(),elContent=ref(),findOptionValue=(valueToFind,opts)=>Math.max(0,opts.findIndex(opt=>props.config.value(opt)===valueToFind)),index=ref(getInitialValue()),current=computed(()=>({option:props.options[index.value],value:props.config.value(props.options[index.value]),label:props.config.label(props.options[index.value])})),leftIconClass=computed(()=>({"with-binding":leftBinding.value?.displayed})),rightIconClass=computed(()=>({"with-binding":rightBinding.value?.displayed})),isLeftDisabled=props.loop?!1:computed(()=>index.value==0),isRightDisabled=props.loop?!1:computed(()=>index.value==props.options.length-1),emit$1=__emit,goPrev=()=>{!props.disabled&&!isLeftDisabled.value&&changeIndex(-1)},goNext=()=>{!props.disabled&&!isRightDisabled.value&&changeIndex(1)};__expose({goNext,goPrev,getElement:()=>elContainer.value,getContentElement:()=>elContent.value}),watch(()=>props.value,()=>index.value=props.value!==null&&props.value!==void 0?findOptionValue(props.value,props.options):0),watch(vModel,val=>index.value=val==null?0:findOptionValue(val,props.options)),watch(()=>index.value,updateValue);function updateValue(){emit$1(`valueChanged`,current.value.value,current.value.label,current.value.option),emit$1(`change`,current.value.value,current.value.label,current.value.option),vModel.value=current.value.value}function changeIndex(offset$2){props.loop?index.value=(props.options.length+index.value+offset$2)%props.options.length:index.value=clamp(index.value+offset$2,0,props.options.length-1)}function getInitialValue(){return vModel.value!==null&&vModel.value!==void 0?findOptionValue(vModel.value,props.options):`value`in props?findOptionValue(props.value,props.options):0}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContainer`,ref:elContainer,class:`bng-select`,"bng-nav-item":``},[renderSlot(_ctx.$slots,`previousButton`,{click:goPrev,disabled:unref(isLeftDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isLeftDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`previous-btn`,onClick:goPrev},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:leftBinding.value?.displayed?unref(icons).arrowSmallLeft:unref(icons).arrowLargeLeft,class:normalizeClass(leftIconClass.value)},null,8,[`type`,`class`]),__props.navLeftEvent&&__props.navLeftEvent!==`focus_l`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`leftBinding`,ref:leftBinding,uiEvent:__props.navLeftEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0)]),_:1},8,[`disabled`,`accent`,`mute`])],!0),withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`elContent`,ref:elContent,class:normalizeClass([`bng-select-content`,{"label-clickable":__props.labelClickable}]),onClick:_cache[0]||=withModifiers($event=>__props.labelClickable&&emit$1(`label-click`),[`stop`])},[renderSlot(_ctx.$slots,`display`,{label:current.value.label,value:current.value.value},()=>[createBaseVNode(`span`,_hoisted_1$303,toDisplayString(current.value.label),1),_cache[1]||=createBaseVNode(`label`,{flavour:``},null,-1)],!0)],2)),[[unref(BngSoundClass_default),!__props.disabled&&__props.labelClickable&&`bng_click_hover_generic`],[unref(BngPopover_default),__props.labelPopover,`bottom`,{click:!0}]]),renderSlot(_ctx.$slots,`nextButton`,{click:goNext,disabled:unref(isRightDisabled)},()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,disabled:__props.disabled||unref(isRightDisabled),accent:unref(ACCENTS).text,mute:_ctx.$attrs.mute,"data-testid":`next-btn`,onClick:goNext},{default:withCtx(()=>[__props.navRightEvent&&__props.navRightEvent!==`focus_r`?(openBlock(),createBlock(unref(bngBinding_default),{key:0,ref_key:`rightBinding`,ref:rightBinding,uiEvent:__props.navRightEvent,controller:``},null,8,[`uiEvent`])):createCommentVNode(``,!0),createVNode(unref(bngIcon_default),{type:rightBinding.value?.displayed?unref(icons).arrowSmallRight:unref(icons).arrowLargeRight,class:normalizeClass(rightIconClass.value)},null,8,[`type`,`class`])]),_:1},8,[`disabled`,`accent`,`mute`])],!0),createBaseVNode(`div`,_hoisted_2$250,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.options.length,idx=>(openBlock(),createElementBlock(`div`,{key:idx,class:normalizeClass({active:idx-1===index.value})},null,2))),128))])])),[[unref(BngOnUiNav_default),goPrev,__props.navLeftEvent,{focusRequired:!0}],[unref(BngOnUiNav_default),goNext,__props.navRightEvent,{focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSelect_default=__plugin_vue_export_helper_default(_sfc_main$345,[[`__scopeId`,`data-v-d1cacb72`]]),_hoisted_1$302={class:`bng-simple-graph`},_hoisted_2$249={key:0,class:`y-axis`},_hoisted_3$219={class:`y-values`},_hoisted_4$187={class:`max-value`},_hoisted_5$160={class:`axis-label`},_hoisted_6$138={key:0,class:`unit`},_hoisted_7$120={class:`min-value`},_hoisted_8$100={viewBox:`0 0 100 100`,preserveAspectRatio:`none`,class:`graph-svg`},_hoisted_9$90=[`width`,`height`],_hoisted_10$78=[`d`,`stroke`],_hoisted_11$70=[`d`,`stroke`],_hoisted_12$58=[`width`,`height`],_hoisted_13$50=[`d`,`stroke`],_hoisted_14$45=[`d`,`stroke`],_hoisted_15$43={key:0,width:`100`,height:`100`,fill:`url(#subgrid)`},_hoisted_16$40={class:`grid`},_hoisted_17$33=[`y1`,`y2`,`stroke`],_hoisted_18$30={class:`background-ranges`},_hoisted_19$25=[`x`,`width`,`fill`,`stroke`,`opacity`],_hoisted_20$21={class:`vertical-guides`},_hoisted_21$19=[`x1`,`x2`,`stroke`,`opacity`],_hoisted_22$17=[`x1`,`x2`],_hoisted_23$16=[`d`,`fill`,`opacity`],_hoisted_24$15=[`d`,`stroke`],_hoisted_25$14={key:2,class:`x-axis`},_hoisted_26$12={class:`x-values`},_hoisted_27$12={class:`min-value`},_hoisted_28$11={class:`axis-label`},_hoisted_29$11={key:0,class:`unit`},_hoisted_30$10={class:`max-value`},_sfc_main$344={__name:`bngSimpleGraph`,props:{config:{type:Object,default:()=>({showLabels:!1,xAxis:{key:`x`,label:`X Axis`,unit:``},yAxis:{key:`y`,label:`Y Axis`,unit:``}})},points:{type:Array,default:()=>[]},gridColor:{type:String,default:`var(--bng-ter-blue-gray-500)`},backgroundColor:{type:String,default:`rgba(0, 0, 0, 0.1)`},currentX:{type:Number,default:null},verticalGuides:{type:Array,default:()=>[]},ranges:{type:Array,default:()=>[]},gridDivisions:{type:Array,default:()=>[50,20]},subgridDivider:{type:Number,default:2},showSubgrid:{type:Boolean,default:!0},singleLabel:{type:Object,default:null}},setup(__props){useCssVars(_ctx=>({v194c2663:__props.config.showLabels?`2rem`:`0`,fdb9891e:__props.backgroundColor}));let props=__props,gridSizes=computed(()=>({x:100/props.gridDivisions[0],y:100/props.gridDivisions[1]})),xScale=computed(()=>{if(props.config?.xAxis?.min!==void 0&&props.config?.xAxis?.max!==void 0){let range$1=props.config.xAxis.max-props.config.xAxis.min;return{min:props.config.xAxis.min,max:props.config.xAxis.max,range:range$1===0?1:range$1}}if(!props.points.length)return{min:0,max:1,range:1};let xValues=[...props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[0])),...(props.verticalGuides||[]).map(guide=>guide?.x),...(props.ranges||[]).map(range$1=>range$1?.start),...(props.ranges||[]).map(range$1=>range$1?.end)].filter(val=>val!=null&&isFinite(val));if(xValues.length===0)return{min:0,max:1,range:1};let min$1=Math.min(...xValues),max$1=Math.max(...xValues);if(!isFinite(min$1)||!isFinite(max$1))return{min:0,max:1,range:1};let range=max$1-min$1;return{min:min$1,max:max$1,range:range===0?1:range}}),getXPosition=value=>{if(value==null||!isFinite(value))return 0;let result=(value-xScale.value.min)/xScale.value.range*100;return isFinite(result)?result:0},datasetPaths=computed(()=>!props.points.length||!xScale.value?[]:props.points.map(dataset=>{if(!dataset.points||!Array.isArray(dataset.points)||dataset.points.length===0)return{datasetId:dataset.label||`unknown`,linePath:``,areaPath:``};let linePoints=dataset.points.map((point,index)=>{if(!point||point.length<2)return``;let x=getXPosition(point[0]),y=getYPosition(point[1]);return`${index===0?`M`:`L`} ${x} ${y}`}).filter(p$1=>p$1).join(` `),areaPoints=dataset.points.map(point=>!point||point.length<2?``:`L ${getXPosition(point[0])} ${getYPosition(point[1])}`).filter(p$1=>p$1).join(` `),areaPath=``;if(dataset.fill&&dataset.points.length>0){let firstPoint=dataset.points[0],lastPoint=dataset.points[dataset.points.length-1];firstPoint&&lastPoint&&firstPoint.length>=2&&lastPoint.length>=2&&(areaPath=`M -5 105 L -5 ${getYPosition(firstPoint[1])} ${areaPoints} L 105 ${getYPosition(lastPoint[1])} L 105 105 Z`)}return{datasetId:dataset.label||`unknown`,linePath:linePoints,areaPath}})),getLinePathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.linePath:``},getAreaPathForDataset=dataset=>{let path=datasetPaths.value.find(p$1=>p$1.datasetId===dataset.label);return path?path.areaPath:``},getYPosition=value=>{if(value==null||!isFinite(value))return 50;let yMin=yBounds.value.min,yMax=yBounds.value.max;if(yMin==null||yMax==null||!isFinite(yMin)||!isFinite(yMax)||yMin===yMax)return 50;if(yMin>=0||yMax<=0){let yRange$1=yMax-yMin;if(yRange$1===0)return 50;let result$1=97.5-(value-yMin)/yRange$1*95;return isFinite(result$1)?result$1:50}let yRange=Math.max(Math.abs(yMin),Math.abs(yMax));if(yRange===0)return 50;let totalRange=Math.abs(yMin)+Math.abs(yMax);if(totalRange===0)return 50;let zeroLinePosition=Math.abs(yMin)/totalRange*95+2.5,result;return result=value>=0?zeroLinePosition-value/yRange*(zeroLinePosition-2.5):zeroLinePosition+Math.abs(value)/yRange*(97.5-zeroLinePosition),isFinite(result)?result:50},formatNumber=num=>num==null||!isFinite(num)?`0`:Math.floor(num).toString(),yBounds=computed(()=>{if(props.config?.yAxis?.min!==void 0&&props.config?.yAxis?.max!==void 0)return{min:props.config.yAxis.min,max:props.config.yAxis.max};if(!props.points.length)return{min:0,max:0};let allYValues=props.points.flatMap(dataset=>(dataset.points||[]).map(point=>point&&point[1])).filter(val=>val!=null&&isFinite(val));if(allYValues.length===0)return{min:0,max:1};let min$1=Math.min(...allYValues),max$1=Math.max(...allYValues);return!isFinite(min$1)||!isFinite(max$1)?{min:0,max:1}:{min:min$1,max:max$1}}),xMinFormatted=computed(()=>formatNumber(xScale.value?.min||0)),xMaxFormatted=computed(()=>formatNumber(xScale.value?.max||0)),yMinFormatted=computed(()=>formatNumber(yBounds.value.min)),yMaxFormatted=computed(()=>formatNumber(yBounds.value.max)),hasNegativeValues=computed(()=>yBounds.value.min<0),getLabelPosition=()=>{if(!props.singleLabel)return{x:0,y:0,anchor:`start`};let labelX=props.singleLabel.x===void 0?95:getXPosition(props.singleLabel.x),labelY=props.singleLabel.y===void 0?50:getYPosition(props.singleLabel.y),adjustedY=labelY>=25?labelY+4:labelY-2,anchor=labelX>=80?`end`:`start`;return{x:anchor===`end`?Math.min(labelX,98):Math.max(labelX,2),y:adjustedY,anchor}},getLabelStyle=()=>{if(!props.singleLabel)return{};let basePos=getLabelPosition(),estimatedWidth=props.singleLabel.text.length*6.5+6,estimatedHeight=18,containerWidth=300,containerHeight=80,pixelX=basePos.x/100*300,pixelY=basePos.y/100*80,finalX=basePos.x,finalY=basePos.y,anchor=basePos.anchor,verticalAlign=`middle`;anchor===`start`?pixelX+estimatedWidth>290&&(anchor=`end`):pixelX-estimatedWidth<10&&(anchor=`start`);let minGapFromPoint=4,topBuffer=8,bottomBuffer=8,wouldOverflowTop=pixelY-18/2<8;if(pixelY+18/2>72)verticalAlign=`bottom`,finalY=Math.max(basePos.y-4,15);else if(wouldOverflowTop)verticalAlign=`top`,finalY=Math.min(basePos.y+4,85);else{let pointY=basePos.y;pointY>75?(verticalAlign=`bottom`,finalY=pointY-4):pointY<25?(verticalAlign=`top`,finalY=pointY+4):(verticalAlign=`bottom`,finalY=pointY-4)}let transformX=`translateX(0)`,transformY=`translateY(-50%)`;return anchor===`end`&&(transformX=`translateX(-100%)`),verticalAlign===`bottom`?transformY=`translateY(-100%)`:verticalAlign===`top`&&(transformY=`translateY(0)`),{position:`absolute`,left:`${finalX}%`,top:`${finalY}%`,transform:`${transformX} ${transformY}`,color:props.singleLabel.color||`var(--bng-orange)`,fontSize:`11px`,fontFamily:`sans-serif`,pointerEvents:`none`,whiteSpace:`nowrap`}};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$302,[__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_2$249,[createBaseVNode(`div`,_hoisted_3$219,[createBaseVNode(`div`,_hoisted_4$187,toDisplayString(yMaxFormatted.value),1),createBaseVNode(`div`,_hoisted_5$160,[createTextVNode(toDisplayString(__props.config.yAxis.label)+` `,1),__props.config.yAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_6$138,`(`+toDisplayString(__props.config.yAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_7$120,toDisplayString(yMinFormatted.value),1)])])):createCommentVNode(``,!0),(openBlock(),createElementBlock(`svg`,_hoisted_8$100,[createBaseVNode(`defs`,null,[createBaseVNode(`pattern`,{id:`grid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x} 0 L ${gridSizes.value.x} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_10$78),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y} L 100 ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.3`},null,8,_hoisted_11$70)],8,_hoisted_9$90),createBaseVNode(`pattern`,{id:`subgrid`,width:gridSizes.value.x,height:gridSizes.value.y,patternUnits:`userSpaceOnUse`},[createBaseVNode(`path`,{d:`M ${gridSizes.value.x/__props.subgridDivider} 0 L ${gridSizes.value.x/__props.subgridDivider} ${gridSizes.value.y}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_13$50),createBaseVNode(`path`,{d:`M 0 ${gridSizes.value.y/__props.subgridDivider} L 100 ${gridSizes.value.y/__props.subgridDivider}`,stroke:__props.gridColor,"stroke-width":`0.5`,"vector-effect":`non-scaling-stroke`,opacity:`0.15`},null,8,_hoisted_14$45)],8,_hoisted_12$58)]),__props.showSubgrid?(openBlock(),createElementBlock(`rect`,_hoisted_15$43)):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`rect`,{width:`100`,height:`100`,fill:`url(#grid)`},null,-1),createBaseVNode(`g`,_hoisted_16$40,[hasNegativeValues.value?(openBlock(),createElementBlock(`line`,{key:0,x1:`0`,y1:getYPosition(0),x2:`100`,y2:getYPosition(0),stroke:__props.gridColor,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:`0.75`},null,8,_hoisted_17$33)):createCommentVNode(``,!0)]),createBaseVNode(`g`,_hoisted_18$30,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.ranges,range=>(openBlock(),createElementBlock(`rect`,{key:`range-${range.start}`,x:getXPosition(range.start),y:`-5`,width:getXPosition(range.end)-getXPosition(range.start),height:`110`,fill:range.fill,stroke:range.outline,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:range.opacity},null,8,_hoisted_19$25))),128))]),createBaseVNode(`g`,_hoisted_20$21,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.verticalGuides,guide=>(openBlock(),createElementBlock(`line`,{key:`guide-${guide.x}`,x1:getXPosition(guide.x),y1:`0`,x2:getXPosition(guide.x),y2:`100`,stroke:guide.color,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:guide.opacity},null,8,_hoisted_21$19))),128))]),__props.currentX?(openBlock(),createElementBlock(`line`,{key:1,x1:getXPosition(__props.currentX),y1:`0`,x2:getXPosition(__props.currentX),y2:`100`,stroke:`white`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`,opacity:`0.8`},null,8,_hoisted_22$17)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.points,dataset=>(openBlock(),createElementBlock(`g`,{key:dataset.label},[dataset.fill?(openBlock(),createElementBlock(`path`,{key:0,d:getAreaPathForDataset(dataset),fill:dataset.color||`white`,opacity:dataset.fillOpacity??.5},null,8,_hoisted_23$16)):createCommentVNode(``,!0),createBaseVNode(`path`,{d:getLinePathForDataset(dataset),stroke:dataset.color||`white`,fill:`none`,"stroke-width":`1`,"vector-effect":`non-scaling-stroke`},null,8,_hoisted_24$15)]))),128))])),__props.singleLabel?(openBlock(),createElementBlock(`div`,{key:1,class:`single-label`,style:normalizeStyle(getLabelStyle())},toDisplayString(__props.singleLabel.text),5)):createCommentVNode(``,!0),__props.config.showLabels?(openBlock(),createElementBlock(`div`,_hoisted_25$14,[createBaseVNode(`div`,_hoisted_26$12,[createBaseVNode(`div`,_hoisted_27$12,toDisplayString(xMinFormatted.value),1),createBaseVNode(`div`,_hoisted_28$11,[createTextVNode(toDisplayString(__props.config.xAxis.label)+` `,1),__props.config.xAxis.unit?(openBlock(),createElementBlock(`span`,_hoisted_29$11,`(`+toDisplayString(__props.config.xAxis.unit)+`)`,1)):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_30$10,toDisplayString(xMaxFormatted.value),1)])])):createCommentVNode(``,!0)]))}},bngSimpleGraph_default=__plugin_vue_export_helper_default(_sfc_main$344,[[`__scopeId`,`data-v-66d95af3`]]),_hoisted_1$301={class:`bng-slider-container`},_hoisted_2$248=[`disabled`,`min`,`max`,`step`],_sfc_main$343={__name:`bngSlider`,props:{modelValue:Number,origValue:{type:[Number,String],default:NaN},min:{type:[Number,String],default:0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:0},withReset:{type:Boolean,default:!1},withInput:{type:Boolean,default:!1},inputMultiplier:{type:Number,default:1},unit:{type:String,default:``},disabled:Boolean,uiNavFocus:{type:[Boolean,Object],default:{},validator:val=>typeof val==`boolean`&&!val||typeof val==`object`}},emits:[`change`,`valueChanged`,`update:modelValue`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,emit$1=__emit,slider=ref(null),value=ref(props.modelValue);ref(!1);let uiNavFocusFunction=computed(()=>props.uiNavFocus?{callback:(dir,val)=>{value.value=val,notify()},value:()=>value.value,min:+props.min,max:+props.max,step:()=>+props.step,...props.uiNavFocus}:!1);watch(()=>props.modelValue,val=>{value.value=Number(val),updateSliderBackground()});let dirty=useDirty(value,null,updateSliderBackground),dirtyReset=useDirty(value,null,updateSliderBackground);__expose(dirty);let resetDisabled=computed(()=>props.disabled?!0:isNaN(dirtyReset.currentCleanValue.value)?!dirty.dirty.value:!dirtyReset.dirty.value);onMounted(()=>{updateSliderBackground(),inputProps.value=value.value*props.inputMultiplier});function notify(){emit$1(`update:modelValue`,value.value),emit$1(`valueChanged`,value.value),emit$1(`change`,value.value),updateSliderBackground()}function updateSliderBackground(){if(!slider.value)return;let current=(value.value-props.min)/(props.max-props.min)*100,init$3=[-100,-100],dirtyVal=dirtyReset.currentCleanValue.value;if((typeof dirtyVal!=`number`||isNaN(dirtyVal))&&(dirtyVal=dirty.currentCleanValue.value),typeof dirtyVal==`number`&&!isNaN(dirtyVal)){let initpos=(dirtyVal-props.min)/(props.max-props.min)*100;init$3[currentvalue.value,val=>{inputProps.value=val*props.inputMultiplier}),watch(()=>props.origValue,val=>{val=+val,isNaN(val)||dirtyReset.setCleanValue(val)},{immediate:!0}),watch(()=>inputProps.value,val=>{value.value=val/props.inputMultiplier});function onInputChange(num){num=Number(num);let norm=roundDecSample(num,inputProps.step);num!==norm&&(inputProps.value=norm),num=norm/props.inputMultiplier,num=roundDecSample(num,props.step),numprops.max&&(num=props.max),value.value=num,notify()}function resetValue(){let val=+props.origValue;isNaN(val)?dirty.resetValue():value.value=val,notify()}return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$301,[withDirectives(createBaseVNode(`input`,{ref_key:`slider`,ref:slider,class:`bng-slider`,type:`range`,disabled:__props.disabled,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,min:+__props.min,max:+__props.max,step:+__props.step,onInput:notify},null,40,_hoisted_2$248),[[vModelText,value.value,void 0,{number:!0}],[unref(BngOnUiNavFocus_default),uiNavFocusFunction.value,void 0,{repeat:!0}]]),__props.withInput?(openBlock(),createBlock(unref(bngInput_default),{key:0,class:`bng-slider-input`,disabled:__props.disabled,modelValue:inputProps.value,"onUpdate:modelValue":_cache[1]||=$event=>inputProps.value=$event,type:`number`,min:inputProps.min,max:inputProps.max,step:inputProps.step,suffix:__props.unit,onValueChanged:onInputChange},null,8,[`disabled`,`modelValue`,`min`,`max`,`step`,`suffix`])):createCommentVNode(``,!0),__props.withReset?(openBlock(),createBlock(unref(bngButton_default),{key:1,class:`bng-slider-reset`,accent:unref(ACCENTS).text,icon:unref(icons).undo,disabled:resetDisabled.value,onClick:resetValue},null,8,[`accent`,`icon`,`disabled`])):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{bubbleWhitelistEvents:[`menu`]}],[unref(BngDisabled_default),__props.disabled]])}},bngSlider_default=__plugin_vue_export_helper_default(_sfc_main$343,[[`__scopeId`,`data-v-7d0150a1`]]),_sfc_main$342={__name:`bngSmartSelect`,props:mergeModels({items:{type:Array,required:!0},threshold:{type:Number,default:6},type:{type:String,default:``,validator(val){return[``,`select`,`dropdown`].includes(val)}},highlight:[String,Array,RegExp],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:mergeModels([`change`],[`update:modelValue`]),setup(__props,{emit:__emit}){let props=__props,value=useModel(__props,`modelValue`),emit$1=__emit,elDropdown=ref(),elSelect=ref(),types={none:bngSelect_default,select:bngSelect_default,dropdown:bngDropdown_default},items$2=computed(()=>Array.isArray(props.items)?props.items:[]),type=computed(()=>props.type&&props.type in types?props.type:items$2.value.length===0?`none`:items$2.value.length<=props.threshold?`select`:`dropdown`),binds=computed(()=>{let res={disabled:props.disabled};switch(type.value){default:res.options=[`n/a`],res.disabled=!0;break;case`select`:res.loop=!0,res.labelClickable=!0,res.config={label:itm=>itm?.label||`n/a`,value:itm=>itm?.value},res.options=items$2.value.filter(itm=>!itm.disabled&&!itm.group),res.items=items$2.value,res.highlight=props.highlight,res.disabled||=res.options.length===0,res.popoverTarget=elSelect.value?.getElement?.(),res.focusTarget=elSelect.value?.getContentElement?.()||res.popoverTarget;break;case`dropdown`:res.items=items$2.value,res.highlight=props.highlight,res.showSearch=!0;break}return res});function openDropdown(){}function onSelectChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}function onDropdownChanged(newValue){value.value!==newValue&&emit$1(`change`,newValue)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[type.value===`dropdown`?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngSelect_default),{key:0,ref_key:`elSelect`,ref:elSelect,class:`bng-smart-select`,modelValue:value.value,"onUpdate:modelValue":_cache[0]||=$event=>value.value=$event,options:binds.value.options,config:binds.value.config,disabled:binds.value.disabled,loop:``,"label-clickable":``,"label-popover":elDropdown.value?.popoverName,onLabelClick:openDropdown,onChange:onSelectChanged},null,8,[`modelValue`,`options`,`config`,`disabled`,`label-popover`])),binds.value.items?(openBlock(),createBlock(unref(bngDropdown_default),{key:1,ref_key:`elDropdown`,ref:elDropdown,class:normalizeClass(`bng-smart-${type.value}`),modelValue:value.value,"onUpdate:modelValue":_cache[1]||=$event=>value.value=$event,items:binds.value.items,highlight:binds.value.highlight,disabled:binds.value.disabled,headless:type.value===`select`,"show-search":binds.value.showSearch,"focus-target":binds.value.focusTarget,"popover-target":binds.value.popoverTarget,onValueChanged:onDropdownChanged},null,8,[`class`,`modelValue`,`items`,`highlight`,`disabled`,`headless`,`show-search`,`focus-target`,`popover-target`])):createCommentVNode(``,!0)],64))}},bngSmartSelect_default=__plugin_vue_export_helper_default(_sfc_main$342,[[`__scopeId`,`data-v-a288ad68`]]),_hoisted_1$300=[`xlink:href`],_sfc_main$341={__name:`bngSpriteIcon`,props:{atlasPath:{type:String,default:`sprites/svg-symbols.svg`},src:{type:String,required:!0},color:{type:String,default:`#fff`},deg:{type:Number,default:0}},setup(__props){let props=__props,atlasURL=computed(()=>`${getAssetURL$1(props.atlasPath)}#${props.src.toLowerCase()}`),getAssetURL$1=assetPath=>bngApi.isMock?`http://localhost:9000/${assetPath}`:`/ui/ui-vue/src/assets/${assetPath}`;return(_ctx,_cache)=>(openBlock(),createElementBlock(`svg`,{class:`atlasIcon`,style:normalizeStyle({fill:__props.color,pointerEvents:`none`,transform:`rotate(${__props.deg}deg)`}),version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},[createBaseVNode(`use`,{"xlink:href":atlasURL.value},null,8,_hoisted_1$300)],4))}},bngSpriteIcon_default=__plugin_vue_export_helper_default(_sfc_main$341,[[`__scopeId`,`data-v-0ace1ddc`]]),_hoisted_1$299=[`tabindex`],_hoisted_2$247={key:0};const LABEL_ALIGNMENTS={START:`start`,END:`end`,CENTER:`center`};var _sfc_main$340={__name:`bngSwitch`,props:{modelValue:[Boolean,Number,String],checked:{type:Boolean,default:!1},label:String,labelBefore:Boolean,labelAlignment:{type:String,default:LABEL_ALIGNMENTS.END,validator:value=>Object.values(LABEL_ALIGNMENTS).includes(value)},inline:{type:Boolean,default:!0},alwaysTransparent:Boolean,disabled:Boolean,valueOn:{type:[Boolean,Number,String],default:void 0},valueOff:{type:[Boolean,Number,String],default:void 0}},emits:[`update:modelValue`,`change`,`valueChanged`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,slots=useSlots(),bngSwitch=ref(null),valOn=computed(()=>props.valueOn===void 0?!0:props.valueOn),valOff=computed(()=>props.valueOff===void 0?!1:props.valueOff),isSwitchOn=computed(()=>props.modelValue==null?props.checked:props.modelValue===valOn.value);function onClicked(){if(props.disabled)return;let newValue=isSwitchOn.value?valOff.value:valOn.value;props.modelValue!=null&&emit$1(`update:modelValue`,newValue),emit$1(`valueChanged`,newValue),emit$1(`change`,newValue)}return onUpdated(()=>ensureFocus(bngSwitch.value)),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`bngSwitch`,ref:bngSwitch,"bng-nav-item":``,class:normalizeClass([`bng-switch`,{"bng-switch-on":isSwitchOn.value,"with-background":!__props.alwaysTransparent,"with-label":__props.label||unref(slots).default,"label-position-before":__props.labelBefore,"inline-switch":!__props.label&&!unref(slots).default||__props.inline}]),tabindex:__props.disabled?-1:0,onClick:onClicked},[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-control`},null,-1),unref(slots).default||__props.label?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`bng-switch-label`,[`label-alignment-`+__props.labelAlignment]])},[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`span`,_hoisted_2$247,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)],2)):createCommentVNode(``,!0)],10,_hoisted_1$299)),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngDisabled_default),__props.disabled]])}},bngSwitch_default=__plugin_vue_export_helper_default(_sfc_main$340,[[`__scopeId`,`data-v-8e1c4b05`]]),_hoisted_1$298={class:`bng-switch-label`},_hoisted_2$246={key:0},_sfc_main$339={__name:`bngSwitchOld`,props:{modelValue:Boolean,label:String,checked:Boolean,uncheckedWithBackground:Boolean,disabled:Boolean},emits:[`valueChanged`,`update:modelValue`],setup(__props,{emit:__emit}){let toggleValue=ref(!1),props=__props,emit$1=__emit,slots=useSlots();onBeforeMount(init$3),watch(()=>props.modelValue,init$3),watch(()=>props.checked,init$3),watch(()=>props.disabled,init$3);function init$3(){toggleValue.value=props.checked||props.modelValue}function onValueChanged(){props.disabled||(toggleValue.value=!toggleValue.value,emit$1(`update:modelValue`,toggleValue.value),emit$1(`valueChanged`,toggleValue.value))}return(_ctx,_cache)=>unref(slots).default||__props.label?withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:0,class:[`bng-labeled-switch`,{"switch-on":toggleValue.value,"with-background":__props.uncheckedWithBackground}]},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[_cache[0]||=createBaseVNode(`div`,{class:`bng-switch-wrapper`},[createBaseVNode(`div`,{class:`bng-switch`})],-1),createBaseVNode(`div`,_hoisted_1$298,[renderSlot(_ctx.$slots,`default`,{},()=>[__props.label?(openBlock(),createElementBlock(`label`,_hoisted_2$246,toDisplayString(__props.label),1)):createCommentVNode(``,!0)],!0)])],16)),[[unref(BngDisabled_default),__props.disabled]]):withDirectives((openBlock(),createElementBlock(`div`,mergeProps({key:1},{...!__props.disabled&&{"bng-nav-item":1}},{tabindex:`{{disabled ? 0 : 1}}`,class:[`bng-switch-wrapper`,{"switch-on":toggleValue.value}],onClick:onValueChanged,onKeyup:withKeys(onValueChanged,[`space`])}),[..._cache[1]||=[createBaseVNode(`div`,{class:`bng-switch`},null,-1)]],16)),[[unref(BngDisabled_default),__props.disabled]])}},bngSwitchOld_default=__plugin_vue_export_helper_default(_sfc_main$339,[[`__scopeId`,`data-v-da8dc7b1`]]),_hoisted_1$297={"bng-nav-item":``,class:`bng-tile tile`},_hoisted_2$245={class:`content`},_hoisted_3$218={class:`label`},_sfc_main$338={__name:`bngTile`,props:{label:String,ratio:{type:String,default:`4:3`},backgroundImage:String,backgroundExternalImage:String,disabled:Boolean},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$297,[createVNode(unref(aspectRatio_default),{class:`content-container image`,ratio:__props.ratio,image:__props.backgroundImage,externalImage:__props.backgroundExternalImage,imageMode:`contain`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_2$245,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])]),_:3},8,[`ratio`,`image`,`externalImage`]),renderSlot(_ctx.$slots,`label`,{},()=>[createBaseVNode(`div`,_hoisted_3$218,toDisplayString(__props.label),1)],!0)])),[[unref(BngDisabled_default),__props.disabled]])}},bngTile_default=__plugin_vue_export_helper_default(_sfc_main$338,[[`__scopeId`,`data-v-af5747cc`]]),_sfc_main$337={__name:`bngTooltip`,props:{text:{type:String,required:!0},position:{type:String,default:`top`}},setup(__props){return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,null,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])),[[unref(BngTooltip_default),__props.text,__props.position]])}},bngTooltip_default=__plugin_vue_export_helper_default(_sfc_main$337,[[`__scopeId`,`data-v-53073c36`]]),toInt=v=>~~+v,_sfc_main$336={__name:`bngUnit`,props:{options:Object,formatter:[Function,String]},setup(__props){let{units}=useBridge(),knownUnits={money:{formatter:v=>units.beamBucks(v)},beamXP:{formatter:toInt},stars:{formatter:toInt},vouchers:{formatter:toInt},insuranceScore:{formatter:toInt},multiplier:{formatter:toInt,noGap:!0}},defaultColors={stars:`var(--bng-ter-yellow-200)`,vouchers:`var(--bng-add-blue-400)`},attrs=useAttrs(),unit=computed(()=>{for(let key of Object.keys(attrs))if(key in knownUnits)return{type:key,value:attrs[key],...knownUnits[key],...props.options};return{type:`unknown`}}),formattedValue=computed(()=>{if(props.formatter){if(typeof props.formatter==`function`)return props.formatter(unit.value.value);if(typeof props.formatter==`string`&&props.formatter in knownUnits)return knownUnits[props.formatter].formatter(unit.value.value)}return typeof unit.value.formatter==`function`?unit.value.formatter(unit.value.value):unit.value.value}),props=__props;return(_ctx,_cache)=>(openBlock(),createBlock(unref(slotSwitcher_default),mergeProps(unref(attrs),{slotId:unit.value.type}),{money:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamCurrency,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),beamXP:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).beamXPLo,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),stars:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).star,valueLabel:formattedValue.value,"icon-color":defaultColors.stars}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),vouchers:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).voucherHorizontal3,valueLabel:formattedValue.value,"icon-color":defaultColors.vouchers}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),insuranceScore:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).shieldCheckmarkProgressbar,valueLabel:formattedValue.value}),null,16,[`iconType`,`valueLabel`])]),multiplier:withCtx(props$1=>[createVNode(unref(bngPropVal_default),mergeProps({...props$1,...unit.value},{iconType:props$1.iconType||unref(icons).mathMultiply,valueLabel:formattedValue.value,"icon-color":defaultColors.multiplier}),null,16,[`iconType`,`valueLabel`,`icon-color`])]),unknown:withCtx(props$1=>[createBaseVNode(`span`,normalizeProps(guardReactiveProps(props$1)),`BngUnit: Unknown unit type or no type specified`,16)]),_:1},16,[`slotId`]))}},bngUnit_default=_sfc_main$336;const DEMOS={};var base_exports=__export({ACCENTS:()=>ACCENTS,BngActionDrawer:()=>bngActionDrawer_default,BngActionsDrawer:()=>bngActionsDrawer_default,BngActionsDrawerOne:()=>bngActionsDrawerOne_default,BngActionsList:()=>bngActionsList_default,BngBinding:()=>bngBinding_default,BngBreadcrumbs:()=>bngBreadcrumbs_default,BngButton:()=>bngButton_default,BngCard:()=>bngCard_default,BngCardHeading:()=>bngCardHeading_default,BngColorPicker:()=>bngColorPicker_default,BngColorSlider:()=>bngColorSlider_default,BngColorTile:()=>bngColorTile_default,BngCondition:()=>bngCondition_default,BngControllerHint:()=>bngControllerHint_default,BngDivider:()=>bngDivider_default,BngDrawer:()=>bngDrawer_default,BngDrawerOld:()=>bngDrawerOld_default,BngDropdown:()=>bngDropdown_default,BngDropdownContainer:()=>bngDropdownContainer_default,BngIcon:()=>bngIcon_default,BngIconMarker:()=>bngIconMarker_default,BngImage:()=>bngImage_default,BngImageAsset:()=>bngImageAsset_default,BngImageCarousel:()=>bngImageCarousel_default,BngImageTile:()=>bngImageTile_default,BngInput:()=>bngInput_default,BngInputNew:()=>bngInputNew_default,BngList:()=>bngList_default,BngMainStars:()=>bngMainStars_default,BngMultilineInput:()=>bngMultilineInput_default,BngOldIcon:()=>bngOldIcon_default,BngOverflowContainer:()=>bngOverflowContainer_default,BngPaintTile:()=>bngPaintTile_default,BngPill:()=>bngPill_default,BngPillCheckbox:()=>bngPillCheckbox_default,BngPillFilters:()=>bngPillFilters_default,BngPillFiltersContainer:()=>bngPillFiltersContainer_default,BngPopoverContent:()=>bngPopoverContent_default,BngPopoverMenu:()=>bngPopoverMenu_default,BngProgressBar:()=>bngProgressBar_default,BngPropVal:()=>bngPropVal_default,BngScreenHeading:()=>bngScreenHeading_default,BngScreenHeadingV2:()=>bngScreenHeadingV2_default,BngSelect:()=>bngSelect_default,BngSimpleGraph:()=>bngSimpleGraph_default,BngSlider:()=>bngSlider_default,BngSmartSelect:()=>bngSmartSelect_default,BngSpriteIcon:()=>bngSpriteIcon_default,BngSwitch:()=>bngSwitch_default,BngSwitchOld:()=>bngSwitchOld_default,BngTile:()=>bngTile_default,BngTooltip:()=>bngTooltip_default,BngUnit:()=>bngUnit_default,DEMOS:()=>DEMOS,LABEL_ALIGNMENTS:()=>LABEL_ALIGNMENTS,LIST_LAYOUTS:()=>LIST_LAYOUTS,STEP_ICON_TYPES:()=>STEP_ICON_TYPES,getIconsWithTags:()=>getIconsWithTags,icons:()=>icons,iconsBySize:()=>iconsBySize,iconsByTag:()=>iconsByTag});function getPopupWrapperDefaults(){return{fade:!1,blur:!0,style:[popupContainer.default]}}function getActivityWrapperDefaults(){return{fade:!1,blur:!1,style:[popupContainer.clickthrough]}}const popupContainer=Object.freeze({default:`default`,transparent:`transparent`,clickthrough:`clickthrough`}),popupPosition=Object.freeze({default:`center`,top:`top`,left:`left`,right:`right`,bottom:`bottom`,center:`center`,fullscreen:`fullscreen`});var _hoisted_1$296=[`bng-ui-scope`],_hoisted_2$244={class:`popup-content`},_hoisted_3$217={key:0,class:`popup-title`},_hoisted_4$186={key:1,class:`popup-body`},_hoisted_5$159=[`innerHTML`],_hoisted_6$137={class:`popup-buttons`},__default__$10={wrapper:{blur:!0,style:null},position:popupPosition.center,animated:!0},_sfc_main$335=Object.assign(__default__$10,{__name:`Confirmation`,props:{appearance:String,popupActive:Boolean,message:{type:[String,Object],required:!0},title:String,buttons:Array},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowNavigationOnly();let props=__props,emit$1=__emit,scopeName=usePopupUINavScopeName(`_confirmPopup`,props),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default);defaultButtonIndex===-1&&(defaultButtonIndex=0);let cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),exclude=[`default`,`cancel`],buttonProps=computed(()=>{let bp=[];for(let{extras}of props.buttons)extras?bp.push(Object.keys(extras).reduce((ex,key)=>exclude.includes(key)?ex:{...ex,[key]:extras[key]},{})):bp.push({});return bp}),messageIsComponent=computed(()=>props.message&&typeof props.message==`object`&&props.message.component),handleCancelWithBack=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`,`popup-style-`+__props.appearance]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$244,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$217,toDisplayString(__props.title),1)):createCommentVNode(``,!0),messageIsComponent.value?(openBlock(),createElementBlock(`div`,_hoisted_4$186,[(openBlock(),createBlock(resolveDynamicComponent(__props.message.component),normalizeProps(guardReactiveProps(__props.message.props)),null,16))])):(openBlock(),createElementBlock(`div`,{key:2,class:`popup-body`,innerHTML:__props.message},null,8,_hoisted_5$159)),createBaseVNode(`div`,_hoisted_6$137,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},buttonProps.value[index],{onClick:$event=>_ctx.$emit(`return`,button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`])),[[unref(BngUiNavFocus_default),index===unref(defaultButtonIndex)?1e3:void 0]])),128))])])],10,_hoisted_1$296)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}}),Confirmation_default=__plugin_vue_export_helper_default(_sfc_main$335,[[`__scopeId`,`data-v-ce4a758b`]]),_hoisted_1$295=[`bng-ui-scope`],_hoisted_2$243={key:0,class:`form-dialog-toolbar`},_hoisted_3$216={class:`toolbar-title`},_hoisted_4$185={key:0,class:`content-description`},_hoisted_5$158={class:`content-wrapper`},_hoisted_6$136={class:`form-actions-bar`},_sfc_main$334={__name:`FormDialog`,props:mergeModels({title:{type:String},description:{type:String},view:{type:[Object,String],required:!0},formValidator:{type:Function,default:formModel=>!0},buttons:{type:Array,required:!0},maxWidth:{type:String,default:`40rem`}},{formModel:{},formModelModifiers:{}}),emits:mergeModels([`return`],[`update:formModel`]),setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let props=__props,emit$1=__emit,formModel=useModel(__props,`formModel`),scopeName=usePopupUINavScopeName(`_formdialog`,props),handleCancelWithBack=()=>{let cancelButton=props.buttons.find(x=>x.extras&&x.extras.cancel);cancelButton?onClick(cancelButton):emit$1(`return`)},onClick=button=>{let data={value:button.value};button.emitData&&(data.formData=formModel.value),emit$1(`return`,data)},formValid=ref(!1),message=ref(null);return watch(formModel,()=>{let res=props.formValidator(formModel.value);message.value=res.error?res.message:props.description,formValid.value=!res.error},{immediate:!0,deep:!0}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:`form-dialog`,style:normalizeStyle({maxWidth:props.maxWidth}),"bng-ui-scope":unref(scopeName)},[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_2$243,[createBaseVNode(`div`,_hoisted_3$216,toDisplayString(__props.title),1)])):createCommentVNode(``,!0),createBaseVNode(`div`,{class:normalizeClass([{"no-title":!__props.title},`form-dialog-content`])},[message.value?(openBlock(),createElementBlock(`div`,_hoisted_4$185,toDisplayString(message.value),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$158,[(openBlock(),createBlock(resolveDynamicComponent(__props.view),{modelValue:formModel.value,"onUpdate:modelValue":_cache[0]||=$event=>formModel.value=$event},null,8,[`modelValue`]))])],2),createBaseVNode(`div`,_hoisted_6$136,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},button.extras,{disabled:button.disableIfInvalid&&!formValid.value,onClick:$event=>onClick(button)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`])),[[unref(BngUiNavFocus_default),__props.buttons.length-index],[unref(BngFocusIf_default),index===0]])),128))])],12,_hoisted_1$295)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},FormDialog_default=__plugin_vue_export_helper_default(_sfc_main$334,[[`__scopeId`,`data-v-e78a3aa6`]]),_hoisted_1$294=[`bng-ui-scope`],_hoisted_2$242={class:`popup-content`},_hoisted_3$215={key:0,class:`popup-title`},_hoisted_4$184={class:`popup-body`},_hoisted_5$157={key:0,class:`popup-message`},_hoisted_6$135={class:`popup-buttons`},_sfc_main$333={__name:`Progress`,props:{title:String,message:String,buttons:Array,indeterminate:Boolean,min:{type:Number,default:0},max:{type:Number,default:100},initialValue:{type:Number,default:0},valueLabelFormat:{type:[String,Function],default:()=>val=>`${val}%`},timeout:{type:Number,default:0},cancellable:Boolean,tunnel:Object},emits:[`return`],setup(__props,{emit:__emit}){useUINavBlocker().allowOnly([`focus_u`,`focus_d`,`focus_l`,`focus_r`,`back`,`menu`,`ok`]);let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),props=__props,defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel);~defaultButtonIndex&&onMounted(()=>{document.querySelector(`#${DEFAULT_BUTTON_ID}`).focus()});let scopeName=usePopupUINavScopeName(`_progressPopup`,props),progressValue=ref(props.initialValue),msg=ref(props.message),handleCancelWithBack=e=>{props.cancellable&&close()},close=()=>emit$1(`return`,cancelButton?cancelButton.value:null);return props.tunnel.update=(value,message=void 0)=>{progressValue.value=+value,message!==void 0&&(msg.value=message)},props.tunnel.done=close,props.tunnel.ready=!0,props.timeout&&setTimeout(close,props.timeout*1e3),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$242,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$215,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$184,[msg.value?(openBlock(),createElementBlock(`div`,_hoisted_5$157,toDisplayString(msg.value),1)):createCommentVNode(``,!0),createVNode(unref(bngProgressBar_default),{value:progressValue.value,min:__props.min,max:__props.max,indeterminate:__props.indeterminate,"show-value-label":!__props.indeterminate&&!!__props.valueLabelFormat,"value-label-format":__props.valueLabelFormat},null,8,[`value`,`min`,`max`,`indeterminate`,`show-value-label`,`value-label-format`])]),createBaseVNode(`div`,_hoisted_6$135,[__props.buttons&&__props.buttons.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(_ctx.text):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`onClick`]))),128)):createCommentVNode(``,!0)])])],8,_hoisted_1$294)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Progress_default=__plugin_vue_export_helper_default(_sfc_main$333,[[`__scopeId`,`data-v-a3c03360`]]),_hoisted_1$293=[`bng-ui-scope`],_hoisted_2$241={class:`popup-content`},_hoisted_3$214={key:0,class:`popup-title`},_hoisted_4$183={class:`popup-body`},_hoisted_5$156={key:0,class:`popup-message`},_hoisted_6$134={class:`popup-buttons`},_sfc_main$332={__name:`Prompt`,props:{buttons:Array,message:String,title:String,maxLength:Number,defaultValue:void 0,validate:Function,errorMessage:String,disableWhenInvalid:Boolean},emits:[`return`],setup(__props,{emit:__emit}){let emit$1=__emit,DEFAULT_BUTTON_ID=uniqueId(`___DEFAULT`,`_`),INPUT_ID=uniqueId(`___INPUT`,`_`),props=__props,scopeName=usePopupUINavScopeName(`_promptPopup`,props),text=ref(props.defaultValue||``),defaultButtonIndex=props.buttons.findIndex(button=>button.extras&&button.extras.default),cancelButton=props.buttons.find(button=>button.extras&&button.extras.cancel),handleEnterButton=text$1=>{props.disableWhenInvalid&&props.validate&&!props.validate(text$1)||emit$1(`return`,text$1)},handleCancelWithBack=e=>{emit$1(`return`,cancelButton?cancelButton.value:null)};return onMounted(()=>{document.querySelector(`#${INPUT_ID} input`).focus()}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`popup`]),"bng-ui-scope":unref(scopeName)},[createBaseVNode(`div`,_hoisted_2$241,[__props.title?(openBlock(),createElementBlock(`div`,_hoisted_3$214,toDisplayString(__props.title),1)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_4$183,[__props.message?(openBlock(),createElementBlock(`div`,_hoisted_5$156,toDisplayString(__props.message),1)):createCommentVNode(``,!0),createVNode(unref(bngInput_default),{id:unref(INPUT_ID),modelValue:text.value,"onUpdate:modelValue":_cache[0]||=$event=>text.value=$event,maxlength:__props.maxLength,onKeyup:_cache[1]||=withKeys($event=>handleEnterButton(text.value),[`enter`]),validate:__props.validate,"error-message":__props.errorMessage},null,8,[`id`,`modelValue`,`maxlength`,`validate`,`error-message`])]),createBaseVNode(`div`,_hoisted_6$134,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.buttons,(button,index)=>(openBlock(),createBlock(unref(bngButton_default),mergeProps({key:index},{ref_for:!0},{...index==unref(defaultButtonIndex)&&{id:unref(DEFAULT_BUTTON_ID)},...button.extras},{disabled:__props.disableWhenInvalid&&index>0&&__props.validate&&!__props.validate(text.value),onClick:$event=>_ctx.$emit(`return`,typeof button.value==`function`?button.value(text.value):button.value)}),{default:withCtx(()=>[createTextVNode(toDisplayString(button.label),1)]),_:2},1040,[`disabled`,`onClick`]))),128))])])],8,_hoisted_1$293)),[[unref(BngOnUiNav_default),handleCancelWithBack,`back,menu`]])}},Prompt_default=__plugin_vue_export_helper_default(_sfc_main$332,[[`__scopeId`,`data-v-cce4437b`]]),__default__$9={position:popupPosition.left},_sfc_main$331=Object.assign(__default__$9,{__name:`ScreenOverlay`,props:{view:Object},emits:[`return`],setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(__props.view),{onClose:_cache[0]||=$event=>_ctx.$emit(`return`,!0)},null,32))}}),ScreenOverlay_default=_sfc_main$331,popup_components_exports=__export({Confirmation:()=>Confirmation_default,FormDialog:()=>FormDialog_default,Progress:()=>Progress_default,Prompt:()=>Prompt_default,ScreenOverlay:()=>ScreenOverlay_default}),popupLimit=5,activityLimit=3,count=-1;const PopupTypes=Object.freeze({activity:10,normal:100,priority:1e3});var PopupTypesBack=Object.freeze(Object.keys(PopupTypes).reduce((res,key)=>({...res,[String(PopupTypes[key])]:key}),{})),PopupTypesPairs=Object.freeze(Object.keys(PopupTypes).map(key=>[PopupTypes[key],key]).sort((a$1,b)=>a$1[0]-b[0]));function getPopupTypeName(type=PopupTypes.normal){let strType=String(type);if(strType in PopupTypesBack)return PopupTypesBack[strType];for(let[ptype,pname]of PopupTypesPairs)if(typepopupsAll.filter(itm=>itm.type>=PopupTypes.normal)),activitiesFiltered=computed(()=>popupsAll.filter(itm=>itm.typepopupsFiltered.value.length>0?popupsFiltered.value.slice(-popupLimit):null),popupsWrapper:computed(()=>accumulateWrapper(popupsFiltered.value,getPopupWrapperDefaults())),activities:computed(()=>activitiesFiltered.value.length>0?activitiesFiltered.value.slice(-activityLimit):null),activitiesWrapper:computed(()=>accumulateWrapper(activitiesFiltered.value,getActivityWrapperDefaults()))});function accumulateWrapper(popups,wrapper){for(let popup of popups)wrapper.fade!==popup.wrapper.fade&&(wrapper.fade=popup.wrapper.fade),wrapper.blur!==popup.wrapper.blur&&(wrapper.blur=popup.wrapper.blur),popup.wrapper.style&&wrapper.style.push(...popup.wrapper.style);return wrapper}function addPopup(componentOrName,props={},type=PopupTypes.normal){let component=typeof componentOrName==`string`?popup_components_exports[componentOrName]:componentOrName;if(!component)throw Error(`There is no popup base component named "${componentOrName}".Available components: "${Object.keys(popup_components_exports).join(`", "`)}"`);let popup={id:++count,active:!1,type,typeName:getPopupTypeName(type),component:markRaw({ref:component}),componentName:component.__name,props:{__id:count,...props},position:[popupPosition.default],animated:!0,wrapper:type>=PopupTypes.normal?getPopupWrapperDefaults():getActivityWrapperDefaults()};component.position&&(popup.position=Array.isArray(component.position)?component.position:[component.position]),typeof component.animated==`boolean`&&(popup.animated=component.animated),`wrapper`in component&&(typeof component.wrapper.fade==`boolean`&&(popup.wrapper.fade=component.wrapper.fade),typeof component.wrapper.blur==`boolean`&&(popup.wrapper.blur=component.wrapper.blur),component.wrapper.style&&(popup.wrapper.style=Array.isArray(component.wrapper.style)?component.wrapper.style:[component.wrapper.style])),popup.promise=new Promise((resolve$1,reject)=>{popup._resolve=resolve$1,popup._reject=reject}),popup.return=result=>{for(let i=0;i0&&(popupsAll[popupsAll.length-1].active=!0),reportPopupState(popup,!1);break}result===void 0?popup._reject():popup._resolve(result)},popup.promise.close=popup.return;for(let i=0;itype)return popupsAll.splice(i,0,popup),reportPopupState(popup,!0),popup;return popupsAll.length>0&&(popupsAll[popupsAll.length-1].active=!1),popup.active=!0,popupsAll.push(popup),reportPopupState(popup,!0),popup}function closeLastPopups(count$1=1){popupsAll.slice(-count$1).forEach(popup=>popup.return())}const openMessage=(title,message)=>addPopup(`Confirmation`,{title,message,buttons:[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}}]}).promise,openConfirmation=(title,message,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,extras:{default:!0}},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],appearance=``)=>addPopup(`Confirmation`,{title,message,buttons,appearance}).promise,openPrompt=(message=``,title=``,{buttons=[{label:$translate.instant(`ui.common.okay`),value:text=>text},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}={})=>addPopup(`Prompt`,{message,title,buttons,defaultValue,maxLength,validate,errorMessage,disableWhenInvalid}).promise,openExperimental=(title,message,buttons=[{label:$translate.instant(`ui.common.yes`),value:!0},{label:$translate.instant(`ui.common.no`),value:!1}])=>addPopup(`Confirmation`,{title,message,buttons,appearance:`experimental`}).promise,openScreenOverlay=component=>addPopup(`ScreenOverlay`,{view:markRaw(component)},PopupTypes.activity).promise,openFormDialog=(component,formModel,formValidator,title,description,buttons=[{label:$translate.instant(`ui.common.okay`),value:!0,emitData:!0},{label:$translate.instant(`ui.common.cancel`),value:!1,extras:{cancel:!0,accent:ACCENTS.secondary}}],maxWidth)=>addPopup(`FormDialog`,{view:markRaw(component),formModel,formValidator,title,description,buttons,maxWidth},PopupTypes.normal).promise,openProgress=(message=``,title=``,{buttons=[],indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable}={})=>{let popup=addPopup(`Progress`,{message,title,buttons,indeterminate,min:min$1,max:max$1,initialValue,valueLabelFormat,timeout,cancellable,tunnel:{}});return popup.progress=popup.props.tunnel,popup.progress.done=popup.return,popup},fixedDelayPopup=(seconds,{makeRemainingText=s=>s?Math.round(s)+`s remaining...`:`Done!`,title=``}={})=>{let popup=openProgress(makeRemainingText(seconds),title,{timeout:seconds+1}),remaining=seconds,endTime=Date.now()+remaining*1e3,countdown=()=>{let timeLeft=(endTime-Date.now())/1e3;timeLeft>0?(remaining=timeLeft,requestAnimationFrame(countdown)):remaining=0,popup.progress.update(~~((seconds-remaining)*100/seconds),makeRemainingText(remaining))};return requestAnimationFrame(countdown),popup};var _hoisted_1$292={class:`activity-selector`},_hoisted_2$240={class:`activities-container`},_hoisted_3$213=[`onClick`],_hoisted_4$182={class:`selector-display`},selectConfig={label:x=>x.label,value:x=>x.value},_sfc_main$330={__name:`ActivitySelector`,props:{activities:{type:Array,required:!0},value:{type:[String,Number]},navLeftEvent:{type:String},navRightEvent:{type:String}},emits:[`valueChanged`],setup(__props,{expose:__expose,emit:__emit}){let props=__props,selectComponent=ref(),emit$1=__emit,activityOptions=computed(()=>props.activities.map((x,index)=>({label:index+1,value:x.value})));computed(()=>(activityOptions.value?activityOptions.value.find(x=>x.value===selectedValue.value):null)||{label:`?`,value:selectedValue.value});let selectedValue=ref(1);watch(()=>props.value,val=>selectedValue.value=val||props.activities[0].value,{immediate:!0});let onValueChanged=value=>{selectedValue.value=value,console.log(`onValueChanged`,value),emit$1(`valueChanged`,value)};return __expose({goNext:()=>selectComponent.value.goNext(),goPrev:()=>selectComponent.value.goPrev()}),computed(()=>`url("${getAssetURL(`icons/temp_debug/map_poi_target.svg`)}")`),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$292,[createBaseVNode(`div`,_hoisted_2$240,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.activities,activity=>(openBlock(),createElementBlock(`div`,{key:activity,class:normalizeClass([`activity-icon`,{highlighted:activity.value===selectedValue.value}]),onClick:$event=>onValueChanged(activity.value)},[createVNode(unref(bngSpriteIcon_default),{src:`map_`+activity.icon,style:{width:`100%`,height:`100%`}},null,8,[`src`])],10,_hoisted_3$213))),128))]),createVNode(unref(bngSelect_default),{ref_key:`selectComponent`,ref:selectComponent,value:selectedValue.value,options:activityOptions.value,config:selectConfig,mute:``,loop:``,onChange:onValueChanged,navLeftEvent:__props.navLeftEvent,navRightEvent:__props.navRightEvent},{display:withCtx(({label})=>[createBaseVNode(`div`,_hoisted_4$182,[createBaseVNode(`span`,null,toDisplayString(label),1),createVNode(unref(bngDivider_default)),createBaseVNode(`span`,null,toDisplayString(__props.activities.length),1)])]),_:1},8,[`value`,`options`,`navLeftEvent`,`navRightEvent`])]))}},ActivitySelector_default=__plugin_vue_export_helper_default(_sfc_main$330,[[`__scopeId`,`data-v-53fb9327`]]),_hoisted_1$291={key:0,class:`activity-start`,"bng-ui-scope":`activityStart`},_hoisted_2$239={class:`activity-props`},_hoisted_3$212={class:`binding-spacer`},BNG_MAIN_STARS_TYPE=`BngMainStars`,_sfc_main$329={__name:`ActivityStart`,setup(__props){useUINavScope(`activityStart`);let activitySelector=ref(null),goNext=()=>activitySelector.value&&activitySelector.value.goNext(),goPrev=()=>activitySelector.value&&activitySelector.value.goPrev(),gameContextStore=useGameContextStore(),{activities}=storeToRefs(gameContextStore),{closeActivitiesPrompt}=gameContextStore,selectedActivityIndex=ref(0),availableActivities=ref([]),activityOptions=computed(()=>{let result=availableActivities.value?availableActivities.value.map((x,index)=>({id:index,value:index,icon:x.icon})):[];return doFiltering&&filterEvents(result.length>1),result}),selectedActivity=computed(()=>{if(selectedActivityIndex.value<0||!availableActivities.value||availableActivities.value.length===0)return null;let activity=availableActivities.value[selectedActivityIndex.value],labels=activity.props&&activity.props.length>0?activity.props.filter(x=>!x.type):[];return{heading:activity.heading,icon:activity.icon,preheadings:activity.preheadings,labels:labels.map(x=>({keyLabel:$translate.instant(x.keyLabel),valueLabel:$translate.instant(x.valueLabel),icon:icons[x.icon]})),stars:activity.props&&activity.props.length>0?activity.props.find(x=>x.type===BNG_MAIN_STARS_TYPE):null,startable:!0,buttonLabel:activity.buttonLabel,action:activity.action,missionInfoPerformActionIndex:activity.missionInfoPerformActionIndex}}),preheadings=computed(()=>selectedActivity.value&&selectedActivity.value.preheadings?selectedActivity.value.preheadings.map(x=>$translate.contextTranslate(x)):[]),invokeActivityAction=()=>{Lua_default.ui_missionInfo.performActivityAction(selectedActivity.value.missionInfoPerformActionIndex)};watch(selectedActivity,()=>{Lua_default.ui_missionInfo.setActivityIndexVisible(selectedActivityIndex.value)});let onActivitySelected=value=>{selectedActivityIndex.value=value},onCancel=()=>{closeActivitiesPrompt()},openPauseMenu=()=>{onCancel(),window.globalAngularRootScope&&window.globalAngularRootScope.$broadcast(`MenuToggle`)};onBeforeMount(()=>{availableActivities.value=activities.value}),onMounted(()=>{getUINavServiceInstance().activate()}),onUnmounted(()=>{doFiltering=!1,getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam),Lua_default.ui_missionInfo.setActivityIndexVisible(-1)});let doFiltering=!0,filterEvents=withTabs=>getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.back,UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam,...withTabs?[UI_EVENTS.tab_l,UI_EVENTS.tab_r]:[]);return(_ctx,_cache)=>selectedActivity.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$291,[activityOptions.value&&activityOptions.value.length>1?(openBlock(),createBlock(ActivitySelector_default,{key:0,ref_key:`activitySelector`,ref:activitySelector,activities:activityOptions.value,value:selectedActivityIndex.value,onValueChanged:onActivitySelected,navLeftEvent:`tab_l`,navRightEvent:`tab_r`},null,8,[`activities`,`value`])):createCommentVNode(``,!0),selectedActivity.value.heading?(openBlock(),createBlock(unref(bngScreenHeading_default),{key:1,mute:``,divider:``,preheadings:preheadings.value,"blur-delay":400},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.heading)),1),selectedActivity.value.description?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(`: `+toDisplayString(_ctx.$ctx_t(selectedActivity.value.description)),1)],64)):createCommentVNode(``,!0)]),_:1},8,[`preheadings`])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_2$239,[selectedActivity.value.stars&&selectedActivity.value.stars.defaultStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:0,"unlocked-stars":selectedActivity.value.stars.defaultUnlockedStarCount,"total-stars":selectedActivity.value.stars.defaultStarCount,class:`main-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),selectedActivity.value.stars&&selectedActivity.value.stars.bonusStarCount?(openBlock(),createBlock(unref(bngMainStars_default),{key:1,"unlocked-stars":selectedActivity.value.stars.bonusStarsUnlockedCount,"total-stars":selectedActivity.value.stars.bonusStarCount,class:`bonus-stars`},null,8,[`unlocked-stars`,`total-stars`])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(selectedActivity.value.labels,(label,index)=>(openBlock(),createBlock(unref(bngPropVal_default),{key:index,iconType:label.icon,keyLabel:label.keyLabel,valueLabel:label.valueLabel},null,8,[`iconType`,`keyLabel`,`valueLabel`]))),128))]),createBaseVNode(`div`,null,[withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).main,onClick:invokeActivityAction},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$212,[createVNode(unref(bngBinding_default),{action:`gameplay_interact`})]),selectedActivity.value.startable?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(_ctx.$ctx_t(selectedActivity.value.buttonLabel)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(_ctx.$tt(`ui.mission.action.locked`)),1)],64))]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`gameplay_interact`,{asMouse:!0}]]),withDirectives((openBlock(),createBlock(unref(bngButton_default),{accent:unref(ACCENTS).secondary,onClick:onCancel},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``}),createTextVNode(` `+toDisplayString(_ctx.$tt(`ui.common.close`)),1)]),_:1},8,[`accent`])),[[unref(BngOnUiNav_default),void 0,`back`,{asMouse:!0}]])])])),[[unref(BngOnUiNav_default),goPrev,`tab_l`,{up:!0}],[unref(BngOnUiNav_default),goNext,`tab_r`,{up:!0}],[unref(BngOnUiNav_default),openPauseMenu,`menu`]]):createCommentVNode(``,!0)}},ActivityStart_default=__plugin_vue_export_helper_default(_sfc_main$329,[[`__scopeId`,`data-v-1f131cb6`]]),_hoisted_1$290={class:`recovery-wrapper`,"bng-ui-scope":`recoveryPrompt`},_hoisted_2$238={class:`content`},_hoisted_3$211={class:`label`},_hoisted_4$181={key:0,class:`more-options`},_hoisted_5$155={key:0,class:`notification`},__default__$8={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$328=Object.assign(__default__$8,{__name:`Recovery`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`recoveryPrompt`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),popupData=ref({}),clickHandler=(index,button,fromController)=>{button.confirmationText||executeButtonAction(index,button)},executeButtonAction=(index,button)=>{Lua_default.core_recoveryPrompt.uiPopupButtonPressed(index+1),button.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},cancelClickHandler=()=>{Lua_default.core_recoveryPrompt.uiPopupCancelPressed(),popupData.value.cancelButton.keepMenuOpen||(closeRecoveryPrompt(),emit$1(`return`,!0))},updateRecoveryPopupData=()=>{Lua_default.core_recoveryPrompt.getUIData().then(value=>popupData.value=value)};return events$3.on(`updateRecoveryPopupData`,updateRecoveryPopupData),onMounted(()=>{getUINavServiceInstance().activate(),getUINavServiceInstance().clearFilteredEvents(),updateRecoveryPopupData()}),onUnmounted(()=>{events$3.off(`updateRecoveryPopupData`,updateRecoveryPopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$290,[createVNode(unref(bngCard_default),null,{buttons:withCtx(()=>[unref(popupData).cancelButton?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,label:unref(popupData).cancelButton.label,accent:unref(ACCENTS).attention,onClick:cancelClickHandler},null,8,[`label`,`accent`])),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]]):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(popupData).title),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$238,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(popupData).buttons,(button,index)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{"show-hold":!!button.confirmationText,"hold-vertical":``,accent:unref(ACCENTS).outlined,class:`recovery-option-button`},{default:withCtx(()=>[createVNode(unref(bngImageTile_default),{class:`recovery-option-tile`,icon:unref(icons)[button.icon]},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_3$211,toDisplayString(_ctx.$ctx_t(button.label)),1),button.price?(openBlock(),createBlock(unref(bngDivider_default),{key:0})):createCommentVNode(``,!0),button.price?(openBlock(),createBlock(unref(bngUnit_default),{key:1,class:`units`,money:button.price.money.amount,options:{formatter:x=>~~x}},null,8,[`money`,`options`])):createCommentVNode(``,!0)]),_:2},1032,[`icon`]),button.keepMenuOpen?(openBlock(),createElementBlock(`span`,_hoisted_4$181,`⇢`)):createCommentVNode(``,!0)]),_:2},1032,[`show-hold`,`accent`])),[[unref(BngDisabled_default),!button.enabled],[unref(BngFocusIf_default),!index||button.enabled&&!unref(popupData).buttons[0].enabled],[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}],[unref(BngClick_default),{clickCallback:e=>clickHandler(index,button,e.fromController),holdCallback:button.confirmationText?()=>executeButtonAction(index,button):null,holdDelay:500,repeatInterval:0}]])),256)),unref(popupData).warningMessage?(openBlock(),createElementBlock(`div`,_hoisted_5$155,toDisplayString(unref(popupData).warningMessage),1)):createCommentVNode(``,!0)])]),_:1})]))}}),Recovery_default=__plugin_vue_export_helper_default(_sfc_main$328,[[`__scopeId`,`data-v-8495e64c`]]),_hoisted_1$289={class:`item-container`,navigable:``,tabindex:`0`},_hoisted_2$237={class:`item-content`},_hoisted_3$210={class:`item-container indented`,navigable:``,tabindex:`0`},_hoisted_4$180={class:`item-content`},_sfc_main$327={__name:`FavoriteSelectionItem`,props:{data:Object,level:{type:Number,default:0}},emits:[`addedFunction`,`removedFunction`],setup(__props,{emit:__emit}){let emit$1=__emit,expandedStates=ref({}),focusedItem=ref(null),toggleExpanded=(idx,value)=>{expandedStates.value[idx]=value},select=item=>{focusedItem.value=item},deselect=item=>{focusedItem.value===item&&(focusedItem.value=null)},isFocused=item=>focusedItem.value===item,addActionToQuickAccess=item=>{console.log(`addActionToQuickAccess`,item),item&&item.uniqueID&&emit$1(`addedFunction`,item)},removeFunction=()=>{emit$1(`removedFunction`)};return(_ctx,_cache)=>{let _component_FavoriteSelectionItem=resolveComponent(`FavoriteSelectionItem`,!0);return openBlock(),createBlock(unref(accordion_default),{class:`favorite-selection-item`,expanded:__props.data.expanded},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.data.items,(item,idx)=>(openBlock(),createElementBlock(`div`,{key:idx,class:`item-wrapper`},[item.items?(openBlock(),createBlock(unref(accordionItem_default),{key:0,navigable:``,static:!item.items,expanded:expandedStates.value[idx],onExpanded:$event=>toggleExpanded(idx,$event),"arrow-big":``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`,"expand-hint-inline":``},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$289,[createBaseVNode(`div`,_hoisted_2$237,[createVNode(unref(bngIcon_default),{type:unref(icons)[item.icon]},null,8,[`type`]),createTextVNode(` `+toDisplayString(item.title?unref($translate).instant(item.title):item.niceName),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,accent:`outlined`,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[0]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),default:withCtx(()=>[createVNode(_component_FavoriteSelectionItem,{data:item,level:__props.level+1,onAddedFunction:addActionToQuickAccess,onRemovedFunction:removeFunction},null,8,[`data`,`level`])]),_:2},1032,[`static`,`expanded`,`onExpanded`,`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`])):(openBlock(),createBlock(unref(accordionItem_default),{key:1,static:!0,navigable:``,onMouseover:withModifiers($event=>select(item),[`stop`]),onMouseleave:withModifiers($event=>deselect(item),[`stop`]),onFocusin:withModifiers($event=>select(item),[`stop`]),onFocusout:withModifiers($event=>deselect(item),[`stop`]),"primary-action":()=>addActionToQuickAccess(item),"primary-label":`ui.inputActions.menu.menu_item_select.title`},{caption:withCtx(()=>[createBaseVNode(`div`,_hoisted_3$210,[createBaseVNode(`div`,_hoisted_4$180,[item.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[item.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref($translate).instant(item.title)),1)]),item.uniqueID&&isFocused(item)?(openBlock(),createBlock(unref(bngButton_default),{key:0,class:`select-button`,onClick:$event=>addActionToQuickAccess(item),accent:`outlined`,"bng-no-nav":``},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`ok`,controller:``}),_cache[1]||=createTextVNode(` Select `,-1)]),_:1},8,[`onClick`])):createCommentVNode(``,!0)])]),_:2},1032,[`onMouseover`,`onMouseleave`,`onFocusin`,`onFocusout`,`primary-action`]))]))),128))]),_:1},8,[`expanded`])}}},FavoriteSelectionItem_default=__plugin_vue_export_helper_default(_sfc_main$327,[[`__scopeId`,`data-v-dd594aec`]]),_hoisted_1$288={class:`backgroundContainer`},_hoisted_2$236={key:0,class:`recovery-wrapper`,"bng-ui-scope":`favoriteSelection`},_hoisted_3$209={class:`current-action-container`},_hoisted_4$179={key:0},_hoisted_5$154={key:1},_hoisted_6$133={key:2},_hoisted_7$119={key:0,class:`content`},__default__$7={wrapper:{fade:!0,blur:!0,style:popupContainer.transparent},position:[popupPosition.center,popupPosition.center]},_sfc_main$326=Object.assign(__default__$7,{__name:`FavoriteSelection`,emits:[`return`],setup(__props,{emit:__emit}){let{events:events$3}=useBridge();useUINavScope(`favoriteSelection`);let emit$1=__emit,{closeRecoveryPrompt}=useGameContextStore(),data=ref({}),updateFavoritePopupData=()=>{Lua_default.core_quickAccess.getDynamicSlotConfigurationData().then(value=>data.value=value)};events$3.on(`radialFavoriteSelectionPopupData`,updateFavoritePopupData);let addedFunction=item=>{let config={uniqueID:item.uniqueID,level:item.level,type:item.type,mode:item.mode||`uniqueAction`};console.log(`addedFunction`,config),Lua_default.core_quickAccess.setDynamicSlotConfiguration(data.value.dynamicSlotKey,config),emit$1(`return`,!0)},removeFunction=()=>{Lua_default.core_quickAccess.removeActionFromQuickAccess(data.value.slotIndex),emit$1(`return`,!0)},close=()=>{emit$1(`return`,!0)};return onMounted(()=>{updateFavoritePopupData()}),onUnmounted(()=>{events$3.off(`radialFavoriteSelectionPopupData`,updateFavoritePopupData),window.bngVue.getCurrentRoute().name==`unknown`&&getUINavServiceInstance().setFilteredEventsAllExcept(UI_EVENTS.menu,UI_EVENTS.pause,UI_EVENTS.center_cam)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$288,[unref(data).dynamicSlotKey?(openBlock(),createElementBlock(`div`,_hoisted_2$236,[createVNode(unref(bngCard_default),null,{default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(` Assign Action to: `+toDisplayString(unref(data).dynamicSlotData.breadcrumbs[0]),1)]),_:1}),createBaseVNode(`div`,_hoisted_3$209,[_cache[3]||=createBaseVNode(`div`,{class:`current-action-label`},`Currently Assigned Action:`,-1),unref(data).dynamicSlotData.mode===`uniqueAction`&&unref(data).uniqueAction?(openBlock(),createElementBlock(`div`,_hoisted_4$179,[unref(data).uniqueAction.icon?(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons)[unref(data).uniqueAction.icon]},null,8,[`type`])):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(unref(data).uniqueAction.title?unref($translate).instant(unref(data).uniqueAction.title):unref(data).uniqueAction.niceName),1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`recentActions`?(openBlock(),createElementBlock(`div`,_hoisted_5$154,[createVNode(unref(bngIcon_default),{type:unref(icons).timer},null,8,[`type`]),_cache[1]||=createTextVNode(` Most Recent Action `,-1)])):createCommentVNode(``,!0),unref(data).dynamicSlotData.mode===`empty`?(openBlock(),createElementBlock(`div`,_hoisted_6$133,[createVNode(unref(bngIcon_default),{type:unref(icons).circleSlashed},null,8,[`type`]),_cache[2]||=createTextVNode(` Empty `,-1)])):createCommentVNode(``,!0)]),_cache[5]||=createBaseVNode(`div`,{class:`divider`},null,-1),unref(data).items?(openBlock(),createElementBlock(`div`,_hoisted_7$119,[createVNode(FavoriteSelectionItem_default,{data:unref(data).items,onAddedFunction:addedFunction,onRemovedFunction:removeFunction},null,8,[`data`])])):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{class:`cancel-button`,onClick:_cache[0]||=$event=>close(),accent:`attention`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`input-icon`,"ui-event":`back`,controller:``}),_cache[4]||=createTextVNode(` Cancel `,-1)]),_:1})),[[unref(BngOnUiNav_default),void 0,`back,menu`,{asMouse:!0}]])]),_:1})])):createCommentVNode(``,!0)]))}}),FavoriteSelection_default=__plugin_vue_export_helper_default(_sfc_main$326,[[`__scopeId`,`data-v-88390882`]]);const useGameContextStore=defineStore(`gameContext`,()=>{let{events:events$3}=useBridge(),activities=ref([]),activityScreen=null,recoveryPrompt=null,radialFavoriteSelectionPrompt=null,deliveryEndScreen=null,simpleDelayPopup=null,startMission=missionId=>{let mission=activities.value.find(x=>x.id===missionId);mission||console.error(`Mission not found ${missionId}. cannot start`);let settings$1=mission.settings,userSettings=mission&&settings$1?settings$1.reduce((a$1,b)=>a$1[b.key]=b.value,a):{};Lua_default.gameplay_markerInteraction.startMissionById(mission.id,userSettings)},closeActivitiesPrompt=()=>{Lua_default.gameplay_markerInteraction.closeViewDetailPrompt(!0)};function openRecoveryPrompt(){recoveryPrompt=addPopup(Recovery_default).promise}function openDynamicSlotConfigurator(){radialFavoriteSelectionPrompt=addPopup(FavoriteSelection_default).promise}function openSimpleDelayPopup(data){simpleDelayPopup=fixedDelayPopup(data.timer,{title:data.heading})}let performActivityAction=activityActionIndex=>Lua_default.ui_missionInfo.performActivityAction(activityActionIndex);events$3.on(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.on(`ActivityAcceptClose`,closeActivitiesPopup),events$3.on(`MenuOpenModule`,closeActivitiesPopup),events$3.on(`ChangeState`,closeActivitiesPopup),events$3.on(`OpenRecoveryPrompt`,openRecoveryPrompt),events$3.on(`OpenDynamicSlotConfigurator`,openDynamicSlotConfigurator),events$3.on(`OpenSimpleDelayPopup`,openSimpleDelayPopup);let deliveryRewardData=ref(!1);function showDeliveryEndScreen(data){deliveryRewardData.value=data,window.bngVue.gotoGameState(`cargoDeliveryReward`)}events$3.on(`OpenDeliveryEndScreen`,showDeliveryEndScreen);function onActivityAcceptUpdate(data){activityScreen&&(activities.value||!data)&&closeActivitiesPopup(),window.location.hash===`#/play`&&(activities.value=data,activities.value&&activities.value.length>0&&(activityScreen=openScreenOverlay(ActivityStart_default)))}function closeActivitiesPopup(){activityScreen&&=(activityScreen.close(!0),null)}function closeRecoveryPrompt(){recoveryPrompt&&=(recoveryPrompt.close(!0),null)}function closeRadialFavoriteSelectionPrompt(){radialFavoriteSelectionPrompt&&=(radialFavoriteSelectionPrompt.close(!0),null)}function closeSimpleDelayPopup(){simpleDelayPopup&&=(simpleDelayPopup.progress.done(),null)}function closeDeliveryEndScreen(){deliveryEndScreen&&=(deliveryEndScreen.close(!0),null)}function dispose$2(){events$3.off(`ActivityAcceptUpdate`,onActivityAcceptUpdate),events$3.off(`ActivityAcceptClose`,closeActivitiesPopup)}return{activities,closeActivitiesPrompt,closeDeliveryEndScreen,closeRecoveryPrompt,closeRadialFavoriteSelectionPrompt,closeSimpleDelayPopup,deliveryRewardData,dispose:dispose$2,performActivityAction,startMission}});var PARSE_NESTED$1=`PARSE_NESTED`,bbcode_main_default=[[/\[url=https?:\/\/([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[url='https?:\/\/([^\s\]]+)'\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[forumurl=https?:\/\/([^\s\]]+)\](\S*?(?=\[\/forumurl\]))\[\/forumurl\]/gi,`$2`],[/\[url\]https?:\/\/(.*?(?=\[\/url\]))\[\/url\]/gi,`$1`],[/\[url=([^\s\]]+)\](.*?(?=\[\/url\]))\[\/url\]/gi,`$2`],[/\[h(\d)\](.*?(?=\[\/h\d\]))\[\/h\d\]/gi,`$2`],[/\[img\]\s*?(\S*?(?=\[\/img\]))\[\/img\]/gi,``],[/\shttp(s|):\/\/(\S*)/gi,`http$1://$2`],[/\[list=\d+\](.*?(?=\[\/list\]))\[\/list\]/gi,`
      $1
    `],[/\[list\]/gi,`
      `],[/\[\/list\]/gi,`
    `],[/\[olist\]/gi,`
      `],[/\[\/olist\]/gi,`
    `],[/\[(\*|\+)\]\s*?((.|\s)*?(?=\[(\*|\+)\]|\<\/ul\>|\<\/ol\>|\n\n|$))/gim,`
  • $2
  • `],[PARSE_NESTED$1,/\[b\](.*?(?=\[\/b\]))\[\/b\]/gi,`$1`],[PARSE_NESTED$1,/\[u\](.*?(?=\[\/u\]))\[\/u\]/gi,`$1`],[PARSE_NESTED$1,/\[s\](.*?(?=\[\/s\]))\[\/s\]/gi,`$1`],[PARSE_NESTED$1,/\[i\](.*?(?=\[\/i\]))\[\/i\]/gi,`$1`],[/\[strike\](.*?(?=\[\/strike\]))\[\/strike\]/gi,`$1`],[/\[code\](.*?(?=\[\/code\]))\[\/code\]/gi,`$1`],[/\[br\]/gi,`
    `],[/\n\n/gi,`

    `],[/\n/gi,`
    `],[/\[attach=?f?u?l?l?\](.*?(?=\[\/attach\]))\[\/attach\]/gi,``],[/\[USER=([\d]+)\](.*?(?=\[\/USER\]))\[\/USER\]/gi,`$2`],[/\[MEDIA=youtube\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,`
    `],[/\[MEDIA=beamng\](.*?(?=\[\/MEDIA\]))\[\/MEDIA\]/gi,``],[PARSE_NESTED$1,/\[size=(\d+)\]([^[]*(?:\[(?!size=\d+\]|\/size\])[^[]*)*)\[\/size\]/gi,`$2`],[PARSE_NESTED$1,/\[COLOR=([a-z0-9\#\, \'\"\(\)]+)\]([^[]*(?:\[(?!COLOR=[a-z0-9#\(\)]+\]|\/COLOR\])[^[]*)*)\[\/COLOR\]/gi,`$2`],[PARSE_NESTED$1,/\[font=([^\]]+)\](.*?(?=\[\/font\]))\[\/font\]/gi,`$2`],[/\[hr\]\[\/hr\]/gi,`
    `],[/\[spoiler=([^\]]+)\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler: $1
    $2
    `],[/\[spoiler\](.*?(?=\[\/spoiler\]))\[\/spoiler\]/gi,`
    Spoiler
    $1
    `],[PARSE_NESTED$1,/\[left\](.*?(?=\[\/left\]))\[\/left\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[center\](.*?(?=\[\/center\]))\[\/center\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\[right\](.*?(?=\[\/right\]))\[\/right\]/gi,`

    $1

    `],[PARSE_NESTED$1,/\*\*(.*?(?=\*\*))\*\*/gi,`$1`],[PARSE_NESTED$1,/\*(.*?(?=\*))\*/gi,`$1`],[PARSE_NESTED$1,/\[(.*?(?=\]\())\]\((https?:\/\/((.*?(?=\)))))\)/gi,`$1 ($2)`]],bbcode_vue_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``],[/\[(money|beamXP|stars|vouchers)=(.*?)\]/g,``]],bbcode_angular_default=[[/\[ico=([^\s\]]+)\s*\](.*?(?=\[\/ico\]))\[\/ico\]/gi,`$2`],[/\[ico=([^\s\]]+)\s*\]/gi,``],[/\[action=(.*?)\]\[showunassigned=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\](.*?)/gi,``],[/\[action=(.*?)\]/gi,``]],bbcode_exports=__export({parse:()=>parse$1,useExtensions:()=>useExtensions}),PARSE_NESTED=`PARSE_NESTED`,_extensions=bbcode_vue_default;const useExtensions=exts=>_extensions=exts,parse$1=(txt,extensions$1=_extensions)=>{let text=``+txt;return[...bbcode_main_default,...extensions$1].forEach(replacement=>{let{nested,fromTo}=replacementDetails(replacement);text=nested?parseNested(text,...fromTo):text.replace(...fromTo)}),text};window.angularParseBBCode=txt=>parse$1(txt,bbcode_angular_default);var replacementDetails=replacement=>({nested:replacement.length==3&&replacement[0]===PARSE_NESTED,fromTo:replacement.slice(-2)}),parseNested=(text,regex,template)=>{for(;~text.search(regex);)text=text.replace(regex,template);return text},markdown_exports=__export({parse:()=>parse});function parse(src){let h$1=``;return src.replace(/^\s+|\r|\s+$/g,``).replace(/\t/g,` `).split(/\n\n+/).forEach(function(b,f,R){f=b[0],R={"*":[/\n\* /,`
    • `,`
    `],1:[/\n[1-9]\d*\.? /,`
    1. `,`
    `]," ":[/\n {4}/,`
    `,`
    `,` `],">":[/\n> /,`
    `,`
    `,`
        if core_camera then core_camera.requestConfig() end    -- cameraConfig
      `);async function init$3(){for(let key in active=!0,(window.beamng&&!window.beamng.shipping||editor)&&(watchers$1.push(watch(()=>settingsValues.value,updateSettingsList)),watchers$1.push(watch(()=>layout.value,async()=>{await settings$1.waitForData(),updateSettingsList()}))),events$3.on(`SettingsChanged`,()=>settingsTimestamp.value=Date.now()),watchers$1.push(watch(customValues,()=>settingsTimestamp.value=Date.now(),{deep:!0})),events$3.on(`externalUIURL`,data=>customValues.externalUIURL=data||``),events$3.on(`OpenXRStateChanged`,data=>customValues.openXRstate=data),events$3.on(`CameraConfigChanged`,data=>{customValues.cameraConfigList=Array.isArray(data.cameraConfig)?data.cameraConfig:[],customValues.cameraConfigFocused=data.focusedCamName}),updateCustom(),await settings$1.waitForData(),settings$1.values)initialValues[key]=settings$1.values[key];settingsTimestamp.value=Date.now(),setupSearch(layout,settingsValues,settingsOptions,settingsTimestamp,conditions)}let settingsValues=computed(()=>{if(!active||!settings$1.values)return{};let res={...settings$1.values};for(let key in valueFormatters)res[key]=valueFormatters[key](res[key],settings$1.values,customValues);for(let key in valueExtensions)res[key]=valueExtensions[key](settings$1.values,customValues);return res}),settingsOptions=computed(()=>{let res={};if(!active||!settings$1.options||!settings$1.values)return res;for(let key in settings$1.options)key in optionFormatters?res[key]=optionFormatters[key](settings$1.options[key],settings$1.options,settings$1.values):res[key]=guessOptionFormat(settings$1.options[key]);for(let key in optionExtensions)res[key]=optionExtensions[key](settings$1.options,settings$1.values);return res}),editor=null,layout=ref(layout_default);function updateSettingsList(){if(!active)return;settingsList.value=Object.keys(settingsValues.value).reduce((res,name)=>({...res,[name]:{assigned:!1,assignedIn:[],value:settingsValues.value[name],options:settingsOptions.value[name],elementId:name.split(`.`)}}),{});function dive(items$2,cat,catIndex,level$1=0,parentId=``){for(let i=0;i{let values=name in applyValueFormatters?applyValueFormatters[name](value):{[name]:value};for(let key in name.startsWith(`debug_`)&&(customValues.debug[name.substring(6)]=value,name===`debug_visualization`&&(customValues.debug.visualization_prev&&api$1.engineLua(customValues.debug.visualization_prev),customValues.debug.visualization_prev=value,api$1.engineLua(value))),values)key in settings$1.values||delete values[key];Object.keys(values).length>0&&(logger_default.debug(`Applying:`,JSON.stringify(values)),settings$1.apply(values),updateCustom())};function dispose$2(){active=!1,settingsList.value={};for(let unwatch of watchers$1)unwatch();watchers$1.splice(0),settingsTimestamp.value=0,disposeSearch(),null?.dispose()}return provide(`settingsValues`,settingsValues),provide(`settingsOptions`,settingsOptions),provide(`settingsTimestamp`,settingsTimestamp),provide(`settingsList`,settingsList),provide(`conditions`,conditions),provide(`buildItemId`,buildItemId),{init:init$3,dispose:dispose$2,versions:VERSIONS,version:VERSIONS[0],settings:settings$1,settingsList,settingsValues,settingsOptions,settingsTimestamp,applySetting,buildItemId,layout,conditions,editable:!1,editor:null,searchText,searchResults,searchTemplates:{message:(...args)=>searchTemplates.message(layout,...args),headers:(...args)=>searchTemplates.headers(layout,...args),group:(...args)=>searchTemplates.group(layout,...args)}}}var _hoisted_1$19={class:`options-wrapper`,"bng-ui-scope":`options`},_hoisted_2$13={class:`options-heading`},_hoisted_3$12={key:0,class:`options-container`},_hoisted_4$9={class:`background`},_hoisted_5$8={class:`options-content-wrapper`},_hoisted_6$5={class:`options-message`},_hoisted_7$5={class:`message-content`},_hoisted_8$3={key:1,class:`options-categories`},_hoisted_9$2={key:0,class:`categories-divider`},_hoisted_10$1={key:2,class:`options-container`},_hoisted_11$1={class:`options-subcategories`},_hoisted_12$1={class:`background`},_hoisted_13$1={key:0,class:`categories-divider`},_hoisted_14$1={key:1,class:`categories-spacer`},_hoisted_15$1={key:0,class:`categories-spacer`},_hoisted_16$1={key:1,class:`categories-divider`},_hoisted_17$1={class:`options-content-wrapper`},_hoisted_18$1={key:0,class:`options-add-item`},_hoisted_19$1={key:1,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_20$1={key:2,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_21$1={class:`background`},_hoisted_22$1=[`innerHTML`],_hoisted_23$1={key:0,class:`options-info-fps`},_sfc_main$23={__name:`OptionsView`,props:{category:String},setup(__props){useUINavScope(`options`);let router$1=useRouter(),route=useRoute(),{api:api$1}=useBridge(),options=useOptions(),loaded=ref(!1),itemsContainer=ref(null),activeScope=ref(``),props=__props;provide(`version`,options.version);let EditUI=ref(null),itemEdit=(...args)=>EditUI.value?.functions.itemEdit?.(...args),categoryEdit=(...args)=>EditUI.value?.functions.categoryEdit?.(...args),catItemsPaste=(...args)=>EditUI.value?.functions.catItemsPaste?.(...args);provide(`EditUI`,EditUI);let editable=ref(!1);provide(`editable`,editable);let categories=computed(()=>options.layout.value.items||[]),categoryIds=computed(()=>categories.value.map(cat=>cat.categoryId)),categoryIndex=ref(-1);provide(`categoryIndex`,categoryIndex);let allCategories=computed(()=>{let cats=[...categories.value].map(cat=>({...cat})),startIndex=0;for(let i=0;istartIndex&&(cats[ri].subcategoryMode=hadSpacer?`none`:ri===i?`last`:ri===startIndex+1?`first`:`middle`)}}else startIndex=i,cat.indexRange=[i,i]}let hidden=[];for(let cat of cats)if(!(!cat.condition_visible||cat.condition_visible in options.conditions&&options.conditions[cat.condition_visible](options.settingsValues.value)))if(cat.subcategory)hidden.push(cat.categoryIndex);else for(let i=cat.indexRange[0];i<=cat.indexRange[1];i++)hidden.push(i);return options.editable?cats.map(cat=>(cat.hiddenByCondition=hidden.includes(cat.categoryIndex),cat.debugSettings=cat.condition_visible===`__notForShipping`,cat)):hidden.length>0?cats.filter(cat=>!hidden.includes(cat.categoryIndex)):cats}),categoriesView=computed(()=>allCategories.value.filter(cat=>!cat.subcategory&&!cat.persistent&&!cat.spacer)),categoryRange=computed(()=>categoriesView.value.find(cat=>categoryIndex.value>=cat.indexRange[0]&&categoryIndex.value<=cat.indexRange[1])?.indexRange||[categoryIndex.value,categoryIndex.value]),subcategoriesView=computed(()=>{let res=categoryIndex.value===-1?[]:allCategories.value.filter(cat=>!cat.persistent&&cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1]);return res.length>0&&(res[0]={...res[0],label:`ui.options.general`}),res}),persistentView=computed(()=>allCategories.value.filter(cat=>cat.persistent)),itemsNew=ref([]),itemsNewShow=ref(!1),itemsNewView=computed(()=>itemsNewShow.value?itemsNew.value:[]);options.editor&&watch(options.layout,()=>itemsNew.value.splice(0));function renderNewOptions(doRender=!0){if(itemsNewShow.value=doRender,!doRender||itemsNew.value.length>0)return;function dive(parent){if(parent.version!==options.version)for(let i=parent.items.length-1;i>=0;i--){let item=parent.items[i];item.items&&(item.items.length>0&&dive(item),item.items.length>0)||item.version!==options.version&&parent.items.splice(i,1)}}let layout=JSON.parse(JSON.stringify(options.layout.value.items));for(let i=layout.length-1;i>=0;i--){let cat=layout[i];dive(cat),cat.items.length>0&&itemsNew.value.push(options.searchTemplates.group(cat.label,cat.icon,cat.items))}}provide(`renderNewOptions`,renderNewOptions);let itemsView=computed(()=>[...categoryIndex.value>-1&&categoryIndex.value{renderNewOptions(!1),categoryIndex.value>-1&&(special.value=null,searchActive.value=!1,options.searchText.value=``),itemsContainer.value&&itemsContainer.value.scrollTo({top:0,behavior:`instant`})}),watch(special,()=>{special.value&&(categoryIndex.value=-1,searchActive.value=!1,options.searchText.value=``)});let searchActive=ref(!1),searchFocused=ref(!1);watch(searchFocused,focused$1=>{focused$1?(searchActive.value=!0,categoryIndex.value=-1,special.value=null):options.searchText.value.length===0&&(searchActive.value=!1,categoryIndex.value=0)});let elCategories=ref(null),elSearch=ref(null),elSearchBinding=ref(null);watch(()=>elSearch.value?.scopeActivated,active=>{activeScope.value=active?``:`content`});function toSearchAndBack(){elSearch.value&&(elSearch.value.scopeActivated=!elSearch.value.scopeActivated)}function fromContent(){searchActive.value?elSearch.value.scopeActivated=!0:activeScope.value=`subcategories`}function mainCatNav(evt){!elCategories.value||!evt.detail||(options.searchText.value=``,elSearch.value.scopeActivated=!1,searchActive.value=!1,activeScope.value=`subcategories`,evt.detail.name===`tab_l`?elCategories.value.activatePrev():evt.detail.name===`tab_r`&&elCategories.value.activateNext(),evt.stopPropagation())}function catNavigate(cat){cat.reroute?window.bngVue.gotoAngularState(cat.reroute):categoryIndex.value!==cat.categoryIndex&&(categoryIndex.value=cat.categoryIndex)}provide(`goToSetting`,(catIndex,itemId)=>{categoryIndex.value=catIndex,nextTick(()=>{let elm=document.getElementById(itemId);elm?(elm.scrollIntoView({behavior:`smooth`,block:`center`}),elm.classList.add(`options-setting-highlight`),setTimeout(()=>elm?.classList.remove(`options-setting-highlight`),5e3)):logger_default.warn(`Setting item not found: ${itemId}`)})});function onChange(data,value){options.applySetting(data.setting,value);let lua;switch(data.itemType){case`checkbox`:value===!0||value===`enable`?lua=data.lua:(value===!1||value===`disable`)&&(lua=data.luaOff);break;default:lua=data.lua}lua&&runLua(lua,value)}function onClick(data){data.lua&&runLua(data.lua)}function runLua(code,value=void 0){code.toLowerCase().includes(`%value%`)&&value!==void 0&&(code=code.replace(/%value%/gi,api$1.serializeToLua(value))),code.toLowerCase().includes(`%values%`)&&(code=code.replace(/%values%/gi,api$1.serializeToLua(options.settings.values)));let isLua=!code.startsWith(`$`);logger_default.log(`Running ${isLua?`lua`:`script`}: ${code}`),isLua?api$1.engineLua(code):api$1.engineScript(code)}function updateRoute(){if(!loaded.value||route.path!==`/options`&&!route.path.startsWith(`/options/`))return;let newRoute={name:`options`};categoryIndex.value>-1&&categoryIndex.valuecategoryIndex.value,(index,oldIndex)=>{index>-1?(special.value=null,updateRoute(),options.editor?.clearSelection(),showCategoryInfo(index,categories.value[index]?.categoryInfo),showCategoryInfo(oldIndex)):showCategoryInfo(oldIndex)}),watch(()=>special.value,val=>{val&&(categoryIndex.value=-1,updateRoute())});function selectDefaultCategory(){if(categories.value.length===0)return!1;if(props.category){let catIndex=categoryIds.value.indexOf(props.category);catIndex>-1?categoryIndex.value=catIndex:special.value=props.category}else categoryIndex.value=0;return!0}let elInfo=ref(),infos=new Map,infoHidden=ref(!1),infoView=ref([]);function showInfo(id,text=void 0){if(infos.has(id))if(text){if(infos.get(id)===text)return}else infos.delete(id);else if(!text)return;text&&infos.set(id,text),infos.size===0?infoView.value=[]:infoView.value=Array.from(infos.entries()).sort((a$1,b)=>a$1[0]-b[0]).map(tip=>({id:tip[0],text:tip[1]}))}function onResize(){elInfo.value&&(infoHidden.value=window.getComputedStyle(elInfo.value).display===`none`)}let unwatchResize=watch(elInfo,()=>{elInfo.value&&(unwatchResize(),onResize())});provide(`showInfo`,showInfo),provide(`infoHidden`,infoHidden);let fps=ref(`?`),fpsShown=ref(!1),fpsTimer;function showFps(show=!0){if(fpsShown.value=show,fpsTimer)show||(clearInterval(fpsTimer),fps.value=`?`,fpsTimer=null);else if(show){let fpsUpdate=()=>{infoHidden.value||api$1.engineLua(`getConsoleVariable("fps::avg")`,val=>fps.value=val?Number(val).toFixed(1):`?`)};fpsTimer=setInterval(fpsUpdate,500),fpsUpdate()}}let catInfoFuncs={fps:showFps},catInfoStack=new Map;function showCategoryInfo(id,info=void 0){if(!id)return;catInfoStack.has(id)&&!info?catInfoStack.delete(id):info&&catInfoStack.set(id,info);let infos$1=Array.from(catInfoStack.values()).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);for(let[name,func]of Object.entries(catInfoFuncs))func(infos$1.includes(name))}function disposeCategoryInfo(){for(let func of Object.values(catInfoFuncs))func(!1)}function back(){editable.value?editable.value=!1:window.bngVue.gotoAngularState(`menu.mainmenu`)}return onBeforeMount(async()=>{api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.pushPauseRequest('options') end`)}),onMounted(()=>{if(options.init().then(()=>{loaded.value=!0,nextTick(()=>activeScope.value=`subcategories`)}),!selectDefaultCategory()){let unwatchCats=watch(categories,()=>selectDefaultCategory()&&unwatchCats())}window.addEventListener(`resize`,onResize)}),onUnmounted(()=>{options.searchText.value=``,window.removeEventListener(`resize`,onResize),disposeCategoryInfo(),options.dispose(),api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.popPauseRequest('options') end`)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$19,[createBaseVNode(`div`,_hoisted_2$13,[createVNode(unref(bngScreenHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.options.options`)),1)]),_:1}),unref(options).editor&&EditUI.value?(openBlock(),createBlock(resolveDynamicComponent(EditUI.value.default),{key:0,options:unref(options),categories:categories.value,"category-index":categoryIndex.value,"onUpdate:categoryIndex":_cache[0]||=$event=>categoryIndex.value=$event,special:special.value,"onUpdate:special":_cache[1]||=$event=>special.value=$event,editable:editable.value,"onUpdate:editable":_cache[2]||=$event=>editable.value=$event},null,40,[`options`,`categories`,`category-index`,`special`,`editable`])):createCommentVNode(``,!0)]),loaded.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_3$12,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_4$9,null,512),[[unref(BngBlur_default)]]),createBaseVNode(`div`,_hoisted_5$8,[createBaseVNode(`div`,_hoisted_6$5,[createBaseVNode(`div`,_hoisted_7$5,toDisplayString(_ctx.$t(`ui.repository.loading`)),1)])])])),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_8$3,[createVNode(unref(bngOverflowContainer_default),{ref_key:`elCategories`,ref:elCategories,class:`categories-container`,"initial-index":0,"use-bindings-only":``},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(categoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_9$2)):(openBlock(),createBlock(CategoryTop_default,{key:1,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1],icon:cat.icon,onClick:$event=>catNavigate(cat,!1),"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`icon`,`onClick`,`hidden-by-condition`,`debug-settings`,`editable`]))],64))),128))]),_:1},512),createBaseVNode(`div`,{class:normalizeClass([`options-search-input`,{"search-active":searchActive.value}])},[createVNode(unref(bngBinding_default),{ref_key:`elSearchBinding`,ref:elSearchBinding,class:`search-binding`,"ui-event":`context`,controller:``},null,512),createVNode(unref(bngInputNew_default),{ref_key:`elSearch`,ref:elSearch,class:`search-input`,modelValue:unref(options).searchText.value,"onUpdate:modelValue":_cache[3]||=$event=>unref(options).searchText.value=$event,modelModifiers:{trim:!0},"leading-icon":elSearchBinding.value?.displayed?null:unref(icons).search,"floating-label":_ctx.$tt(`ui.common.search`),"show-external-button":searchActive.value,onFocus:_cache[4]||=$event=>searchFocused.value=!0,onBlur:_cache[5]||=$event=>searchFocused.value=!1},null,8,[`modelValue`,`leading-icon`,`floating-label`,`show-external-button`])],2)])):createCommentVNode(``,!0),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_10$1,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_11$1,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_12$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(subcategoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_13$1)):cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_14$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat),onFocus:$event=>catNavigate(cat,!1)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`subcategory`,`icon`,`hidden-by-condition`,`debug-settings`,`onClick`,`onFocus`]))],64))),128)),subcategoriesView.value.length===0&&allCategories.value[categoryIndex.value]?.persistent?(openBlock(),createBlock(CategorySide_default,{key:0,icon:allCategories.value[categoryIndex.value].icon,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(allCategories.value[categoryIndex.value].label)),1)]),_:1},8,[`icon`])):createCommentVNode(``,!0),searchActive.value?(openBlock(),createBlock(CategorySide_default,{key:1,icon:`search`,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.common.search`)),1)]),_:1})):special.value===`categories-edit`?(openBlock(),createBlock(CategorySide_default,{key:2,icon:`listIndented`,selected:``},{default:withCtx(()=>[..._cache[11]||=[createTextVNode(`Edit categories`,-1)]]),_:1})):createCommentVNode(``,!0),persistentView.value.length>0?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[13]||=createBaseVNode(`div`,{class:`categories-spacer`},null,-1),editable.value&&special.value===`categories-edit`?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(persistentView.value,cat=>(openBlock(),createBlock(CategorySide_default,{key:`cat-`+cat.categoryIndex,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:``,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))),128)),createVNode(CategorySide_default,{icon:`plus`,onClick:_cache[6]||=$event=>categoryEdit(`add`,!0),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[12]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(persistentView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_15$1)):cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_16$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`selected`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))],64))),128))],64)):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{activated:!searchActive.value&&activeScope.value===`subcategories`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),()=>activeScope.value=`content`,`ok`,{focusRequired:!0}]]),withDirectives((openBlock(),createElementBlock(`div`,_hoisted_17$1,[createVNode(BlurBackground_default,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,8,[`class`]),withDirectives(createBaseVNode(`div`,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,2),[[unref(BngBlur_default)]]),categoryIndex.value>-1?withDirectives((openBlock(),createElementBlock(`div`,{key:0,ref_key:`itemsContainer`,ref:itemsContainer,class:`options-content`,"bng-ui-scope":`options-content`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`item-`+categoryIndex.value*1e5+`-`+index,parent:categories.value[categoryIndex.value],index,level:0,data:item,onClick,onChange,onEditCmd:itemEdit},null,8,[`parent`,`index`,`data`]))),128)),editable.value?(openBlock(),createElementBlock(`div`,_hoisted_18$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).plus,onClick:_cache[7]||=$event=>unref(options).editor.itemAdd(categories.value[categoryIndex.value])},{default:withCtx(()=>[..._cache[14]||=[createTextVNode(`Add new item`,-1)]]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).addListItem,disabled:!unref(options).editor.clipItems.value.length,onClick:_cache[8]||=$event=>catItemsPaste()},{default:withCtx(()=>[createTextVNode(`Paste `+toDisplayString(unref(options).editor.clipTitle.value),1)]),_:1},8,[`accent`,`icon`,`disabled`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(options).editor.selectedItems.value.size>0?unref(icons).checkboxOn:unref(icons).checkboxOff,onClick:_cache[9]||=$event=>unref(options).editor.itemSelectAll(categories.value[categoryIndex.value])},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(options).editor.selectedItems.value.size>0?`Deselect all`:`Select all`),1)]),_:1},8,[`accent`,`icon`])])):createCommentVNode(``,!0)])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):searchActive.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_19$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(options).searchResults.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`search-`+index,index,level:0,data:item,onClick,onChange},null,8,[`index`,`data`]))),128))])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):special.value===`categories-edit`?(openBlock(),createElementBlock(`div`,_hoisted_20$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(allCategories.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.persistent?createCommentVNode(``,!0):(openBlock(),createBlock(CategorySide_default,{key:0,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`editable`,`onClick`]))],64))),128)),editable.value?(openBlock(),createBlock(CategorySide_default,{key:0,icon:`plus`,onClick:_cache[10]||=$event=>categoryEdit(`add`),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[15]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`elInfo`,ref:elInfo,class:normalizeClass([`options-info`,{"info-hidden":!!special.value}])},[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_21$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(infoView.value,tip=>(openBlock(),createElementBlock(`span`,{key:tip.id,innerHTML:tip.text},null,8,_hoisted_22$1))),128)),_cache[17]||=createBaseVNode(`div`,{class:`options-spacer`},null,-1),fpsShown.value?(openBlock(),createElementBlock(`div`,_hoisted_23$1,[_cache[16]||=createTextVNode(`FPS: `,-1),createBaseVNode(`span`,null,toDisplayString(fps.value),1)])):createCommentVNode(``,!0)],2)])),[[unref(BngScopedNav_default),{activated:activeScope.value===`content`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),fromContent,`back`],[unref(BngOnUiNav_default),back,`menu`]])])):createCommentVNode(``,!0)])),[[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),toSearchAndBack,`context`],[unref(BngUiNavLabel_default),`ui.common.search`,`context`]])}},OptionsView_default=__plugin_vue_export_helper_default(_sfc_main$23,[[`__scopeId`,`data-v-206a0fb3`]]),routes_default$12=[{path:`/options/:category?`,name:`options`,component:OptionsView_default,props:!0,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],cfg={background:[`var(--bng-black-o8)`,`var(--bng-black-o4)`],info:{icon:`var(--bng-cool-gray-500)`,iconSize:.15,label:`var(--bng-off-white)`,labelSize:.05,line:`var(--bng-cool-gray-700)`,lineSize:.0025,hotkey:`#aaa`,hotkeySize:.04,unfocusedColor:`var(--bng-cool-gray-500)`,focusedColor:`var(--bng-off-white)`},button:{top:.45,height:.175,margin:.004,corners:.03,background:`var(--bng-black)`,highlight:`var(--bng-ter-blue-gray-700)`,border:`var(--bng-cool-gray-700)`,borderHighlight:`var(--bng-cool-gray-500)`,borderSize:.0025,folder:`var(--bng-ter-blue-gray-900)`,folderTop:.45,folderHeight:.015,markerTop:.3,markerHeight:.025,marker:`var(--bng-orange)`,icon:`var(--bng-off-white)`,iconSize:.1,majorBackground:[`var(--bng-black)`,`var(--bng-ter-blue-gray-850)`],majorHighlight:[`var(--bng-ter-blue-gray-600)`,`var(--bng-ter-blue-gray-700)`],pinnedDotInvisible:{fill:`transparent`,stroke:`transparent`,r:4},markDotSolid:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`transparent`,r:4},markDotOutline:{fill:`transparent`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,r:3},markStar:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,"stroke-width":2,r:3,isStar:!0,starPoints:5,innerRadius:1.5,outerRadius:3}},pointer:{color:`var(--bng-orange)`,size:6}},size=500,pointerRadius=125,controlsHotkey=``,getHotkey=action=>{let viewerObj=controls_default().makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(`+`):``},RadialSVG=class{parent;svg;config;events;itemsCont;info;buttons;pointer;menuIcon=``;constructor(events$3={},config=cfg,element=void 0){this.events=events$3,this.config=config,element&&this.create(element)}create(element){this.parent!==element&&(this.parent=element,this.svg||([this.svg,this.itemsCont,this.info,this.pointer]=createSvg(this.config)),this.parent.appendChild(this.svg))}update(items$2=[]){!this.itemsCont||!this.info||(controlsHotkey=getHotkey(`menu_item_focus_ud`),this.buttons=updateSvg(this.itemsCont,this.info,items$2,this.events,this.config,this.buttons||[],this))}dispose(){this.parent&&(this.parent.removeChild(this.svg),this.parent=null,this.svg=null,this.itemsCont=null,this.info=null,this.buttons=null)}setPointer(x,y){if(!this.pointer)return;let magnitude=Math.sqrt(x*x+y*y);magnitude>.1?(x/=magnitude,y/=magnitude,this.pointer.setAttribute(`cx`,x*pointerRadius+size/2),this.pointer.setAttribute(`cy`,-y*pointerRadius+size/2),this.pointer.setAttribute(`display`,`block`)):this.pointer.setAttribute(`display`,`none`)}setMenuIcon(iconName){if(this.menuIcon=iconName,this.info){let iconGlyph=getIconGlyph(this.menuIcon);this.info.icon.textContent=iconGlyph}}},svgns=`http://www.w3.org/2000/svg`,xhtmlns=`http://www.w3.org/1999/xhtml`,pid=Math.PI*2,getIconGlyph=iconName=>(iconName&&iconName in icons?icons[iconName]:icons.beamNG).glyph,setAttrs=(elm,attrs)=>Object.entries(attrs).forEach(attr=>elm.setAttribute(...attr)),setStyles=(elm,styles)=>Object.entries(styles).forEach(rule=>elm.style.setProperty(...rule)),f2size=f=>f*size,getPoint=(turn,radius,center=[.5,.5])=>[center[0]+radius*Math.cos(turn*pid),center[1]+radius*Math.sin(turn*pid)].map(n=>f2size(n).toFixed(5)),drawLine=to=>` L ${to.join(`,`)} `,drawBezier=(control,to)=>` S ${control.join(`,`)} ${to.join(` `)} `,drawArc=(to,radius,invert=!1)=>` A ${radius} ${radius}, 0, 0, ${invert?`0`:`1`}, ${to.join(` `)} `;function createSimplePath(pos,rad,width$1,height$1){let d=`M ${getPoint(pos,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1,rad),f2size(rad),!1),d+=drawLine(getPoint(pos+width$1,rad-height$1)),d+=drawArc(getPoint(pos,rad-height$1),f2size(rad-height$1),!0),d+=drawLine(getPoint(pos,rad)),d+=`Z`,d}function createPath({pos,rad,width:width$1,height:height$1,corner,padout,padin}){corner>height$1&&(corner=height$1);let corh=corner*rad/Math.PI,corv=corner*rad,d=`M ${getPoint(pos+padout+corh,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1-padout-corh,rad),f2size(rad),!1),d+=drawBezier(getPoint(pos+width$1-padout,rad),getPoint(pos+width$1-padout,rad-corv)),d+=drawLine(getPoint(pos+width$1-padout-padin,rad-height$1+corv)),d+=drawBezier(getPoint(pos+width$1-padout-padin,rad-height$1),getPoint(pos+width$1-padout-corh-padin,rad-height$1)),d+=drawArc(getPoint(pos+padout+corh+padin,rad-height$1),f2size(rad-height$1),!0),d+=drawBezier(getPoint(pos+padout+padin,rad-height$1),getPoint(pos+padout+padin,rad-height$1+corv)),d+=drawLine(getPoint(pos+padout,rad-corv)),d+=drawBezier(getPoint(pos+padout,rad),getPoint(pos+padout+corh,rad)),d+=`Z`,d}function updateSvg(cont,info,items$2,events$3,config=cfg,buttons=[],radialInstance=null){let btns=[...buttons||[]],elmsRem=btns.splice(items$2.length);for(let elm of elmsRem)cont.removeChild(elm.element);if(items$2.length<1)return null;for(let index=btns.length;indexicon,file:icon=>`/ui/modules/apps/RadialMenu/mods_icons/`+icon,symbol:icon=>`#`+({radial_Drift_ESC:`radial_drift_ESC`,radial_Sport_ESC:`radial_sport_ESC`,radial_Regular_ESC:`radial_regular_ESC`,radial_ESC:`radial_regular_ESC`}[icon]||icon)};function createButton(index,info,config,item){let btn={index},majorGradId=uniqueSafeId(),majorHighlightGradId=uniqueSafeId(),control=document.createElementNS(svgns,`g`);btn.element=control;function createGradient(id,colors){let grad=document.createElementNS(svgns,`radialGradient`);return setAttrs(grad,{id,cx:`0.5`,cy:`0.5`,r:`0.5`,fx:`0.5`,fy:`0.5`}),colors.forEach((color,index$1)=>{let stop$1=document.createElementNS(svgns,`stop`);setAttrs(stop$1,{offset:index$1/(colors.length-1),"stop-color":color}),grad.appendChild(stop$1)}),grad}let defs=document.createElementNS(svgns,`defs`);defs.appendChild(createGradient(majorGradId,config.button.majorBackground)),defs.appendChild(createGradient(majorHighlightGradId,config.button.majorHighlight)),control.appendChild(defs);let button=document.createElementNS(svgns,`path`);config.button.border&&config.button.borderSize>0&&setAttrs(button,{stroke:config.button.border,"stroke-width":f2size(config.button.borderSize)}),control.appendChild(button);let folder=document.createElementNS(svgns,`path`);folder.setAttribute(`fill`,config.button.folder),control.appendChild(folder);let marker$1=document.createElementNS(svgns,`path`);marker$1.setAttribute(`fill`,`none`),control.appendChild(marker$1);let pinnedDot=document.createElementNS(svgns,`circle`);setAttrs(pinnedDot,config.button.markDotSolid),pinnedDot.setAttribute(`style`,`display: none`),control.appendChild(pinnedDot);let starPath=document.createElementNS(svgns,`path`),starConfig=config.button.markStar,points=starConfig.starPoints||5,innerRadius=starConfig.innerRadius||1.5,outerRadius=starConfig.outerRadius||3,starPathData=``;for(let i=0;ion?iconRect.removeAttribute(`style`):iconRect.setAttribute(`style`,`display: none`),setGlyph=glyph=>iconText.textContent=glyph||``,setImage=path=>{path?(iconImage.setAttribute(`href`,path),iconImage.removeAttribute(`style`)):(iconImage.removeAttribute(`href`),iconImage.setAttribute(`style`,`display: none`))},setSymbol=id=>{id?(iconMask.setAttribute(`mask-type`,`luminocity`),iconSymbol.setAttribute(`href`,id),iconSymbol.removeAttribute(`style`)):(iconMask.setAttribute(`mask-type`,`alpha`),iconSymbol.removeAttribute(`href`),iconSymbol.setAttribute(`style`,`display: none`))},itype=iconType(item$1.icon);switch(itype){case`glyph`:setGlyph(getIconGlyph(item$1.icon)),setRect(!1),setImage(),setSymbol();break;case`symbol`:setImage(),setSymbol(iconGet[itype](item$1.icon)),setRect(!0),setGlyph();break;default:setImage(iconGet[itype](item$1.icon)),setSymbol(),setRect(!0),setGlyph();break}}let hitzone=document.createElementNS(svgns,`path`);setAttrs(hitzone,{fill:`transparent`,style:`pointer-events: fill`}),control.appendChild(hitzone);function updateHitzone(position,length,config$1){hitzone.setAttribute(`d`,createSimplePath(position-length/2,config$1.button.top,length,config$1.button.height))}function updateEvents$1(events$3,radialInstance){btn._handlers&&(hitzone.removeEventListener(`mouseover`,btn._handlers.focus),hitzone.removeEventListener(`mouseleave`,btn._handlers.blur),hitzone.removeEventListener(`click`,btn._handlers.click),hitzone.removeEventListener(`mousedown`,btn._handlers.down),hitzone.removeEventListener(`mouseup`,btn._handlers.up),hitzone.removeEventListener(`contextmenu`,btn._handlers.contextMenu));let item$1=btn.item,index$1=btn.index;return btn.menuIcon=radialInstance?.menuIcon||``,btn._handlers={focus(){if(item$1.focused&&btn._focused)return;let highlightFill=item$1.majorButton?`url(#${majorHighlightGradId})`:config.button.highlight;button.setAttribute(`fill`,highlightFill),button.setAttribute(`stroke`,config.button.borderHighlight),marker$1.setAttribute(`fill`,config.button.marker);let itype=iconType(item$1.icon);itype===`glyph`?(setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.focusedColor}),info.icon.textContent=getIconGlyph(item$1.icon)):(info.icon.textContent=``,itype===`symbol`&&info.iconSymbol.setAttribute(`href`,iconGet[itype](item$1.icon)),setStyles(info.icon,{"background-color":config.info.icon,"-webkit-mask-image":itype===`symbol`?`url('#${info.iconMaskId}')`:`url('${iconGet[itype](item$1.icon)}')`})),info.label.textContent=typeof item$1.title==`string`?$translate.contextTranslate({txt:item$1.title,context:item$1.context}):$translate.contextTranslate(item$1.title),info.label.style.color=config.info.focusedColor,info.price.textContent=item$1?.price?.money?.amount===void 0?``:item$1.price.money.amount+` `,info.hotkey.textContent=item$1.hotkey||``,info.cont.removeAttribute(`style`),item$1.focused=!0,btn._focused=!0,typeof events$3.focus==`function`&&events$3.focus(item$1,index$1)},blur(){if(!item$1.focused&&!btn._focused)return;let normalFill=item$1.majorButton?`url(#${majorGradId})`:config.button.background;button.setAttribute(`fill`,normalFill),button.setAttribute(`stroke`,config.button.border),marker$1.setAttribute(`fill`,`none`),setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.unfocusedColor});let iconGlyph=getIconGlyph(btn.menuIcon);info.icon.textContent=iconGlyph,info.label.textContent=`Select an option`,info.price.textContent=``,info.hotkey.textContent=controlsHotkey,info.label.style.color=config.info.unfocusedColor,item$1.focused=!1,btn._focused=!1,typeof events$3.blur==`function`&&events$3.blur(item$1,index$1)},click(evt){evt&&evt.stopPropagation(),!(!item$1.enabled||!events$3||evt&&!evt.fromController&&evt.type!==`ui_nav`)&&(btn._handlers.isDown=!1,typeof events$3.click==`function`&&events$3.click(item$1,index$1))},down(evt){!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!0,typeof events$3.down==`function`&&events$3.down(item$1,index$1))},up(evt){!btn._handlers.isDown||!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!1,typeof events$3.up==`function`&&events$3.up(item$1,index$1))},contextMenu(evt){evt&&evt.stopPropagation(),events$3&&typeof events$3.contextAction==`function`&&events$3.contextAction(item$1,index$1)}},hitzone.addEventListener(`mouseover`,btn._handlers.focus),hitzone.addEventListener(`mouseleave`,btn._handlers.blur),hitzone.addEventListener(`click`,btn._handlers.click,!0),hitzone.addEventListener(`mousedown`,btn._handlers.down),hitzone.addEventListener(`mouseup`,btn._handlers.up),hitzone.addEventListener(`contextmenu`,btn._handlers.contextMenu),btn._handlers}function updateEnable(item$1){item$1.enabled?(hitzone.setAttribute(`cursor`,`pointer`),control.removeAttribute(`opacity`)):(hitzone.removeAttribute(`cursor`),control.setAttribute(`opacity`,`0.5`))}return btn.update=(item$1,events$3=void 0,radialInstance=null)=>{btn.item=item$1;let length=Math.min(item$1.size,.5),position=(item$1.position-.5)%1;updateButton(position,length,config,item$1),updateHitzone(position,length,config),updateIcon(position,length,config,item$1),updateEnable(item$1),btn._handlers=updateEvents$1(events$3,radialInstance),Object.assign(btn,btn._handlers),(item$1.focused||btn._focused)&&btn._handlers.focus()},btn}function createSvg(config=cfg){let svg=document.createElementNS(svgns,`svg`);setAttrs(svg,{viewBox:`0 0 ${size} ${size}`,width:`100%`,height:`100%`,preserveAspectRatio:`xMidYMid meet`,style:`pointer-events: none`});let gradId=Array.isArray(config.background)?uniqueSafeId():null;if(gradId){let grad=document.createElementNS(svgns,`radialGradient`);grad.setAttribute(`id`,gradId);for(let i=0;i{evt.stopPropagation()},!0),svg.appendChild(bg);let nfo={cont:document.createElementNS(svgns,`foreignObject`),body:document.createElementNS(xhtmlns,`body`),wrap:document.createElementNS(xhtmlns,`div`),icon:document.createElementNS(xhtmlns,`div`),iconSymbol:document.createElementNS(svgns,`use`),iconMaskId:uniqueSafeId(),label:document.createElementNS(xhtmlns,`div`),price:document.createElementNS(xhtmlns,`div`),hotkey:document.createElementNS(xhtmlns,`div`)},foMinSize=200,nfoSize=size>=200?size:200;setAttrs(nfo.cont,{style:`display: none`,width:nfoSize,height:nfoSize}),size<200&&nfo.cont.setAttribute(`transform`,`scale(${size*.005})`),nfo.body.setAttribute(`xmlns`,xhtmlns),setStyles(nfo.body,{width:`100%`,height:`100%`}),setStyles(nfo.wrap,{width:`${nfoSize*.5}px`,height:`${nfoSize*.4}px`,margin:`${nfoSize*.3}px ${nfoSize*.25}px`,display:`flex`,"flex-direction":`column`,"align-items":`center`,"justify-content":`space-between`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.icon,{color:config.info.icon,"font-size":`${config.info.iconSize*nfoSize}px`,"font-family":`bngIcons`,width:`${config.info.iconSize*nfoSize}px`,height:`${config.info.iconSize*nfoSize}px`,"-webkit-mask-image":`none`,"-webkit-mask-size":`contain`,"-webkit-mask-position":`50% 50%`,"-webkit-mask-repeat":`no-repeat`,"background-color":`transparent`});let iconSvg=document.createElementNS(svgns,`svg`);setAttrs(iconSvg,{viewBox:`0 0 ${config.info.iconSize*nfoSize} ${config.info.iconSize*nfoSize}`,width:`0`,height:`0`,style:`position: absolute;`});let iconMask=document.createElementNS(svgns,`mask`);setAttrs(iconMask,{id:nfo.iconMaskId,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`,"mask-type":`luminocity`}),setAttrs(nfo.iconSymbol,{x:`0`,y:`0`,width:config.info.iconSize*nfoSize,height:config.info.iconSize*nfoSize,fill:`#fff`}),iconMask.appendChild(nfo.iconSymbol),iconSvg.appendChild(iconMask),setStyles(nfo.label,{"min-height":`2em`,width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*nfoSize}px`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.price,{width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*.8*nfoSize}px`,"font-family":`bngIcons, var(--fnt-defs)`}),setStyles(nfo.hotkey,{width:`80%`,"text-align":`center`,"padding-top":`1px`,"min-height":`${config.info.hotkeySize*nfoSize+10}px`,"border-top":`${config.info.lineSize*nfoSize}px solid ${config.info.line}`,color:config.info.hotkey,"font-size":`${config.info.hotkeySize*nfoSize}px`,"font-family":`bngIcons, "Noto Sans Mono", var(--fnt-defs)`}),nfo.wrap.appendChild(iconSvg),nfo.wrap.appendChild(nfo.icon),nfo.wrap.appendChild(nfo.label),nfo.wrap.appendChild(nfo.price),nfo.wrap.appendChild(nfo.hotkey),nfo.body.appendChild(nfo.wrap),nfo.cont.appendChild(nfo.body),svg.appendChild(nfo.cont);let cont=document.createElementNS(svgns,`g`);svg.appendChild(cont);let pointer=document.createElementNS(svgns,`circle`);return setAttrs(pointer,{r:config.pointer.size,fill:config.pointer.color,display:`none`}),svg.appendChild(pointer),nfo.icon.textContent=getIconGlyph(svg.menuIcon),nfo.label.textContent=`Select an option`,nfo.price.textContent=``,nfo.label.style.color=config.info.unfocusedColor,controlsHotkey=getHotkey(`menu_item_focus_ud`),nfo.hotkey.textContent=controlsHotkey,nfo.cont.removeAttribute(`style`),[svg,cont,nfo,pointer]}var _hoisted_1$18={class:`radial-infos`},_hoisted_2$12={class:`radial-breadcrumbs`},_hoisted_3$11={key:0,class:`radial-categories`},_hoisted_4$8={class:`radial-plate`},_hoisted_5$7={class:`radial-category-label`},_hoisted_6$4={key:0,class:`radial-quick-tabs`},_hoisted_7$4={key:1,class:`radial-description`},sensivity=.5,_sfc_main$22={__name:`Radial`,setup(__props){useUINavScope(`radialMenu`);let infobar=useInfoBar(),controls$1=controls_default(),events$3=useEvents(),radialData=ref({}),temporaryHidden=ref(!1),breadcrumbs=computed(()=>radialData.value&&radialData.value.breadcrumbs&&Array.isArray(radialData.value.breadcrumbs)?radialData.value.breadcrumbs.map(str=>$translate.instant(str)).join(` / `):``),focusedItem=computed(()=>{let items$2=radialData?.value?.items;return items$2&&Array.isArray(items$2)?items$2.find(item=>item.focused):null}),hasLRShoulderButtons=computed(()=>radialData.value&&radialData.value.hasLRShoulderButtons),radialSvg=new RadialSVG({click:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},down:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},focus:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`)},contextAction:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.contextAction(index+1,!0,1)}}),radialCont=ref(),requestData=async()=>{radialData.value=await Lua_default.core_quickAccess.getUiData();let items$2=Array.isArray(radialData.value.items)?radialData.value.items:[];for(let item of items$2)item.hotkey=getHotkey$1(item.action);radialSvg.setMenuIcon(radialData.value.menuIcon||`beamNG`),radialSvg.update(items$2)},getHotkey$1=action=>{let viewerObj=controls$1.makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(``):``},setLevel=level$1=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.setEnabled(!0,level$1,!1)},close=()=>{Lua_default.core_quickAccess.setEnabled(!1,``,!1)},back=()=>{radialData.value.backButtonIndex?Lua_default.core_quickAccess.back():close()},switchCategory=left=>{let indexOffset=left?-1:1;for(let i=0;i{let actions=radialData.value.items;for(let i=0;i{if(radialData.value.categories.length>0){switchCategory(evt.detail.name===`tab_l`);return}LRAction(evt.detail.name)},processMouseClick=evt=>{if(!radialSvg.buttons)return;let elm=radialSvg?.buttons?.find(elm$1=>elm$1._focused)||radialSvg?.buttons?.find(elm$1=>elm$1.item.focused);return evt.detail.name===`context`?elm&&elm.contextMenu(evt):elm&&elm.click(evt),elm},isStickActive=(x,y)=>Math.sqrt(x**2+y**2)>sensivity,pointToItem=(x,y)=>{if(!radialSvg.buttons)return;let len=radialSvg.buttons.length,idx=-1;if(radialSvg.setPointer(x,y),x!==0||y!==0){let cursorPos=.5-Math.atan2(y,x)/Math.PI/2;for(let i=0;i=startPos&&cursorPos=startPos||cursorPos-1&&idx{evt.detail.name===`focus_ud`?stickY=evt.detail.value:stickX=evt.detail.value;let stickActiveBefore=stickActive;stickActive=isStickActive(stickX,stickY),stickActive&&pointToItem(stickX,stickY),!stickActive&&stickActiveBefore&&pointToItem(0,0)},dpadX=0,dpadY=0,processDpadInput=evt=>{switch(evt.detail.name){case`focus_l`:dpadX=-evt.detail.value;break;case`focus_r`:dpadX=evt.detail.value;break;case`focus_u`:dpadY=evt.detail.value;break;case`focus_d`:dpadY=-evt.detail.value;break}dpadX=0+ +dpadX,dpadY=0+ +dpadY,pointToItem(dpadX,dpadY)},openFavoriteSelector=()=>{if(radialData.value.pathBeforeCategory===`favorites`){for(let i=0;i{let isOnComponents=event.target.closest(`.radial-categories, .radial-svg, .radial-tab-left, .radial-tab-right`);event.isTrusted&&event.sourceCapabilities?.firesTouchEvents===!1&&!isOnComponents&&(event.button===0?close():event.button===2&&back())};events$3.on(`radialMenuUpdated`,requestData),events$3.on(`RadialTemporaryHide`,hide$2=>{temporaryHidden.value=hide$2}),onBeforeMount(()=>{infobar.clearHints()}),onMounted(()=>{infobar.visible=!0,radialSvg.create(radialCont.value),requestData()});let headingTitle=computed(()=>radialData.value?.breadcrumbs?.[0]?$translate.instant(radialData.value.breadcrumbs[0]):radialData.value?.items?.length?`Radial Menu`:`No Actions Available`),hasCategories=computed(()=>radialData.value?.categories&&(Array.isArray(radialData.value.categories)?radialData.value.categories.length>0:Object.keys(radialData.value.categories).length>0));return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`radial-menu`,{temporaryHidden:temporaryHidden.value}]),"bng-ui-scope":`radialMenu`,onMousedown:handleMouseDown},[createBaseVNode(`div`,_hoisted_1$18,[createVNode(bngCardHeading_default,{class:`radial-title`},{default:withCtx(()=>[createTextVNode(toDisplayString(headingTitle.value),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$12,toDisplayString(breadcrumbs.value),1),hasCategories.value?(openBlock(),createElementBlock(`div`,_hoisted_3$11,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,"ui-event":`tab_l`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),controller:``,onClick:_cache[0]||=$event=>switchCategory(!0)},null,8,[`style`]),createBaseVNode(`div`,_hoisted_4$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(radialData.value.categories,category=>withDirectives((openBlock(),createBlock(unref(bngImageTile_default),{key:category.id,onClick:$event=>setLevel(category.goto),tabindex:`0`,"bng-nav-item":``,class:normalizeClass([`radial-category`,{selected:category.id===radialData.value.selectedCategory}]),icon:unref(icons)[category.icon||`beamNG`]},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_5$7,toDisplayString(unref($translate).instant(category.title)),1)]),_:2},1032,[`onClick`,`class`,`icon`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])),128)),_cache[4]||=createBaseVNode(`div`,{class:`background-plate`},null,-1)]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,"ui-event":`tab_r`,controller:``,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),onClick:_cache[1]||=$event=>switchCategory(!1)},null,8,[`style`])])):createCommentVNode(``,!0)]),hasLRShoulderButtons.value?(openBlock(),createElementBlock(`div`,_hoisted_6$4,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),"ui-event":`tab_l`,controller:``,onClick:_cache[2]||=$event=>LRAction(`tab_l`)},null,8,[`style`]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),"ui-event":`tab_r`,controller:``,onClick:_cache[3]||=$event=>LRAction(`tab_r`)},null,8,[`style`])])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`radialCont`,ref:radialCont,class:`radial-svg`},null,512),focusedItem.value?.desc?(openBlock(),createElementBlock(`div`,_hoisted_7$4,toDisplayString(unref(content_exports).bbcode.parse(unref($translate).contextTranslate(focusedItem.value.desc,!0))),1)):createCommentVNode(``,!0)],34)),[[unref(BngBlur_default),!temporaryHidden.value],[unref(BngOnUiNav_default),openFavoriteSelector,`context`],[unref(BngOnUiNav_default),back,`menu,back`],[unref(BngOnUiNav_default),processTabInput,`tab_l,tab_r`],[unref(BngOnUiNav_default),processStickInput,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{down:!0}],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{up:!0}],[unref(BngOnUiNav_default),processMouseClick,`ok,context`],[unref(BngUiNavLabel_default),radialData.value.backButtonIndex?`ui.common.back`:`ui.common.close`,`menu,back`],[unref(BngUiNavLabel_default),`Radial menu navigation`,`focus_lr,focus_ud,focus_l,focus_r,focus_u,focus_d`],[unref(BngUiNavLabel_default),`Select`,`ok`],[unref(BngUiNavLabel_default),`Configure Slot`,`context`],[unref(BngUiNavLabel_default),`Switch Category`,`tab_l,tab_r`]])}},Radial_default=__plugin_vue_export_helper_default(_sfc_main$22,[[`__scopeId`,`data-v-9330a4cb`]]),routes_default$13=[{path:`/radial`,name:`radial`,component:Radial_default,meta:{uiApps:{shown:!1}}}],routes_default$14=[{path:`/recovery`,name:`recovery`,component:Recovery_default,props:!0}],isFuelEnergyType=type=>[`gasoline`,`diesel`].includes(type);const useRefuelStore=defineStore(`refuel`,()=>{let{events:events$3}=useBridge(),minSlider=23,maxSlider=80,minEnergy=0,fuelOptions=[{id:1,value:0,name:`FuelType-1`},{id:2,value:1,name:`FuelType-2`},{id:3,value:2,name:`FuelType-3`}],energyTypes=ref([]),fuelTanks=ref([]),overallPrice=ref(0),flowRate=ref(0),currentEnergyType=ref(null),showFuelTypeSettings=ref(!1),showAmountSettings=ref(!1),energyTypesToLocalUnits=ref({}),gasStationName=ref(``),fuelDiscountData=ref({}),isFuelling=computed(()=>flowRate.value>0),currentFuelData=computed(()=>fuelTanks.value.filter(f=>f.energyType===currentEnergyType.value)[0]),currentFuelType=computed(()=>currentEnergyType.value===``?``:isFuelEnergyType(currentEnergyType.value)?`fuel`:`charge`),currentFuelLevel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergy/currentFuelData.value.maxEnergy:0),canRefuel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergycanRefuel.value===!0?isFuelling.value===!0?`on`:`off`:`disabled`),canPay=computed(()=>currentFuelData.value.price>0),canStartFuelling=computed(()=>isFuelling.value===!1&&canRefuel.value===!0),canStopFuelling=computed(()=>isFuelling.value===!0),minEnergyLabel=computed(()=>`0 `+getUnitLabel(currentEnergyType.value)),maxEnergyLabel=computed(()=>currentFuelData.value?(isFuelEnergyType(currentEnergyType.value)?convertToLocalUnit(currentFuelData.value.maxEnergy,currentEnergyType.value).toFixed(2):`100`)+` `+getUnitLabel(currentEnergyType.value):``);function getUnitLabel(energyType){return isFuelEnergyType(energyType)?getLocalUnitLabel(energyType):`%`}function getLocalUnit(energyType){return energyTypesToLocalUnits.value[energyType]?energyTypesToLocalUnits.value[energyType]:`L`}let unitToLabel={gallonUS:`gal`},factorSIToLocalUnit={gallonUS:.26417};function getLocalUnitLabel(energyType){let localUnit=getLocalUnit(energyType);return localUnit&&unitToLabel[localUnit]?unitToLabel[localUnit]:`L`}function convertToLocalUnit(valueSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?valueSI*(factorSIToLocalUnit[localUnit]||1):valueSI}function convertToPricePerLocalUnit(pricePerSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?pricePerSI/(factorSIToLocalUnit[localUnit]||1):pricePerSI}function startFuelling(){Lua_default.career_modules_fuel.uiButtonStartFueling(currentEnergyType.value)}function stopFuelling(){Lua_default.career_modules_fuel.uiButtonStopFueling(currentEnergyType.value)}function changeFlowRate(newFlowRate){flowRate.value=newFlowRate,Lua_default.career_modules_fuel.onChangeFlowRate(flowRate.value)}function payPrice(){Lua_default.career_modules_fuel.payPrice()}function requestFuelingData(){Lua_default.career_modules_fuel.requestRefuelingTransactionData(),runInBrowser(()=>getMockedData(`career.initialFuelingData`).then(data=>events$3.emit(`initialFuelingData`,data)))}function cancelTransaction(){console.log(`cancelTransaction`),Lua_default.career_modules_fuel.uiCancelTransaction()}function dispose$2(){events$3.off(`initialFuelingData`),events$3.off(`updateFuelData`)}return events$3.on(`initialFuelingData`,data=>{({fuelData:fuelTanks.value,energyTypes:energyTypes.value}=data),currentEnergyType.value=energyTypes.value[0],energyTypesToLocalUnits.value=data.energyTypesToLocalUnits,factorSIToLocalUnit.value=data.factorSIToLocalUnit,gasStationName.value=data.gasStationName,fuelDiscountData.value=data.fuelDiscountData||{},Lua_default.career_modules_fuel.sendUpdateDataToUI()}),events$3.on(`updateFuelData`,data=>{fuelTanks.value.length!==0&&(fuelTanks.value[0].currentEnergy=data.fuelData[0].currentEnergy,fuelTanks.value[0].fueledEnergy=data.fuelData[0].fueledEnergy,fuelTanks.value[0].price=data.fuelData[0].price,overallPrice.value=data.overallPrice,flowRate.value=data.fuelData[0].fuelingActive===!0?1:0)}),{currentFuelData,currentFuelLevel,currentFuelType,currentEnergyType,nozzleMode,overallPrice,isFuelling,energyTypes,canPay,canStartFuelling,canStopFuelling,fuelDiscountData,showFuelTypeSettings,showAmountSettings,gasStationName,startFuelling,stopFuelling,changeFlowRate,payPrice,requestFuelingData,cancelTransaction,getUnitLabel,convertToPricePerLocalUnit,dispose:dispose$2,minEnergyLabel,maxEnergyLabel,minSlider:23,maxSlider:80,fuelOptions}});var _hoisted_1$17={class:`full`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0`,y:`0`,viewBox:`6 0 280 280`,width:`280`,height:`280`},_hoisted_2$11={id:`glow`,x:`-40%`,y:`-40%`,width:`180%`,height:`180%`},_hoisted_3$10=[`flood-color`],_hoisted_4$7={class:`gauge-label`},_hoisted_5$6={class:`info`},DASH_ARR_LENGTH=455,GAUGE_TYPES=[`refuel`,`recharge`],GAUGE_DEFAULTS={refuel:{cssColour:`var(--bng-orange-b400)`,gradientColour:`255,102,0`,icon:icons.fuelPumpFilling},recharge:{cssColour:`var(--bng-add-blue-600)`,gradientColour:`95,157,249`,icon:icons.charging}},_sfc_main$21={__name:`FuelGauge`,props:{value:{type:Number,default:0},type:{type:String,default:`refuel`,validator:v=>GAUGE_TYPES.includes(v)||v===``},fuelling:{type:Boolean,default:!1},label:String,maxLabel:String,minLabel:String},setup(__props){window.bngVue.isProd;let props=__props,gaugeLevelStyle=computed(()=>({stroke:GAUGE_DEFAULTS[props.type].cssColour,fill:`none`,strokeDasharray:DASH_ARR_LENGTH,strokeDashoffset:DASH_ARR_LENGTH-props.value*DASH_ARR_LENGTH})),gaugeStyle=computed(()=>({background:`radial-gradient(22% 22% at 50% 53%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.76) 0%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.18) 64.06%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0) 100%)`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"gauge-wrapper":!0,[__props.type]:!0})},[createBaseVNode(`div`,{class:normalizeClass({"pulse-container":!0,pulsing:__props.fuelling})},[createBaseVNode(`div`,{class:`pulser`,style:normalizeStyle(gaugeStyle.value)},null,4)],2),(openBlock(),createElementBlock(`svg`,_hoisted_1$17,[createBaseVNode(`defs`,null,[createBaseVNode(`filter`,_hoisted_2$11,[createBaseVNode(`feFlood`,{"flood-color":GAUGE_DEFAULTS[__props.type].cssColour,result:`flood1`},null,8,_hoisted_3$10),_cache[0]||=createStaticVNode(``,4)])]),_cache[1]||=createBaseVNode(`path`,{class:`gauge-back`,d:`M50,210 A110,110 0 1,1 244,210`,style:{fill:`none`}},null,-1),createBaseVNode(`path`,{class:`gauge-level blur`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4),createBaseVNode(`path`,{class:`gauge-level`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4)])),createVNode(unref(bngIcon_default),{class:`icon refill-icon`,type:GAUGE_DEFAULTS[__props.type].icon,color:`#fff`},null,8,[`type`]),createBaseVNode(`div`,_hoisted_4$7,[createBaseVNode(`span`,null,toDisplayString(__props.minLabel),1),createBaseVNode(`span`,_hoisted_5$6,toDisplayString(__props.label||`\xA0`),1),createBaseVNode(`span`,null,toDisplayString(__props.maxLabel),1)])],2))}},FuelGauge_default=__plugin_vue_export_helper_default(_sfc_main$21,[[`__scopeId`,`data-v-04de51fb`]]),_hoisted_1$16={class:`fuel-type`},_sfc_main$20={__name:`FuelTypeSettings`,props:{fuelOptions:{type:Array,required:!0}},emits:[`previousClick`,`nextClick`,`fuelTypeSelect`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$16,[createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`previous-btn`,icon:unref(icons).arrowLargeLeft,onClick:_cache[0]||=$event=>emit$1(`previousClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_l`,deviceMask:`xinput`})]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngPillFilters_default),{options:__props.fuelOptions},null,8,[`options`]),createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`next-btn`,iconRight:unref(icons).arrowLargeRight,onClick:_cache[1]||=$event=>emit$1(`nextClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_r`,deviceMask:`xinput`})]),_:1},8,[`accent`,`iconRight`])]))}},FuelTypeSettings_default=__plugin_vue_export_helper_default(_sfc_main$20,[[`__scopeId`,`data-v-bf968fb2`]]),nozzleModes={on:{color:`var(--bng-orange-b400)`,buttonEnabled:!0},off:{color:`var(--bng-black-o6)`,buttonEnabled:!0},disabled:{color:`var(--bng-black-o2)`,buttonEnabled:!1}},fuellingModes$1={fuel:{nozzleIconType:icons$1.general.fuel_nozzle},charge:{nozzleIconType:icons$1.general.recharge_connector}},_sfc_main$19={__name:`FuelNozzle`,props:{refuelType:{type:String,required:!0},nozzleMode:{type:String,default:`off`}},emits:[`triggerDown`,`triggerUp`],setup(__props,{emit:__emit}){let{showIfController}=storeToRefs(controls_default()),props=__props,emit$1=__emit,nozzleImageURL=computed(()=>`icons/${typeSettings.value.nozzleIconType}.svg`),typeSettings=computed(()=>fuellingModes$1[props.refuelType]),modeSettings=computed(()=>nozzleModes[props.nozzleMode]),nozzleClass=computed(()=>({nozzle:!0,[props.refuelType]:!0}));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngImageAsset_default),{mask:``,class:normalizeClass(nozzleClass.value),src:nozzleImageURL.value,"bg-color":modeSettings.value.color},{default:withCtx(()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,class:normalizeClass({empty:!0,gamepad:unref(showIfController)}),disabled:!modeSettings.value.buttonEnabled,onMousedown:_cache[0]||=$event=>emit$1(`triggerDown`),onMouseup:_cache[1]||=$event=>emit$1(`triggerUp`),accent:unref(ACCENTS).text},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{action:`fuelVehicle`,deviceMask:`xinput`,disabled:!modeSettings.value.buttonEnabled,accent:unref(ACCENTS).text},null,8,[`disabled`,`accent`]),unref(showIfController)?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).plus,title:`Activate`},null,8,[`type`]))]),_:1},8,[`class`,`disabled`,`accent`])]),_:1},8,[`class`,`src`,`bg-color`]))}},FuelNozzle_default=__plugin_vue_export_helper_default(_sfc_main$19,[[`__scopeId`,`data-v-3a31f67d`]]),_hoisted_1$15={class:`cost`},_hoisted_2$10={class:`price`},_hoisted_3$9={class:`per-unit`},_hoisted_4$6={class:`value`},_hoisted_5$5={class:`unit`},_sfc_main$18={__name:`FuelInfo`,props:{totalCost:{type:Number,required:!0},pricePerUnit:{type:Number,required:!0},unitLabel:{type:String,required:!0},fuelDiscountData:{type:Object,required:!1}},setup(__props){let refuelStore=useRefuelStore(),displayPrice=computed(()=>Math.floor(refuelStore.convertToPricePerLocalUnit(props.pricePerUnit,refuelStore.currentEnergyType)*100)+.9),props=__props;return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode(`div`,_hoisted_1$15,[createVNode(unref(bngUnit_default),{money:__props.totalCost},null,8,[`money`]),__props.fuelDiscountData.hasFuelDiscount?(openBlock(),createBlock(insurancePerkIcon_default,{key:0,class:`perk-icon`,perkIconData:__props.fuelDiscountData.perkData},null,8,[`perkIconData`])):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_2$10,[createBaseVNode(`span`,_hoisted_3$9,[createBaseVNode(`span`,_hoisted_4$6,toDisplayString(displayPrice.value),1),_cache[0]||=createBaseVNode(`span`,{class:`divider`},null,-1),createBaseVNode(`span`,_hoisted_5$5,toDisplayString(unref(refuelStore).getUnitLabel(unref(refuelStore).currentEnergyType)),1)])])],64))}},FuelInfo_default=__plugin_vue_export_helper_default(_sfc_main$18,[[`__scopeId`,`data-v-c4955aba`]]),_hoisted_1$14={class:`amount`},_hoisted_2$9={class:`slider-labels`},_hoisted_3$8={class:`amount-value`},_sfc_main$17={__name:`FuelAmountSettings`,props:{minSlider:{type:Number,default:23},maxSlider:{type:Number,default:80},unitLabel:String},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$14,[createVNode(unref(bngButton_default),{class:`top-up`,accent:`text`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_u`,deviceMask:`xinput`}),_cache[0]||=createTextVNode(`Top-up`,-1)]),_:1}),createBaseVNode(`div`,_hoisted_2$9,[createBaseVNode(`span`,null,toDisplayString(`${__props.minSlider}${__props.unitLabel}`),1),createBaseVNode(`span`,null,toDisplayString(`${__props.maxSlider}${__props.unitLabel}`),1)]),createVNode(unref(bngSlider_default),{min:__props.minSlider,max:__props.maxSlider,onValueChanged:()=>{}},null,8,[`min`,`max`]),createBaseVNode(`div`,_hoisted_3$8,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_l`,deviceMask:`xinput`})]),_:1},8,[`accent`]),createVNode(unref(bngInput_default),{class:`value`,suffix:`L`,"initial-value":`1234567`}),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_r`,deviceMask:`xinput`})]),_:1},8,[`accent`])])]))}},FuelAmountSettings_default=__plugin_vue_export_helper_default(_sfc_main$17,[[`__scopeId`,`data-v-9de32e0e`]]),_hoisted_1$13={class:`gauge`},_hoisted_2$8={key:0,class:`settings content`},_hoisted_3$7={class:`status-container`},fuellingModes={fuel:{title:`ui.career.refuelling.modes.fuel.title`,gaugeType:`refuel`,nozzleIconType:icons$1.general.fuel_nozzle,fuellingOngoingLabel:`ui.career.refuelling.modes.fuel.ongoing`,startLabel:`ui.career.refuelling.modes.fuel.start`,unitLabel:`L`},charge:{title:`ui.career.refuelling.modes.charge.title`,gaugeType:`recharge`,nozzleIconType:icons$1.general.recharge_connector,fuellingOngoingLabel:`ui.career.refuelling.modes.charge.ongoing`,startLabel:`ui.career.refuelling.modes.charge.start`,unitLabel:`kWh`}},_sfc_main$16={__name:`RefuelMain`,setup(__props){let{$game}=useLibStore(),refuelStore=useRefuelStore(),mainSettings=computed(()=>fuellingModes[refuelStore.currentFuelType]);onBeforeMount(()=>{refuelStore.requestFuelingData()}),onBeforeUnmount(()=>{refuelStore.cancelTransaction()}),onUnmounted(()=>{refuelStore.$dispose()});let store$1=useTasksStore();provide(`animationSettings`,{animate:!0,animateOnMount:!1,animateOnMountIntervalDelay:.2,animateOnEmptyIntervalDelay:.1,animateOnEmpty:!0,animateNextTask:!0,successCallback:playAudio});function playAudio(){$game.lua.Engine.Audio.playOnce(`AudioGui`,`event:>UI>Career>Checkbox`)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[unref(refuelStore).currentFuelData?(openBlock(),createBlock(unref(layoutSingle_default),{key:0},{default:withCtx(()=>[createVNode(unref(bngCard_default),{class:`refuel-card`},{buttons:withCtx(()=>[unref(refuelStore).canPay?(openBlock(),createBlock(unref(bngButton_default),{key:0,onClick:_cache[2]||=$event=>unref(refuelStore).payPrice()},{default:withCtx(()=>[..._cache[5]||=[createTextVNode(`Pay`,-1)]]),_:1})):createCommentVNode(``,!0),unref(refuelStore).canStartFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:1,onClick:_cache[3]||=$event=>unref(refuelStore).startFuelling()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(mainSettings.value.startLabel)),1)]),_:1})):unref(refuelStore).canStopFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:2,onClick:_cache[4]||=$event=>unref(refuelStore).stopFuelling()},{default:withCtx(()=>[..._cache[6]||=[createTextVNode(`Stop`,-1)]]),_:1})):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(unref(refuelStore).gasStationName)),1)]),_:1}),createBaseVNode(`div`,_hoisted_1$13,[createVNode(FuelGauge_default,{class:`main-gauge`,fuelling:unref(refuelStore).isFuelling,type:mainSettings.value.gaugeType,value:unref(refuelStore).currentFuelLevel,label:unref(refuelStore).isFuelling?_ctx.$t(mainSettings.value.fuellingOngoingLabel):``,minLabel:unref(refuelStore).minEnergyLabel,maxLabel:unref(refuelStore).maxEnergyLabel},null,8,[`fuelling`,`type`,`value`,`label`,`minLabel`,`maxLabel`])]),createVNode(FuelNozzle_default,{"refuel-type":unref(refuelStore).currentFuelType,"nozzle-mode":unref(refuelStore).nozzleMode,onTriggerDown:_cache[0]||=$event=>unref(refuelStore).changeFlowRate(1),onTriggerUp:_cache[1]||=$event=>unref(refuelStore).changeFlowRate(0)},null,8,[`refuel-type`,`nozzle-mode`]),createVNode(FuelInfo_default,{"total-cost":unref(refuelStore).overallPrice,"price-per-unit":unref(refuelStore).currentFuelData.pricePerUnit,"unit-label":mainSettings.value.unitLabel,"fuel-discount-data":unref(refuelStore).fuelDiscountData},null,8,[`total-cost`,`price-per-unit`,`unit-label`,`fuel-discount-data`]),unref(refuelStore).showFuelTypeSettings||unref(refuelStore).showAmountSettings?(openBlock(),createElementBlock(`div`,_hoisted_2$8,[unref(refuelStore).showFuelTypeSettings?(openBlock(),createBlock(FuelTypeSettings_default,{key:0,"fuel-options":unref(refuelStore).fuelOptions},null,8,[`fuel-options`])):createCommentVNode(``,!0),unref(refuelStore).showAmountSettings?(openBlock(),createBlock(FuelAmountSettings_default,{key:1,"min-slider":unref(refuelStore).minSlider,"max-slider":unref(refuelStore).maxSlider,"unit-label":mainSettings.value.unitLabel},null,8,[`min-slider`,`max-slider`,`unit-label`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0)]),_:1})]),_:1})):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_3$7,[createVNode(unref(careerStatus_default),{class:`profileStatus`}),createVNode(unref(TaskList_default),{class:`tasklist`,header:unref(store$1).header,tasks:unref(store$1).tasks},null,8,[`header`,`tasks`])])],64))}},RefuelMain_default=__plugin_vue_export_helper_default(_sfc_main$16,[[`__scopeId`,`data-v-d87fd4e5`]]),routes_default$15=[{path:`/refueling`,name:`refueling`,component:RefuelMain_default,meta:{uiApps:{shown:!1}}}],_hoisted_1$12=[`innerHTML`],_sfc_main$15={__name:`ReleaseInfo`,setup(__props){useUINavScope(`releaseInfo`);let settings$1=useSettings(),parseDescription=descKey=>parse$1($translate.instant(descKey)),descriptionHtml=computed(()=>parseDescription(`ui.releaseInfo.description`)),onFinish=async()=>{backToMenu()},backToMenu=()=>window.bngVue.gotoAngularState(`menu.mainmenu`);return onMounted(async()=>{await settings$1.waitForData()}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(WizardView_default),{title:`ui.releaseInfo.title`,preheadings:[`v.${unref(sysInfo_default).versionSimple}`],style:{"--wizard-height":`45rem`},"bng-ui-scope":`releaseInfo`,onWizardFinish:onFinish},{default:withCtx(()=>[createVNode(unref(WizardStep_default),{id:`releaseInfo`,title:`ui.releaseInfo.stepTitle`},{default:withCtx(()=>[createBaseVNode(`div`,{innerHTML:descriptionHtml.value},null,8,_hoisted_1$12)]),_:1})]),_:1},8,[`preheadings`])),[[unref(BngBlur_default)],[unref(BngOnUiNav_default),backToMenu,`menu,back`]])}},ReleaseInfo_default=_sfc_main$15,routes_default$16=[{name:`menu.release-info`,path:`/release-info`,component:ReleaseInfo_default,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],_hoisted_1$11={class:`veh-debug`},_hoisted_2$7={class:`buttons`},_hoisted_3$6={class:`buttons`},_hoisted_4$5={class:`bng-short-select-item`},_hoisted_5$4={class:`label-width`},_hoisted_6$3={key:0},_hoisted_7$3={class:`parts-switch-label`},_hoisted_8$2={class:`control-row`},_hoisted_9$1={class:`control-label`},_hoisted_10={class:`control-row`},_hoisted_11={class:`control-label`},_hoisted_12={key:0},_hoisted_13={class:`control-row`},_hoisted_14={class:`control-label indented`},_hoisted_15={class:`control-group`},_hoisted_16={class:`control-row`},_hoisted_17={class:`control-label indented`},_hoisted_18={class:`control-group`},_hoisted_19={class:`control-row`},_hoisted_20={class:`control-label indented`},_hoisted_21={class:`control-row`},_hoisted_22={class:`control-label indented`},_hoisted_23={class:`control-row`},_hoisted_24={class:`control-label indented`},_hoisted_25={class:`control-group`},_hoisted_26={class:`control-row`},_hoisted_27={class:`control-label indented`},_hoisted_28={class:`control-group`},_hoisted_29={class:`control-row`},_hoisted_30={class:`control-label indented`},_hoisted_31={class:`control-group`},_hoisted_32={class:`control-row`},_hoisted_33={class:`control-label`},_hoisted_34={key:2},_hoisted_35={class:`control-row`},_hoisted_36={class:`control-label indented`},_hoisted_37={class:`control-group`},_hoisted_38={class:`control-row`},_hoisted_39={class:`control-label indented`},_hoisted_40={class:`control-group`},_hoisted_41={class:`control-row`},_hoisted_42={class:`control-label indented`},_hoisted_43={class:`control-row`},_hoisted_44={class:`control-label indented`},_hoisted_45={key:3,class:`control-row`},_hoisted_46={class:`control-label indented`},_hoisted_47={class:`control-group`},_hoisted_48={key:4,class:`control-row`},_hoisted_49={class:`control-label indented`},_hoisted_50={class:`control-row`},_hoisted_51={class:`control-label`},_hoisted_52={key:5},_hoisted_53={class:`control-row`},_hoisted_54={class:`control-label indented`},_hoisted_55={class:`control-group`},_hoisted_56={class:`control-row`},_hoisted_57={class:`control-label indented`},_hoisted_58={class:`control-group`},_hoisted_59={class:`control-row`},_hoisted_60={class:`control-label indented`},_hoisted_61={class:`control-row`},_hoisted_62={class:`control-label indented`},_hoisted_63={class:`control-row`},_hoisted_64={class:`control-label indented`},_hoisted_65={class:`control-group`},_hoisted_66={class:`control-row`},_hoisted_67={class:`control-label indented`},_hoisted_68={class:`control-group`},_hoisted_69={class:`control-row`},_hoisted_70={class:`control-label indented`},_hoisted_71={class:`control-group`},_hoisted_72={class:`control-row`},_hoisted_73={class:`control-label`},_hoisted_74={class:`control-row`},_hoisted_75={class:`control-label indented`},_hoisted_76={class:`control-group`},_hoisted_77={class:`control-row`},_hoisted_78={class:`control-label indented`},_hoisted_79={class:`control-group`},_hoisted_80={class:`control-row`},_hoisted_81={class:`control-label indented`},_hoisted_82={class:`control-row`},_hoisted_83={class:`control-label indented`},_hoisted_84={class:`control-row`},_hoisted_85={class:`control-label indented`},_hoisted_86={class:`control-group`},_hoisted_87={class:`control-row`},_hoisted_88={class:`control-label indented`},_hoisted_89={class:`control-group`},_hoisted_90={class:`control-row`},_hoisted_91={class:`control-label`},_hoisted_92={class:`control-row`},_hoisted_93={class:`control-label indented`},_hoisted_94={class:`control-group`},_hoisted_95={class:`control-row`},_hoisted_96={class:`control-label indented`},_hoisted_97={class:`control-group`},_hoisted_98={class:`control-row`},_hoisted_99={class:`control-label`},_hoisted_100={class:`control-row`},_hoisted_101={class:`control-label`},_hoisted_102={key:10,class:`control-row`},_hoisted_103={class:`control-label indented`},_hoisted_104={class:`control-group`},_hoisted_105={class:`control-row`},_hoisted_106={class:`control-label`},_hoisted_107={key:11,class:`control-row`},_hoisted_108={class:`control-label indented`},_hoisted_109={class:`control-group`},_hoisted_110={class:`control-row`},_hoisted_111={class:`control-label`},_hoisted_112={class:`control-row`},_hoisted_113={class:`control-label`},_hoisted_114={key:12,class:`control-row`},_hoisted_115={class:`control-label indented`},_hoisted_116={class:`control-group`},_hoisted_117={key:13,class:`control-row`},_hoisted_118={class:`control-label`},_hoisted_119={class:`mesh-visibility`},_hoisted_120={class:`control-row`},_hoisted_121={class:`control-label`},_hoisted_122={class:`mesh-buttons`},_hoisted_123={class:`buttons`},_sfc_main$14={__name:`Debug`,setup(__props){useUINavBlocker().blockOnly([`context`]);let{lua,api:api$1}=useBridge(),events$3=useEvents(),state=reactive({}),stateNoReset=reactive({vehicle:{parts:[],partNameToIdx:{},partsSelected:{},partsSelectedIdxs:[]}}),partsState=reactive({partsSorted:[],partsHighlightedIdxs:[]}),partsFiltered=computed(()=>{let res=partsState.partsSorted;return Array.isArray(res)?(partsSelectedSearchTerm.value&&(res=res.filter(part=>part.includes(partsSelectedSearchTerm.value))),res.map(p$1=>{let segments=p$1.split(`/`);return{label:segments[segments.length-1],reversePath:segments.slice(0,-1).reverse().join(`\\`),value:p$1,selected:Array.isArray(partsState.partsHighlightedIdxs)&&partsState.partsHighlightedIdxs.includes(partsState.partsSorted.indexOf(p$1)+1)}})):[]}),shipping=computed(()=>window.beamng&&window.beamng.shipping),geState=reactive({physicsEnabled:!0,debugSpawnEnabled:!1}),partsSelectedSearchTerm=ref(``),disableVehicleButtons=ref(!1),controls$1={vehicle:{buttonGroup_1:[{label:`ui.debug.vehicle.loadDefault`,action:()=>lua.core_vehicles.loadDefault()},{label:`ui.debug.vehicle.spawnNew`,action:()=>lua.core_vehicles.spawnDefault()},{label:`ui.debug.vehicle.removeCurrent`,action:()=>lua.core_vehicles.removeCurrent()},{label:`ui.debug.vehicle.cloneCurrent`,action:()=>lua.core_vehicles.cloneCurrent()},{label:`ui.debug.vehicle.removeAll`,action:()=>lua.core_vehicles.removeAll()},{label:`ui.debug.vehicle.removeOthers`,action:()=>lua.core_vehicles.removeAllExceptCurrent()},{label:`ui.debug.vehicle.resetAll`,action:()=>lua.resetGameplay(-1)},{label:`ui.debug.vehicle.reloadAll`,action:()=>lua.core_vehicle_manager.reloadAllVehicles()}],toggleGroup_1:[{label:`ui.debug.activatePhysics`,key:`physicsEnabled`,onChange:()=>lua.simTimeAuthority.togglePause()},{label:`ui.debug.debugSpawnEnabled`,key:`debugSpawnEnabled`,onChange:()=>lua.core_vehicle_manager.toggleDebug()}]},jbeamvis:{buttonGroup_1:[{label:`ui.debug.vehicle.toggleVis`,action:()=>api$1.activeObjectLua(`bdebug.toggleEnabled()`)},{label:`ui.debug.vehicle.clearSettings`,action:()=>api$1.activeObjectLua(`bdebug.resetModes()`)}],meshVisButtonGroup:[{label:`0%`,action:()=>lua.core_vehicles.setMeshVisibility(0)},{label:`25%`,action:()=>lua.core_vehicles.setMeshVisibility(.25)},{label:`50%`,action:()=>lua.core_vehicles.setMeshVisibility(.5)},{label:`75%`,action:()=>lua.core_vehicles.setMeshVisibility(.75)},{label:`100%`,action:()=>lua.core_vehicles.setMeshVisibility(1)}]},terrain:{buttonGroup_1:[{label:`ui.debug.terrain.groundmodel`,action:()=>api$1.engineLua(`extensions.load("util_groundModelDebug") util_groundModelDebug.openWindow()`)}]}};onMounted(async()=>{geState.physicsEnabled=!await lua.simTimeAuthority.getPause(),geState.debugSpawnEnabled=await lua.core_vehicle_manager.getDebug(),api$1.activeObjectLua(`bdebug.requestState()`),lua.core_gamestate.requestGameState(),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()});let applyState=(notSendBack=!1)=>{notSendBack=!!notSendBack,api$1.activeObjectLua(`bdebug.setState(${api$1.serializeToLua(state)}, ${api$1.serializeToLua(stateNoReset)}, ${notSendBack})`)},partsSelectedChanged=(part,value)=>{Array.isArray(partsState.partsHighlightedIdxs)||(partsState.partsHighlightedIdxs=[]);let idx=partsState.partsSorted.indexOf(part)+1,idxInArray=partsState.partsHighlightedIdxs.indexOf(idx);value&&idxInArray===-1?partsState.partsHighlightedIdxs.push(idx):!value&&idxInArray!==-1&&partsState.partsHighlightedIdxs.splice(idxInArray,1),applyState(!0),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},partsSelectedChecked=()=>partsState.partsHighlightedIdxs.length===partsState.partsSorted.length,partsSelectedIndeterminate=()=>partsState.partsHighlightedIdxs.length!==0&&partsState.partsHighlightedIdxs.length!==partsState.partsSorted.length,partsSelectedClicked=()=>{partsState.partsHighlightedIdxs.length===partsState.partsSorted.length?partsState.partsHighlightedIdxs=[]:partsState.partsHighlightedIdxs=Array.from({length:partsState.partsSorted.length},(_,i)=>i+1),applyState(),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},selectAllParts=computed({get:()=>partsSelectedChecked(),set:()=>partsSelectedClicked()}),beamTextModeItems=computed(()=>state.vehicle?.beamTextModes?state.vehicle.beamTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamTextMode.${mode.name}`):``})):[]),beamVisModeItems=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamVisMode.${mode.name}`):``})):[]),currentBeamVisMode=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes[state.vehicle.beamVisMode-1]:null),nodeTextModeItems=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeTextMode.${mode.name}`):``})):[]),currentNodeTextMode=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes[state.vehicle.nodeTextMode-1]:null),nodeVisModeItems=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeVisMode.${mode.name}`):``})):[]),currentNodeVisMode=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes[state.vehicle.nodeVisMode-1]:null),torsionBarVisModeItems=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.torsionBarVisMode.${mode.name}`):``})):[]),currentTorsionBarVisMode=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes[state.vehicle.torsionBarVisMode-1]:null),railsSlideNodesModeItems=computed(()=>state.vehicle?.railsSlideNodesVisModes?state.vehicle.railsSlideNodesVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.railsSlideNodesVisMode.${mode.name}`):``})):[]),cogModeItems=computed(()=>state.vehicle?.cogModes?state.vehicle.cogModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.cogMode.${mode.name}`):``})):[]),collisionTriangleModeItems=computed(()=>state.vehicle?.collisionTriangleVisModes?state.vehicle.collisionTriangleVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.collisionTriangleVisMode.${mode.name}`):``})):[]),aeroModeItems=computed(()=>state.vehicle?.aeroModes?state.vehicle.aeroModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.aeroMode.${mode.name}`):``})):[]);return events$3.on(`BdebugUpdate`,(debugState,newStateNoReset)=>{Object.assign(state,debugState),Object.assign(stateNoReset,newStateNoReset)}),events$3.on(`PartsSelectorUpdate`,state$1=>{Object.assign(partsState,state$1)}),events$3.on(`VehicleFocusChanged`,()=>{api$1.activeObjectLua(`bdebug.requestState()`),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()}),events$3.on(`physicsStateChanged`,state$1=>geState.physicsEnabled=!!state$1),events$3.on(`debugSpawnChanged`,state$1=>geState.debugSpawnEnabled=!!state$1),events$3.on(`GameStateUpdate`,gamestate=>disableVehicleButtons.value=gamestate.state.toLowerCase().indexOf(`scenario`)>-1),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$11,[createBaseVNode(`h3`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle`)),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.toggleGroup_1,toggle=>(openBlock(),createElementBlock(`div`,{key:toggle.key},[createVNode(unref(bngSwitch_default),{modelValue:geState[toggle.key],"onUpdate:modelValue":$event=>geState[toggle.key]=$event,onValueChanged:$event=>toggle.onChange()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(toggle.label)),1)]),_:2},1032,[`modelValue`,`onUpdate:modelValue`,`onValueChanged`])]))),128)),createBaseVNode(`div`,_hoisted_2$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))]),_cache[74]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle.jbeamVis`)),1),createBaseVNode(`div`,_hoisted_3$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))]),createBaseVNode(`div`,_hoisted_4$5,[createBaseVNode(`span`,_hoisted_5$4,toDisplayString(_ctx.$tt(`ui.debug.vehicle.partsSelected`)),1),createVNode(unref(bngDropdownContainer_default),{class:`bng-select-fullwidth dropdown-width`},{default:withCtx(()=>[createVNode(unref(bngList_default),{layout:unref(LIST_LAYOUTS).LIST,"target-width":31},{default:withCtx(()=>[createVNode(unref(bngInput_default),{modelValue:partsSelectedSearchTerm.value,"onUpdate:modelValue":_cache[0]||=$event=>partsSelectedSearchTerm.value=$event,modelModifiers:{trim:!0},"floating-label":_ctx.$t(`ui.debug.vehicle.partsSelectedSearchText`)},null,8,[`modelValue`,`floating-label`]),partsFiltered.value&&partsFiltered.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(partsFiltered.value,part=>withDirectives((openBlock(),createBlock(unref(bngSwitch_default),{"model-value":part.selected,key:part.value,"label-alignment":unref(LABEL_ALIGNMENTS).START,inline:!1,class:`parts-switch`,onChange:value=>partsSelectedChanged(part.value,value)},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_7$3,[createBaseVNode(`strong`,null,toDisplayString(part.label),1),createTextVNode(` `+toDisplayString(part.reversePath?`\\`+part.reversePath:``),1)])]),_:2},1032,[`model-value`,`label-alignment`,`onChange`])),[[unref(BngTooltip_default),part.label+` \\ `+part.reversePath,`right`]])),128))])):createCommentVNode(``,!0)]),_:1},8,[`layout`])]),_:1}),createVNode(unref(bngSwitch_default),{modelValue:selectAllParts.value,"onUpdate:modelValue":_cache[1]||=$event=>selectAllParts.value=$event,class:normalizeClass({"switch-indeterminate":partsSelectedIndeterminate(),"switch-width":!0}),onOnClicked:partsSelectedClicked},null,8,[`modelValue`,`class`])]),state.vehicle?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`div`,_hoisted_8$2,[createBaseVNode(`span`,_hoisted_9$1,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamTextMode,"onUpdate:modelValue":_cache[2]||=$event=>state.vehicle.beamTextMode=$event,items:beamTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_10,[createBaseVNode(`span`,_hoisted_11,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamVisMode,"onUpdate:modelValue":_cache[3]||=$event=>state.vehicle.beamVisMode=$event,items:beamVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentBeamVisMode.value&¤tBeamVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_12,[createBaseVNode(`div`,_hoisted_13,[createBaseVNode(`span`,_hoisted_14,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_15,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[4]||=$event=>currentBeamVisMode.value.rangeMin=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[5]||=$event=>currentBeamVisMode.value.rangeMin=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[6]||=$event=>currentBeamVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_16,[createBaseVNode(`span`,_hoisted_17,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_18,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[7]||=$event=>currentBeamVisMode.value.rangeMax=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[8]||=$event=>currentBeamVisMode.value.rangeMax=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[9]||=$event=>currentBeamVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_19,[createBaseVNode(`span`,_hoisted_20,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[10]||=$event=>currentBeamVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_21,[createBaseVNode(`span`,_hoisted_22,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.showInfinity,"onUpdate:modelValue":_cache[11]||=$event=>currentBeamVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.beamVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`div`,_hoisted_23,[createBaseVNode(`span`,_hoisted_24,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_25,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.beamVisShowHighlighted,"onUpdate:modelValue":_cache[12]||=$event=>state.vehicle.beamVisShowHighlighted=$event,disabled:state.vehicle.beamVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_26,[createBaseVNode(`span`,_hoisted_27,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_28,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[13]||=$event=>state.vehicle.beamVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[14]||=$event=>state.vehicle.beamVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_29,[createBaseVNode(`span`,_hoisted_30,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_31,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[15]||=$event=>state.vehicle.beamVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[16]||=$event=>state.vehicle.beamVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_32,[createBaseVNode(`span`,_hoisted_33,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeTextMode,"onUpdate:modelValue":_cache[17]||=$event=>state.vehicle.nodeTextMode=$event,items:nodeTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeTextMode.value&¤tNodeTextMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_34,[createBaseVNode(`div`,_hoisted_35,[createBaseVNode(`span`,_hoisted_36,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_37,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[18]||=$event=>currentNodeTextMode.value.rangeMin=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[19]||=$event=>currentNodeTextMode.value.rangeMin=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[20]||=$event=>currentNodeTextMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_38,[createBaseVNode(`span`,_hoisted_39,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_40,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[21]||=$event=>currentNodeTextMode.value.rangeMax=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[22]||=$event=>currentNodeTextMode.value.rangeMax=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[23]||=$event=>currentNodeTextMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_41,[createBaseVNode(`span`,_hoisted_42,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[24]||=$event=>currentNodeTextMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_43,[createBaseVNode(`span`,_hoisted_44,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.showInfinity,"onUpdate:modelValue":_cache[25]||=$event=>currentNodeTextMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_45,[createBaseVNode(`span`,_hoisted_46,toDisplayString(_ctx.$tt(`ui.debug.vehicle.maxDist`)),1),createBaseVNode(`div`,_hoisted_47,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[26]||=$event=>state.vehicle.nodeTextMaxDist=$event,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[27]||=$event=>state.vehicle.nodeTextMaxDist=$event,type:`number`,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`])])])),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_48,[createBaseVNode(`span`,_hoisted_49,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showWheels`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeTextShowWheels,"onUpdate:modelValue":_cache[28]||=$event=>state.vehicle.nodeTextShowWheels=$event,onValueChanged:applyState},null,8,[`modelValue`])])),createBaseVNode(`div`,_hoisted_50,[createBaseVNode(`span`,_hoisted_51,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeVisMode,"onUpdate:modelValue":_cache[29]||=$event=>state.vehicle.nodeVisMode=$event,items:nodeVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeVisMode.value&¤tNodeVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_52,[createBaseVNode(`div`,_hoisted_53,[createBaseVNode(`span`,_hoisted_54,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_55,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[30]||=$event=>currentNodeVisMode.value.rangeMin=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[31]||=$event=>currentNodeVisMode.value.rangeMin=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[32]||=$event=>currentNodeVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_56,[createBaseVNode(`span`,_hoisted_57,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_58,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[33]||=$event=>currentNodeVisMode.value.rangeMax=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[34]||=$event=>currentNodeVisMode.value.rangeMax=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[35]||=$event=>currentNodeVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_59,[createBaseVNode(`span`,_hoisted_60,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[36]||=$event=>currentNodeVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_61,[createBaseVNode(`span`,_hoisted_62,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.showInfinity,"onUpdate:modelValue":_cache[37]||=$event=>currentNodeVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:6},[createBaseVNode(`div`,_hoisted_63,[createBaseVNode(`span`,_hoisted_64,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_65,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeVisShowHighlighted,"onUpdate:modelValue":_cache[38]||=$event=>state.vehicle.nodeVisShowHighlighted=$event,disabled:state.vehicle.nodeVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_66,[createBaseVNode(`span`,_hoisted_67,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_68,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[39]||=$event=>state.vehicle.nodeVisWidthScale=$event,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[40]||=$event=>state.vehicle.nodeVisWidthScale=$event,type:`number`,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_69,[createBaseVNode(`span`,_hoisted_70,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_71,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[41]||=$event=>state.vehicle.nodeVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[42]||=$event=>state.vehicle.nodeVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_72,[createBaseVNode(`span`,_hoisted_73,toDisplayString(_ctx.$tt(`ui.debug.vehicle.torsionBarVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.torsionBarVisMode,"onUpdate:modelValue":_cache[43]||=$event=>state.vehicle.torsionBarVisMode=$event,items:torsionBarVisModeItems.value,onValueChanged:_cache[44]||=value=>{console.log(`change triggered`,value),applyState()},class:`control-input`},null,8,[`modelValue`,`items`])]),currentTorsionBarVisMode.value?.usesRange?(openBlock(),createElementBlock(Fragment,{key:7},[createBaseVNode(`div`,_hoisted_74,[createBaseVNode(`span`,_hoisted_75,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_76,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[45]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[46]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[47]||=$event=>currentTorsionBarVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_77,[createBaseVNode(`span`,_hoisted_78,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_79,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[48]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[49]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[50]||=$event=>currentTorsionBarVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_80,[createBaseVNode(`span`,_hoisted_81,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[51]||=$event=>currentTorsionBarVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_82,[createBaseVNode(`span`,_hoisted_83,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.showInfinity,"onUpdate:modelValue":_cache[52]||=$event=>currentTorsionBarVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])],64)):createCommentVNode(``,!0),state.vehicle.torsionBarVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:8},[createBaseVNode(`div`,_hoisted_84,[createBaseVNode(`span`,_hoisted_85,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_86,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[53]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[54]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_87,[createBaseVNode(`span`,_hoisted_88,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_89,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[55]||=$event=>state.vehicle.torsionBarVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[56]||=$event=>state.vehicle.torsionBarVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_90,[createBaseVNode(`span`,_hoisted_91,toDisplayString(_ctx.$tt(`ui.debug.vehicle.railsSlideNodesVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.railsSlideNodesVisMode,"onUpdate:modelValue":_cache[57]||=$event=>state.vehicle.railsSlideNodesVisMode=$event,items:railsSlideNodesModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.railsSlideNodesVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:9},[createBaseVNode(`div`,_hoisted_92,[createBaseVNode(`span`,_hoisted_93,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_94,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[58]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[59]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_95,[createBaseVNode(`span`,_hoisted_96,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_97,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[60]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[61]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_98,[createBaseVNode(`span`,_hoisted_99,toDisplayString(_ctx.$tt(`ui.debug.vehicle.centerOfGravity`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.cogMode,"onUpdate:modelValue":_cache[62]||=$event=>state.vehicle.cogMode=$event,items:cogModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_100,[createBaseVNode(`span`,_hoisted_101,toDisplayString(_ctx.$tt(`ui.debug.vehicle.collisionTriangle`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.collisionTriangleVisMode,"onUpdate:modelValue":_cache[63]||=$event=>state.vehicle.collisionTriangleVisMode=$event,items:collisionTriangleModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.collisionTriangleVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_102,[createBaseVNode(`span`,_hoisted_103,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_104,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[64]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[65]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_105,[createBaseVNode(`span`,_hoisted_106,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamics`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.aeroMode,"onUpdate:modelValue":_cache[66]||=$event=>state.vehicle.aeroMode=$event,items:aeroModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.aeroMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_107,[createBaseVNode(`span`,_hoisted_108,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamicsScale`)),1),createBaseVNode(`div`,_hoisted_109,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[67]||=$event=>state.vehicle.aerodynamicsScale=$event,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[68]||=$event=>state.vehicle.aerodynamicsScale=$event,type:`number`,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_110,[createBaseVNode(`span`,_hoisted_111,toDisplayString(_ctx.$tt(`ui.debug.vehicle.tireContactPoint`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.tireContactPoint,"onUpdate:modelValue":_cache[69]||=$event=>state.vehicle.tireContactPoint=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_112,[createBaseVNode(`span`,_hoisted_113,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometry`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.steeringGeometry,"onUpdate:modelValue":_cache[70]||=$event=>state.vehicle.steeringGeometry=$event,onValueChanged:applyState},null,8,[`modelValue`])]),state.vehicle.steeringGeometry?(openBlock(),createElementBlock(`div`,_hoisted_114,[createBaseVNode(`span`,_hoisted_115,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometryLineLength`)),1),createBaseVNode(`div`,_hoisted_116,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[71]||=$event=>state.vehicle.steeringGeometryLineLength=$event,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[72]||=$event=>state.vehicle.steeringGeometryLineLength=$event,type:`number`,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),shipping.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_117,[createBaseVNode(`span`,_hoisted_118,toDisplayString(_ctx.$tt(`ui.debug.vehicle.wheelThermals`))+` 🐞`,1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.wheelThermals,"onUpdate:modelValue":_cache[73]||=$event=>state.vehicle.wheelThermals=$event,onValueChanged:applyState},null,8,[`modelValue`])]))],64)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_119,[createBaseVNode(`div`,_hoisted_120,[createBaseVNode(`span`,_hoisted_121,toDisplayString(_ctx.$tt(`ui.debug.vehicle.meshVisibility`)),1),createBaseVNode(`div`,_hoisted_122,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.meshVisButtonGroup,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).outlined,class:`mesh-button`},{default:withCtx(()=>[createTextVNode(toDisplayString(btn.label),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))])])]),_cache[75]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.terrain`)),1),createBaseVNode(`div`,_hoisted_123,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.terrain.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))])]))}},Debug_default=__plugin_vue_export_helper_default(_sfc_main$14,[[`__scopeId`,`data-v-8c471ede`]]),_sfc_main$13={__name:`VehicleConfig`,props:{tab:{type:String,default:`parts`,validator:val=>!val||[`parts`,`tuning`,`color`,`save`,`debug`].includes(val)}},setup(__props){let exit=event=>{event.detail.force||window.bngVue.gotoAngularState(`menu.mainmenu`)};function syncWithStates(tab){window.bngVue&&(tab=[`parts`,`tuning`,`color`,`save`,`debug`][tab.index]||`parts`,window.bngVue.gotoAngularState(`menu.vehicleconfig.${tab}`))}return(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`vehcfg`,onDeactivate:exit},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(tabs_default),{class:`bng-tabs`,onChange:syncWithStates},{default:withCtx(()=>[withDirectives(createVNode(unref(tabList_default),null,null,512),[[unref(BngBlur_default)]]),withDirectives(createVNode(Parts_default,{"tab-selected":__props.tab===`parts`,"tab-heading":_ctx.$t(`ui.vehicleconfig.parts`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Tuning_default,{"tab-selected":__props.tab===`tuning`,"tab-heading":_ctx.$t(`ui.vehicleconfig.tuning`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Paint_default,{"tab-selected":__props.tab===`color`,"tab-heading":_ctx.$t(`ui.vehicleconfig.color`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Save_default,{"tab-selected":__props.tab===`save`,"tab-heading":_ctx.$t(`ui.vehicleconfig.save`)+` & `+_ctx.$t(`ui.vehicleconfig.load`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Debug_default,{"tab-selected":__props.tab===`debug`,"tab-heading":_ctx.$tt(`ui.debug.vehicle`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]])]),_:1})),[[unref(BngFrustumMover_default),!0,void 0,{left:!0}]])]),_:1})),[[unref(BngScopedNav_default),{activateOnMount:!0,bubbleWhitelistEvents:[`tab_l`,`tab_r`,`menu`]}]])}},VehicleConfig_default=__plugin_vue_export_helper_default(_sfc_main$13,[[`__scopeId`,`data-v-e5f4e51f`]]),_hoisted_1$10={class:`adjustment-container`},_hoisted_2$6={class:`y-controls`},_hoisted_3$5={class:`slider-container`},_hoisted_4$4={class:`value-input`},_hoisted_5$3={class:`x-controls`},_hoisted_6$2={class:`slider-container`},_hoisted_7$2={class:`value-input`},_hoisted_8$1={class:`reset-cont`},MIRROR_RANGE_DEFAULTS={min:-20,max:20,step:.01},_sfc_main$12={__name:`MirrorAdjust`,props:{mirror:Object},setup(__props){let props=__props,uiScopeName=`vehicle-config-mirrors`,uiNavScope$1=useUINavScope(uiScopeName),reactivateUIScope=event=>{(event.type===`deactivate`||event.type===`focusout`)&&uiNavScope$1.set(uiScopeName)},range={x:{min:props.mirror.clampX?props.mirror.clampX[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampX?props.mirror.clampX[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step},y:{min:props.mirror.clampY?props.mirror.clampY[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampY?props.mirror.clampY[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step}},[inpX,inpY]=[ref(),ref()],isChanged=computed(()=>inpX.value&&inpX.value.dirty||inpY.value&&inpY.value.dirty),mover={x:0,y:0,drift:.2,tmr:null,tmrInterval:100};function move(evt){let val=evt.detail.value>mover.drift?evt.detail.value-mover.drift:evt.detail.value<-mover.drift?evt.detail.value+mover.drift:0;evt.detail.name===`focus_lr`?mover.x=val:evt.detail.name===`focus_ud`&&(mover.y=val)}let precision=10**(MIRROR_RANGE_DEFAULTS.step+`.`).split(/[.,]/)[1].length,clamp$2=(val,axis=`x`)=>Math.round(Math.max(range[axis].min,Math.min(val,range[axis].max))*precision)/precision;function resetValues(){props.mirror.x=inpX.value.currentCleanValue,props.mirror.y=inpY.value.currentCleanValue,onValueChanged()}function onValueChanged(){Lua_default.extensions.core_vehicle_mirror.setAngleOffset(props.mirror.name,-props.mirror.y,-props.mirror.x,!1,!1)}return onMounted(()=>{getUINavServiceInstance().useCrossfire=!1,Lua_default.extensions.core_vehicle_mirror.focusOnMirror(props.mirror.name),mover.tmr=setInterval(()=>{mover.x===0&&mover.y===0||(props.mirror.x=clamp$2(props.mirror.x+mover.x,`x`),props.mirror.y=clamp$2(props.mirror.y+mover.y,`y`),onValueChanged())},mover.tmrInterval)}),onUnmounted(()=>{getUINavServiceInstance().useCrossfire=!0,clearInterval(mover.tmr)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$10,[createVNode(unref(bngImageTile_default),{class:`mirror-tile`,icon:unref(icons)[__props.mirror.mirrorIcon],label:__props.mirror.description,ratio:`1:1`},null,8,[`icon`,`label`]),createBaseVNode(`div`,_hoisted_2$6,[createBaseVNode(`div`,_hoisted_3$5,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpY`,ref:inpY,class:`slider-y`},range.y,{uiNavFocus:!1,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[0]||=$event=>__props.mirror.y=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_4$4,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_ud`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[1]||=$event=>__props.mirror.y=$event,type:`number`},range.y,{prefix:`Y`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_5$3,[createBaseVNode(`div`,_hoisted_6$2,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpX`,ref:inpX,class:`slider-x`},range.x,{uiNavFocus:!1,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[2]||=$event=>__props.mirror.x=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_7$2,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_lr`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[3]||=$event=>__props.mirror.x=$event,type:`number`},range.x,{prefix:`X`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_8$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).attention,disabled:!isChanged.value,onClick:_cache[4]||=$event=>resetValues()},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{controller:``,"ui-event":`action_3`}),createTextVNode(` `+toDisplayString(_ctx.$t(`ui.common.reset`)),1)]),_:1},8,[`accent`,`disabled`])])])),[[unref(BngOnUiNav_default),move,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),resetValues,`action_3`]])}},MirrorAdjust_default=__plugin_vue_export_helper_default(_sfc_main$12,[[`__scopeId`,`data-v-14ab0128`]]),_hoisted_1$9={key:0,class:`content buttons-grid`},_sfc_main$11={__name:`Mirrors`,props:{exitRoute:{type:String,default:`menu.vehicleconfig.tuning`}},setup(__props){useUINavScope(`vehicle-config-mirrors`);let comp=ref(null),{lua,events:events$3}=useBridge(),mirrors=ref([]),selectedMirror=ref(null),props=__props;async function exitAdjustmentMode(){selectedMirror.value?(lua.extensions.core_vehicle_mirror.setAngleOffset(selectedMirror.value.name,-selectedMirror.value.y,-selectedMirror.value.x,!1,!0),selectedMirror.value=null,comp.value=null,await lua.extensions.core_vehicle_mirror.focusOnMirror(!1)):bngVue.gotoAngularState(props.exitRoute)}async function getVehicleMirrors(){let data=await lua.extensions.core_vehicle_mirror.getAnglesOffset();for(let key in mirrors.value.splice(0),data){let position=data[key].position,mirrorIcon=data[key].icon,description=data[key].label;if(position||(/_L$|_L_/.test(key)?(position=`left`,mirrorIcon||=`mirrorLeftDefault`):/_R$|_R_/.test(key)?(position=`right`,mirrorIcon||=`mirrorRightDefault`):position=`mid`),!description)description=$translate.instant(`ui.mirrors.position.`+position),key.endsWith(`_spot`)&&(description+=` (${$translate.instant(`ui.mirrors.spot`)})`);else{let tr=$translate.instant(`ui.mirrors.`+description);tr.startsWith(`ui.mirrors.`)||(description=tr)}mirrors.value.push({name:data[key].name,description,position,x:data[key].angleOffset.x,y:data[key].angleOffset.z,clampX:data[key].clampX,clampY:data[key].clampZ,mirrorIcon:mirrorIcon||`mirrorInteriorMiddle`,row:data[key].row||0})}mirrors.value.sort((a$1,b)=>a$1.row-b.row)}return onMounted(async()=>{await getVehicleMirrors(),events$3.on(`VehicleChange`,getVehicleMirrors),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_lr`),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_ud`)}),onUnmounted(()=>{events$3.off(`VehicleChange`,getVehicleMirrors)}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`layout-content-full layout-align-hstart`,"bng-ui-scope":`vehicle-config-mirrors`},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngCard_default),{class:`mirrors-card`},{buttons:withCtx(()=>[createVNode(unref(bngButton_default),{onClick:exitAdjustmentMode},{default:withCtx(()=>[selectedMirror.value?(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,"ui-event":`action_2`})):(openBlock(),createBlock(unref(bngBinding_default),{key:1,controller:``,"ui-event":`back`})),createTextVNode(` `+toDisplayString(_ctx.$t(selectedMirror.value?`ui.common.apply`:`ui.common.close`)),1)]),_:1})]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(`ui.mirrors.name`)),1)]),_:1}),selectedMirror.value?(openBlock(),createBlock(MirrorAdjust_default,{key:1,class:`content`,mirror:selectedMirror.value},null,8,[`mirror`])):(openBlock(),createElementBlock(`div`,_hoisted_1$9,[(openBlock(!0),createElementBlock(Fragment,null,renderList(mirrors.value,mirror=>(openBlock(),createBlock(unref(bngImageTile_default),{onClick:$event=>selectedMirror.value=mirror,class:normalizeClass([`mirror-button`,[mirror.position]]),icon:unref(icons)[mirror.mirrorIcon]||unref(icons).placeholder,label:mirror.description,"bng-nav-item":``},null,8,[`onClick`,`class`,`icon`,`label`]))),256))]))]),_:1})),[[unref(BngBlur_default),!0]])]),_:1})),[[unref(BngOnUiNav_default),exitAdjustmentMode,`menu,back`],[unref(BngOnUiNav_default),()=>selectedMirror.value&&exitAdjustmentMode(),`action_2`]])}},Mirrors_default=__plugin_vue_export_helper_default(_sfc_main$11,[[`__scopeId`,`data-v-28f8b633`]]),routes_default$17=[{path:`/vehicle-config`,name:`menu.vehicleconfig`,redirect:`/vehicle-config/parts`,meta:{clickThrough:!0,infoBar:{withAngular:!1,visible:!0,showSysInfo:!1},uiApps:{shown:!0},topBar:{visible:!0}},children:[{path:`parts`,name:`menu.vehicleconfig.parts`,component:VehicleConfig_default,props:{tab:`parts`}},{path:`tuning`,name:`menu.vehicleconfig.tuning`,component:VehicleConfig_default,props:{tab:`tuning`}},{path:`color`,name:`menu.vehicleconfig.color`,component:VehicleConfig_default,props:{tab:`color`},meta:{uiApps:{shown:!1}}},{path:`save`,name:`menu.vehicleconfig.save`,component:VehicleConfig_default,props:{tab:`save`},meta:{uiApps:{shown:!1}}},{path:`debug`,name:`menu.vehicleconfig.debug`,component:VehicleConfig_default,props:{tab:`debug`}}]},{path:`/vehicle-config/tuning/mirrors/:exitRoute?/`,name:`menu.vehicleconfig.tuning.mirrors`,component:Mirrors_default,props:!0},{path:`/vehicle-config/tuning/mirrors-angular`,name:`menu.vehicleconfig.tuning.mirrors.with-angular`,component:Mirrors_default,props:{exitRoute:`menu.vehicleconfigold.tuning`}},{path:`/vehicle-config/tuning/mirrors-garage`,name:`menu.vehicleconfig.tuning.mirrors.in-garage`,component:Mirrors_default,props:{exitRoute:`garagemode.tuning`}}],_hoisted_1$8={key:0,class:`management-details`},_hoisted_2$5={key:0,class:`current-vehicle-info`},_hoisted_3$4={class:`info-row`},_hoisted_4$3={class:`value`},_hoisted_5$2={class:`buttons-section`},_sfc_main$10={__name:`ManagementDetails`,props:{managementDetails:{type:Object,default:null},executeButton:{type:Function,required:!0}},emits:[`button-click`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,handleButtonClick=buttonId=>{props.executeButton(buttonId),emit$1(`button-click`,buttonId)};return(_ctx,_cache)=>__props.managementDetails&&__props.managementDetails.buttonInfo&&__props.managementDetails.buttonInfo.length>0?(openBlock(),createElementBlock(`div`,_hoisted_1$8,[__props.managementDetails.details?(openBlock(),createElementBlock(`div`,_hoisted_2$5,[createBaseVNode(`div`,_hoisted_3$4,[_cache[0]||=createBaseVNode(`span`,{class:`label`},`Current Vehicle:`,-1),createBaseVNode(`span`,_hoisted_4$3,toDisplayString(__props.managementDetails.details.currentVehicleName),1)])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.managementDetails.buttonInfo,button=>(openBlock(),createElementBlock(`div`,{key:button.buttonId,class:`button-container`},[createVNode(unref(bngButton_default),{accent:button.accent||`secondary`,label:button.label,icon:button.icon,onClick:$event=>handleButtonClick(button.buttonId)},null,8,[`accent`,`label`,`icon`,`onClick`])]))),128))])])):createCommentVNode(``,!0)}},ManagementDetails_default=__plugin_vue_export_helper_default(_sfc_main$10,[[`__scopeId`,`data-v-b0128491`]]),_sfc_main$9={__name:`VehicleSelector`,setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(GridSelector_default,{backendName:`vehicleSelector`,routePath:`/vehicle-selector`,defaultPath:{keys:[`allModels`]},defaultDetailsMode:`advanced`,tileImagesTopAligned:``},{"item-details":withCtx(({activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod})=>[createVNode(VehicleDetails_default,{activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod,showHeaderTitle:!0},null,8,[`activeItem`,`activeItemDetails`,`executeButton`,`toggleFavourite`,`exploreFolder`,`goToMod`])]),"management-details":withCtx(({managementDetails,executeButton})=>[createVNode(ManagementDetails_default,{managementDetails,executeButton},null,8,[`managementDetails`,`executeButton`])]),_:1}))}},VehicleSelector_default=_sfc_main$9,routes_default$18=[{name:`menu.vehiclesnew`,path:`/vehicle-selector/:pathMatch(.*)*`,component:VehicleSelector_default,props:!0,meta:{clickThrough:!0,infoBar:{visible:!0,showSysInfo:!1},uiApps:{shown:!1},topBar:{visible:!0}}}],router=createRouter({history:createWebHashHistory(),routes:[...Object.values([routes_default,routes_default$1,routes_default$2,routes_default$3,routes_default$4,routes_default$5,routes_default$6,routes_default$7,routes_default$8,routes_default$9,routes_default$10,routes_default$11,routes_default$12,routes_default$13,routes_default$14,routes_default$15,routes_default$16,routes_default$17,routes_default$18]).flatMap(routes=>routes||[]),{path:`/:catchAll(.*)*`,name:`unknown`,component:NotFound_default}]});router.bngUpdateMeta=to=>{to.meta&&(to.meta.uiApps&&handelUIAppsSettings(to.meta.uiApps),handleInfoBarSettings(to.meta.infoBar||{}),handleTopBarSettings(to))},router.afterEach((to,from)=>{reportState(to.path,!0,from.path),window.bridge.api.engineLua(`extensions.hook("onUiChangedState", "${to.name}", "${from.name}")`),router.bngUpdateMeta(to)});var handelUIAppsSettings=settings$1=>{let appsAPI=useUIApps();settings$1.layout&&appsAPI.setLayout(settings$1.layout),`shown`in settings$1&&appsAPI.setVisible(settings$1.shown)},handleInfoBarSettings=settings$1=>{let infoBar=useInfoBar();infoBar.visible=settings$1.visible,infoBar.showSysInfo=settings$1.showSysInfo,infoBar.withAngular=settings$1.withAngular,settings$1.hints&&(infoBar.clearHints(),infoBar.addHints(settings$1.hints))},handleTopBarSettings=to=>{let topBar=useTopBar(),meta=to.meta.topBar||{};meta.visible?meta.visible&&!topBar.visible&&topBar.show():topBar.hide(),topBar.onUIStateChanged(to)},router_default=router,_hoisted_1$7={key:0,id:`vue-debug`},_hoisted_2$4={class:`heading-wrapper`},_hoisted_3$3={class:`label`},_hoisted_4$2={key:0,class:`route-info`},_hoisted_5$1={class:`main`},_hoisted_6$1={class:`controls`},_hoisted_7$1={key:0},_hoisted_8=[`label`],_hoisted_9=[`value`,`selected`],_sfc_main$8={__name:`VueDebug`,setup(__props){let{lua}=useBridge(),EXTRA_ROUTE,routeGroups=router_default.getRoutes().map(r=>r.name).filter(n=>n!==`routelist`).sort((a$1,b)=>a$1.localeCompare(b)).reduce((res,n)=>{if(!n)return res;let g=n.substring(0,1);return res[g]||(res[g]={name:g.toUpperCase(),routes:[]}),res[g].routes.push(n),res},{}),route=useRoute(),hash=ref(location.hash.split(`#`)[1]),path=computed(()=>route.path),routeName=computed(()=>route.name),showDebug=ref(window._VueDebugState),isOpen=ref(window._VueDebugOpen),showComponents=router_default.hasRoute(`components`),bngVue$1=window.bngVue||{};bngVue$1.debug=(state=!0)=>showDebug.value=window._VueDebugState=state,bngVue$1.reset=()=>bngVue$1.gotoGameState(`menu.mainmenu`);function toggleOpen(){isOpen.value=window._VueDebugOpen=!isOpen.value}function selectRoute(e){e.target.value&&bngVue$1.gotoGameState(e.target.value)}function icons$3(){bngVue$1.gotoGameState(`components/IconBrowser`),toggleOpen()}function colours(){bngVue$1.gotoGameState(`components/Colours`),toggleOpen()}function extra(){bngVue$1.gotoGameState(void 0),toggleOpen()}function components(){bngVue$1.showComponents(),toggleOpen()}function menu(){bngVue$1.reset(),toggleOpen()}function mainmenu(){toggleOpen(),lua.returnToMainMenu()}let closeDebug=e=>{e.stopPropagation(),bngVue$1.debug(!1)};return addEventListener(`hashchange`,e=>{hash.value=e.newURL.split(`#`)[1]}),(_ctx,_cache)=>(openBlock(),createBlock(Teleport,{to:`body`},[showDebug.value?(openBlock(),createElementBlock(`div`,_hoisted_1$7,[createBaseVNode(`div`,{class:`handle`,onClick:toggleOpen},[createBaseVNode(`div`,_hoisted_2$4,[createBaseVNode(`span`,_hoisted_3$3,[_cache[1]||=createBaseVNode(`strong`,null,`Vue`,-1),isOpen.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,_hoisted_4$2,`: `+toDisplayString(path.value)+` [ `+toDisplayString(routeName.value)+` ]`,1))]),createBaseVNode(`a`,{onClick:closeDebug},`x`)])]),withDirectives(createBaseVNode(`div`,_hoisted_5$1,[createBaseVNode(`div`,null,[createTextVNode(` Current hash: `+toDisplayString(hash.value),1),_cache[2]||=createBaseVNode(`br`,null,null,-1),createTextVNode(` Route name: `+toDisplayString(routeName.value),1)]),_cache[4]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`div`,_hoisted_6$1,[unref(showComponents)?(openBlock(),createElementBlock(`div`,_hoisted_7$1,[withDirectives((openBlock(),createElementBlock(`a`,{href:`#`,onClick:menu},[..._cache[3]||=[createTextVNode(`Main Menu`,-1)]])),[[unref(BngDoubleClick_default),mainmenu,void 0,{capture:!0}],[unref(BngTooltip_default),`Doubleclick to unload level`]]),unref(void 0)?(openBlock(),createElementBlock(`a`,{key:0,href:`#`,onClick:extra},`⏩`)):createCommentVNode(``,!0),createBaseVNode(`a`,{href:`#`,onClick:_cache[0]||=$event=>_ctx.$simplemenu.value=!_ctx.$simplemenu.value},toDisplayString(_ctx.$simplemenu.value?`✓`:`☐`)+` SimpleMenu`,1),createBaseVNode(`a`,{href:`#`,onClick:components},`Components`),createBaseVNode(`a`,{href:`#`,onClick:icons$3},`Icons`),createBaseVNode(`a`,{href:`#`,onClick:colours},`Colours`)])):createCommentVNode(``,!0),createBaseVNode(`select`,{multiple:``,onClick:selectRoute},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(routeGroups),group=>(openBlock(),createElementBlock(`optgroup`,{key:group.name,label:group.name},[(openBlock(!0),createElementBlock(Fragment,null,renderList(group.routes,route$1=>(openBlock(),createElementBlock(`option`,{key:route$1,value:route$1,selected:route$1===routeName.value},toDisplayString(route$1),9,_hoisted_9))),128))],8,_hoisted_8))),128))])])],512),[[vShow,isOpen.value]])])):createCommentVNode(``,!0)]))}},VueDebug_default=__plugin_vue_export_helper_default(_sfc_main$8,[[`__scopeId`,`data-v-669cde99`]]),_hoisted_1$6={class:`hint-content`},_hoisted_2$3={key:0,class:`binding-container`},_hoisted_3$2={key:1,class:`text`},_hoisted_4$1={key:1,class:`hint-text`},_sfc_main$7={__name:`Hint`,props:{data:Object},setup(__props){let Controls=controls_default(),props=__props,PROP_DEFAULTS={icon:{color:`white`},binding:{showUnassigned:!0,dark:!1}},hintRef=ref(null),bindingRefs=ref([]),hintContent=computed(()=>{let hints=props.data?[props.data.content].flat():[],res=[],label;for(let hint of hints)typeof hint==`string`?label=hint:(hint.label&&(label=hint.label),res.push({...hint,label:void 0}));return label&&res.push(label),res}),bindingView=computed(()=>{let res=hintContent.value.filter(item=>typeof item!=`string`);for(let item of res)if(item.type===`binding`){if(item.props?.viewerObj){item.viewerObjs=[item.props.viewerObj];continue}let viewerObjs=Controls.makeViewerObj({...PROP_DEFAULTS[item.type],...item.props,actionVariants:!0,useLastDevice:!0});viewerObjs?.variants?item.viewerObjs=viewerObjs.variants:item.viewerObjs=[viewerObjs]}return res}),labelView=computed(()=>hintContent.value.find(item=>typeof item==`string`)||bindingView.value.find(item=>item.label)?.label),bindingDisplayed=computed(()=>!!(bindingRefs.value.some(ref$1=>ref$1.displayed)||bindingView.value.some(item=>item.type===`icon`)||labelView.value));function onClick(evt){if(lastFocused&&document.body.contains(lastFocused)&&!setFocusExternal(lastFocused,!0,!1))try{lastFocused.focus?.()}catch{}props.data.action?.(evt)}let lastFocused;function trackFocus(evt){let target=evt?.detail?.target||evt?.target||document.activeElement;if(!target){lastFocused=null;return}if(target=target.closest(NAVIGABLE_ELEMENTS_SELECTOR),!target){lastFocused=null;return}if(target===lastFocused)return;let button=hintRef.value?.getElement?.();target!==button&&!button.contains(target)&&(lastFocused=target)}return onMounted(()=>window.addEventListener(`uinav-focus`,trackFocus)),onBeforeUnmount(()=>window.removeEventListener(`uinav-focus`,trackFocus)),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{ref_key:`hintRef`,ref:hintRef,class:normalizeClass([`hint`,{"flash-on":__props.data.flash}]),accent:unref(ACCENTS).text,disabled:!__props.data.action,onClick:withModifiers(onClick,[`stop`]),"bng-no-nav":``,tabindex:`-1`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$6,[bindingView.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_2$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(bindingView.value,(item,idx)=>(openBlock(),createElementBlock(`span`,{key:idx,class:`rich`},[item.type===`icon`?(openBlock(),createBlock(unref(bngIcon_default),mergeProps({key:0,class:`icon`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props}),null,16)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(item.viewerObjs,(viewerObj,index)=>(openBlock(),createBlock(unref(bngBinding_default),mergeProps({key:index,ref_for:!0,ref_key:`bindingRefs`,ref:bindingRefs,class:`binding`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props,viewerObj},{"track-ignore":``}),null,16))),128)),item.hold?(openBlock(),createElementBlock(`span`,_hoisted_3$2,toDisplayString(item.hold?`[hold]`:``),1)):createCommentVNode(``,!0)]))),128))])):createCommentVNode(``,!0),labelView.value?(openBlock(),createElementBlock(`span`,_hoisted_4$1,toDisplayString(_ctx.$tt(labelView.value)),1)):createCommentVNode(``,!0)])]),_:1},8,[`class`,`accent`,`disabled`])),[[vShow,bindingDisplayed.value]])}},Hint_default=__plugin_vue_export_helper_default(_sfc_main$7,[[`__scopeId`,`data-v-29a63ba0`]]),_hoisted_1$5={key:0,class:`info-bar-stats`},_hoisted_2$2={key:0},_hoisted_3$1={key:0,class:`divider`},_hoisted_4={key:0},_hoisted_5={class:`sysinfo`},_hoisted_6={class:`sysinfo`},_hoisted_7={key:1,class:`info-bar-buttons`,"bng-no-child-nav":`true`},_sfc_main$6={__name:`InfoBar`,setup(__props){let{visible,showSysInfo,withAngular,hints}=storeToRefs(useInfoBar()),showBuildInfo=ref(!1),toggleBuildInfo=()=>showBuildInfo.value=!showBuildInfo.value,route=useRoute(),solidBar=computed(()=>route.name===`menu.mainmenu`?!sysInfo_default.mainMenuBackgroundRequired.value:withAngular.value);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`info-bar`,{"info-bar-solid":solidBar.value}]),"bng-no-nav":`true`},[unref(showSysInfo)?(openBlock(),createElementBlock(`div`,_hoisted_1$5,[withDirectives(createVNode(unref(bngIcon_default),{style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(sysInfo_default).online?unref(icons).globeSimplified:unref(icons).globeSimpleNotSign},null,8,[`type`]),[[unref(BngTooltip_default),unref(sysInfo_default).online?`Online`:`Offline`,`top`]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(sysInfo_default).serviceProviders.value,(info,key)=>(openBlock(),createElementBlock(Fragment,null,[unref(sysInfo_default).serviceProvidersOnline.value[key]?(openBlock(),createElementBlock(`span`,_hoisted_2$2,[createVNode(unref(bngImageAsset_default),{src:`images/mainmenu/${key}icon.png`},null,8,[`src`]),createTextVNode(` `+toDisplayString(info.playerName)+` `,1),info.branch&&info.branch!==`public`?withDirectives((openBlock(),createBlock(unref(bngIcon_default),{key:0,style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(icons).branch},null,8,[`type`])),[[unref(BngTooltip_default),`Branch: `+info.branch,`top`]]):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(info.branch&&info.branch!==`public`?info.branch:``),1)])):createCommentVNode(``,!0)],64))),256)),unref(sysInfo_default).online||unref(sysInfo_default).serviceProvidersOnline.value.any?(openBlock(),createElementBlock(`span`,_hoisted_3$1)):createCommentVNode(``,!0),createBaseVNode(`span`,{onClick:toggleBuildInfo},[showBuildInfo.value?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`span`,_hoisted_5,`Alpha v.`+toDisplayString(unref(sysInfo_default).version),1),createBaseVNode(`span`,_hoisted_6,toDisplayString(unref(sysInfo_default).buildInfo),1)],64)):(openBlock(),createElementBlock(`span`,_hoisted_4,`Alpha v.`+toDisplayString(unref(sysInfo_default).versionSimple),1))])])):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`div`,{class:`spacer`},null,-1),unref(hints).length?(openBlock(),createElementBlock(`div`,_hoisted_7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hints),item=>(openBlock(),createBlock(Hint_default,{key:item.id,data:item},null,8,[`data`]))),128))])):createCommentVNode(``,!0)],2)),[[vShow,unref(visible)],[unref(BngBlur_default),solidBar.value&&!unref(sysInfo_default).mainMenuBackgroundRequired.value]])}},InfoBar_default=__plugin_vue_export_helper_default(_sfc_main$6,[[`__scopeId`,`data-v-cb5f8971`]]),_hoisted_1$4=[`accent`],_sfc_main$5={__name:`TopBarItem`,props:{icon:{type:String,required:!0},active:{type:Boolean,default:void 0},label:String,iconOnly:Boolean,iconPosition:{type:String,default:`left`},accent:{type:String,default:`default`}},setup(__props){let props=__props,item=ref(null);return watch(()=>props.active,value=>{typeof value==`boolean`&&(value?(item.value.setAttribute(`active`,`true`),item.value.removeAttribute(NO_NAV_ATTR)):(item.value.removeAttribute(`active`),item.value.setAttribute(NO_NAV_ATTR,`true`)))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`item`,ref:item,class:normalizeClass([`topbar-item`,{"icon-only":__props.iconOnly}]),accent:__props.accent,"bng-nav-item":``,"bng-no-nav":`true`,tabindex:`-1`},[createVNode(unref(bngIcon_default),{class:`topbar-item-icon`,type:__props.icon},null,8,[`type`]),__props.label&&!__props.iconOnly?(openBlock(),createBlock(unref(textScroller_default),{key:0,class:`topbar-item-text`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(__props.label)),1)]),_:1})):createCommentVNode(``,!0)],10,_hoisted_1$4)),[[unref(BngSoundClass_default),`bng_click_hover_generic`]])}},TopBarItem_default=__plugin_vue_export_helper_default(_sfc_main$5,[[`__scopeId`,`data-v-2c3015cd`]]),_hoisted_1$3={class:`topbar`},_hoisted_2$1={class:`topbar-section topbar-left`},_hoisted_3={class:`topbar-section topbar-center`},_sfc_main$4={__name:`TopBar`,setup(__props,{expose:__expose}){let topBar=useTopBar(),{visible,items:items$2,activeItem,gameState:gameState$1}=storeToRefs(topBar),overflowContainer=ref(null),pauseButtonTarget=ref(null),showTabBindings=ref(!0),showBackBinding=ref(!0),onItemClicked=item=>{activeItem.value!==item.id&&(activeItem.value=item.id,topBar.selectEntry(item.id))},backStack=new Map,customBack=null;function setBack(id,fn){if(!id)throw Error("Usage: TopBar.setBack(id, [fn]), where `id` is your unique id and `fn` is a custom back function that will fire and expected to return `true` or `false` (undefined return means `true`), which will dis-/allow the base back functionality.");typeof fn==`function`?backStack.set(id,fn):backStack.delete(id),customBack=Array.from(backStack.values()).at(-1)||null}let onBack=()=>{let res=customBack?.();res===void 0&&(res=!0),res&&(gameState$1.isInGame?window.bngVue.gotoGameState(`play`):window.globalAngularRootScope?.$broadcast(`MenuToggle`))},onContinue=()=>{window.bngVue.gotoAngularState(`play`)};return watch(()=>activeItem.value,val=>{if(activeItem.value!==null&&items$2.value.length>0){let idx=items$2.value.findIndex(item=>item.id===val);overflowContainer.value.activate(idx)}else overflowContainer.value.deactivate()}),__expose({pauseButtonTarget:computed(()=>visible.value?pauseButtonTarget.value:null),setBack,showTabBindings,showBackBinding}),onMounted(()=>{}),onUnmounted(()=>{}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$3,[createBaseVNode(`div`,_hoisted_2$1,[unref(gameState$1).isInGame?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,"track-ignore":``,accent:`custom`,class:`topbar-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onContinue},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).play},null,8,[`type`]),createVNode(unref(bngBinding_default),{"ui-event":`menu`,controller:``})]),_:1})),[[unref(BngTooltip_default),`Back to gameplay`,`right`]]):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{"track-ignore":``,accent:`custom`,class:`topbar-button back-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onBack},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).undo},null,8,[`type`]),withDirectives(createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``},null,512),[[vShow,showBackBinding.value]])]),_:1})),[[unref(BngTooltip_default),`Back one level`,`right`]])]),createBaseVNode(`div`,_hoisted_3,[withDirectives(createVNode(unref(bngOverflowContainer_default),{ref_key:`overflowContainer`,ref:overflowContainer,class:`topbar-overflow-container`,"use-bindings-only":``,"show-bindings":showTabBindings.value},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(items$2),item=>(openBlock(),createBlock(TopBarItem_default,{key:item.id,icon:item.icon,label:item.label,onClick:$event=>onItemClicked(item)},null,8,[`icon`,`label`,`onClick`]))),128))]),_:1},8,[`show-bindings`]),[[vShow,unref(items$2).length>0]])]),createBaseVNode(`div`,{ref_key:`pauseButtonTarget`,ref:pauseButtonTarget,class:`topbar-section topbar-right`},null,512)])),[[vShow,unref(visible)],[unref(BngBlur_default)]])}},TopBar_default=__plugin_vue_export_helper_default(_sfc_main$4,[[`__scopeId`,`data-v-c4d95c66`]]),_sfc_main$3={__name:`Popup`,props:{type:{type:String,default:`default`,validator:val=>[`default`,`activity`].includes(val)}},setup(__props){let props=__props,popups=computed(()=>popupsView[props.type===`default`?`popups`:`activities`]),popupsWrapper=computed(()=>popupsView[props.type===`default`?`popupsWrapper`:`activitiesWrapper`]),wrapper=ref(),innerWrapper=ref(),shown=reactive({wrapper:!1,popups:!1}),tmr;watch(()=>!!popups.value,cur=>{if(cur===shown.wrapper)return;let body=document.body;cur&&popupsWrapper.value.fade?body.classList.add(`popup-all-hide`):body.classList.remove(`popup-all-hide`),tmr&&clearTimeout(tmr),cur?(shown.wrapper=!0,nextTick(()=>{props.type===`default`&&wrapper.value&&typeof wrapper.value.showModal==`function`&&wrapper.value.showModal(),nextTick(()=>shown.popups=!0)}),popupsWrapper.value.fade&&body.classList.add(`popup-show-hide`)):tmr=setTimeout(()=>{tmr=null,!popups.value&&(body.classList.remove(`popup-show-hide`),shown.popups=!1,shown.wrapper=!1,nextTick(()=>priorityFocus()))},200)});function handleUINavEvents(event){console.log(`POPUP handleUINavEvents stopPropagation`,event),event.stopPropagation()}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[shown.wrapper?withDirectives((openBlock(),createBlock(resolveDynamicComponent(__props.type===`default`?`dialog`:`div`),{key:0,ref_key:`wrapper`,ref:wrapper,class:normalizeClass([`popup-wrapper`,`popup-type-${__props.type}`])},{default:withCtx(()=>[createVNode(Transition,{name:`popup-background`},{default:withCtx(()=>[shown.popups?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`popup-background`,...popupsWrapper.value.style.map(name=>`background-style-`+name)])},null,2)):createCommentVNode(``,!0)]),_:1}),createVNode(TransitionGroup,{name:`popup-fade`},{default:withCtx(()=>[shown.popups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(popups.value,popup=>(openBlock(),createElementBlock(`div`,{key:popup.id,class:normalizeClass([`popup-container`,...popup.position.map(name=>`content-position-`+name),popup.animated?`popup-animated`:`popup-notanimated`,popup.active?`popup-active`:`popup-inactive`])},[(openBlock(),createBlock(resolveDynamicComponent(popup.component.ref),mergeProps({ref_for:!0},popup.props,{popupActive:popup.active,class:[`popup-content`,popup.active?`popup-active`:`popup-inactive`],onReturn:popup.return}),null,16,[`popupActive`,`class`,`onReturn`]))],2))),128)):createCommentVNode(``,!0)]),_:1}),createBaseVNode(`div`,{ref_key:`innerWrapper`,ref:innerWrapper},null,512)]),_:1},8,[`class`])),[[unref(BngBlur_default),popupsWrapper.value.blur],[unref(BngOnUiNav_default),handleUINavEvents,`back,menu`]]):createCommentVNode(``,!0),(openBlock(),createBlock(Teleport,{to:innerWrapper.value,disabled:!innerWrapper.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,[`to`,`disabled`]))],64))}},Popup_default=__plugin_vue_export_helper_default(_sfc_main$3,[[`__scopeId`,`data-v-c0bb08d7`]]),_hoisted_1$2={class:`popover-container`},_sfc_main$2={__name:`Popover`,setup(__props){return usePopover(),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$2))}},Popover_default=__plugin_vue_export_helper_default(_sfc_main$2,[[`__scopeId`,`data-v-86205238`]]),_hoisted_1$1={class:`backgrounds-cache`},_hoisted_2=[`src`],DRIVE=8,TECH=1,_sfc_main$1={__name:`MainBackground`,setup(__props,{expose:__expose}){let bgPathResolve=(product,name,blur$1=!1)=>`images/mainmenu/${product?product+`/`:``}${name}${blur$1?`_blur`:``}.jpg`,_backgrounds={drive:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1)),drive_blur:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1,!0)),tech:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1)),tech_blur:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1,!0)),unofficial:[bgPathResolve(null,`unofficial_version`)],unofficial_blur:[bgPathResolve(null,`unofficial_version`,!0)]},backgroundId=ref(`drive`),backgrounds=computed(()=>({normal:_backgrounds[backgroundId.value],blur:_backgrounds[backgroundId.value+`_blur`]})),carousel=ref();return __expose({carousel:computed(()=>carousel.value),backgrounds:computed(()=>backgrounds.value)}),onMounted(async()=>{let isTech=await Lua_default.extensions.tech_license.isValid();backgroundId.value=isTech?`tech`:`drive`,bngApi.engineLua(`sailingTheHighSeas`,ahoy=>{backgroundId.value=ahoy?`unofficial`:isTech?`tech`:`drive`})}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Slideshow_default,{class:`background-image`,ref_key:`carousel`,ref:carousel,images:backgrounds.value.normal,delay:1e4,transition:``,shuffle:``},null,8,[`images`]),(openBlock(!0),createElementBlock(Fragment,null,renderList(backgrounds.value,list=>(openBlock(),createElementBlock(`div`,_hoisted_1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(list,src=>(openBlock(),createElementBlock(`img`,{src:unref(getAssetURL)(src)},null,8,_hoisted_2))),256))]))),256))],64))}},MainBackground_default=__plugin_vue_export_helper_default(_sfc_main$1,[[`__scopeId`,`data-v-6c1f834b`]]),_hoisted_1={id:`vue-app-container`},_sfc_main={__name:`App`,setup(__props){let route=useRoute(),settings$1=useSettings(),bngVue$1=window.bngVue||{},apps=ref([]),appContCnt=ref(0),appTargets=computed(()=>apps.value.reduce((res,{teleport})=>({...res,[teleport]:document.getElementById(teleport.substring(1)),cnt:appContCnt.value}),{}));bngVue$1.updateAppContainer=()=>window.requestAnimationFrame(()=>appContCnt.value=++appContCnt.value%1e5);let contClickThrough=ref(!1);bngVue$1.gotoAngularState=(state=`blank`,params=void 0)=>window.angular&&window.angular.element(document.querySelector(`body`)).controller().changeAngularStateFromVue(state,params),bngVue$1.gotoGameState=(state=`ui-test`,{params=!1,tryAngularJS=!0,blankAngularJS=!0,clickThrough=!1,uiAppsShown=!1}={})=>{let a$1=history.state;if(!router_default.hasRoute(state))window.location.hash=`#/`+state,route&&(handleUiAppsMeta(route,uiAppsShown),router_default.bngUpdateMeta(route)),tryAngularJS&&bngVue$1.gotoAngularState(state,params);else{blankAngularJS&&bngVue$1.gotoAngularState(`blank`);let newroute=router_default.resolve({name:state,params});handleUiAppsMeta(newroute,uiAppsShown),newroute.name===route.name&&router_default.bngUpdateMeta(route),window.location.hash=newroute.href,router_default.replace({name:state,params})}history.replaceState(a$1,``,window.location.toString()),contClickThrough.value=clickThrough};function handleUiAppsMeta(route$1,uiAppsShown){route$1.meta?route$1.meta.uiApps||(route$1.meta.uiApps={}):route$1.meta={uiApps:{}},typeof route$1.meta.uiApps.shown!=`boolean`&&(route$1.meta.uiApps.shown=uiAppsShown)}bngVue$1.getCurrentRoute=()=>router_default.currentRoute.value,bngVue$1.spawnApp=(appName,appId,params=null)=>spawnUiApp(appName,appId,params,apps.value),bngVue$1.destroyApp=appName=>destroyUiApp(appName,apps.value),useFocusManager();let topBar=ref();provide(`setBack`,(id,fn)=>topBar.value?.setBack(id,fn)),provide(`showTopbarTabBindings`,val=>topBar.value&&(topBar.value.showTabBindings=val)),provide(`showTopbarBackBinding`,val=>topBar.value&&(topBar.value.showBackBinding=val));let bgRequired=sysInfo_default.mainMenuBackgroundRequired,mainBackground=ref();return provide(`mainBackground`,computed(()=>mainBackground.value?.carousel)),provide(`mainBackgroundBlur`,computed(()=>mainBackground.value?.backgrounds.blur)),watch([()=>settings$1.values.uiLayoutContentAlignment,()=>settings$1.values.uiLayoutContentWidth],([alignment,width$1])=>{let rootStyle=document.documentElement.style;alignment=LAYOUT_ALIGNMENTS[alignment||`center`],width$1=width$1?`${width$1}px`:`100vw`,window.requestAnimationFrame(()=>{rootStyle.setProperty(`--layout-content-alignment`,alignment),rootStyle.setProperty(`--layout-content-width`,width$1)})},{immediate:!0}),(_ctx,_cache)=>{let _component_router_view=resolveComponent(`router-view`);return openBlock(),createElementBlock(Fragment,null,[unref(bgRequired)?(openBlock(),createBlock(MainBackground_default,{key:0,ref_key:`mainBackground`,ref:mainBackground},null,512)):createCommentVNode(``,!0),unref(route).name===`unknown`?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,{key:1,class:normalizeClass({"vue-app-main":!0,"click-through":contClickThrough.value||unref(route).meta&&unref(route).meta.clickThrough})},[createVNode(TopBar_default,{ref_key:`topBar`,ref:topBar},null,512),createVNode(_component_router_view),createVNode(InfoBar_default)],2)),createVNode(pauseButton_default,{"teleport-to":topBar.value?.pauseButtonTarget},null,8,[`teleport-to`]),unref(route).name===`unknown`?(openBlock(),createBlock(Popup_default,{key:2,type:`activity`})):createCommentVNode(``,!0),createVNode(Popup_default,null,{default:withCtx(()=>[createVNode(Popover_default)]),_:1}),createVNode(LoadingScreen_default),createVNode(VueDebug_default),createBaseVNode(`div`,_hoisted_1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(apps.value,(app$1,index)=>(openBlock(),createElementBlock(Fragment,{key:app$1.appKey},[appTargets.value[app$1.teleport]?(openBlock(),createBlock(Teleport,{key:0,to:app$1.teleport},[(openBlock(),createBlock(resolveDynamicComponent(app$1.comp),mergeProps({ref_for:!0},app$1.props),null,16))],8,[`to`])):createCommentVNode(``,!0)],64))),128))])],64)}}},App_default=__plugin_vue_export_helper_default(_sfc_main,[[`__scopeId`,`data-v-eef28b65`]]);function customDisposePlugin(context){let store$1=context.store,{$dispose,dispose:dispose$2}=store$1;store$1.$dispose=()=>{$dispose(),dispose$2&&typeof dispose$2==`function`&&dispose$2()}}window.watchdogInit=init,window.Vue=vue_esm_bundler_exports;var deps={Emitter:eventemitter3_default,beamng:window.beamng};window.bngApi&&(deps.overrideAPI=window.bngApi),setBridgeDependencies(deps);var bridge=useBridge();window.bridge=bridge,sysInfo_default.init(),initFocusVisible(),bridge.uiNavService=new UINavService(bridge.events),setUINavServiceInstance(bridge.uiNavService),bridge.uiNavService.initialize();var pinia=createPinia().use(()=>({$game:bridge})).use(customDisposePlugin),app=createApp(App_default).use(router_default).use(pinia).use(registerApps,apps_exports);useGameContextStore(),window.bngVue={start:()=>{window.vueGlobalStore||(window.vueGlobalStore=reactive({}));let globals={$game:bridge,$console:logger_default,$logger:logger_default,$simplemenu:ref(!!window.beamng?.simplemenu),$globalStore:window.vueGlobalStore},{i18n,plugin:translationPlugin$1}=initTranslation();app.use(i18n).use(translationPlugin$1());for(let[key,value]of Object.entries(globals))app.config.globalProperties[key]=value,app.provide(key,value);app.mount(`#vue-app`);let controlsStore=controls_default();window.bngVue.controls={getControllers:()=>controlsStore.controllers,getPlayers:()=>controlsStore.players,getCategories:()=>controlsStore.categories,getCategoriesList:()=>controlsStore.categoriesList,findBindingForAction:controlsStore.findBindingForAction,getActionDetails:controlsStore.getActionDetails,getBindingDetails:controlsStore.getBindingDetails,getAllBindingsForAction:controlsStore.getAllBindingsForAction,addNewBinding:controlsStore.addNewBinding,updateBinding:controlsStore.updateBinding,deleteBinding:controlsStore.deleteBinding,deleteBindings:controlsStore.deleteBindings,deviceIcon:controlsStore.deviceIcon,isFFBBound:controlsStore.isFFBBound,isFFBEnabled:controlsStore.isFFBEnabled,isFFBCapable:controlsStore.isFFBCapable,isGamepadAvailable:controlsStore.isGamepadAvailable,captureBinding:controlsStore.captureBinding,makeViewerObj:controlsStore.makeViewerObj,isControllerAvailable:controlsStore.isControllerAvailable,isControllerUsed:controlsStore.isControllerUsed,showIfController:controlsStore.showIfController,focusIfController:controlsStore.focusIfController,refreshData:()=>bridge.lua.extensions.core_input_bindings.notifyUI(`Vue exposed controls service needs the data`)},window.bngVue.uiNavTracker=useUINavTracker(),window.bngVue.topBar=useTopBar()},startTest:()=>{app.mount(`#vue-app`)},isProd:!0,icons},window.beamng||window.bngVue.start({i18n:window.i18n});
        if core_camera then core_camera.requestConfig() end    -- cameraConfig
      `);async function init$3(){for(let key in active=!0,(window.beamng&&!window.beamng.shipping||editor)&&(watchers$1.push(watch(()=>settingsValues.value,updateSettingsList)),watchers$1.push(watch(()=>layout.value,async()=>{await settings$1.waitForData(),updateSettingsList()}))),events$3.on(`SettingsChanged`,()=>settingsTimestamp.value=Date.now()),watchers$1.push(watch(customValues,()=>settingsTimestamp.value=Date.now(),{deep:!0})),events$3.on(`externalUIURL`,data=>customValues.externalUIURL=data||``),events$3.on(`OpenXRStateChanged`,data=>customValues.openXRstate=data),events$3.on(`CameraConfigChanged`,data=>{customValues.cameraConfigList=Array.isArray(data.cameraConfig)?data.cameraConfig:[],customValues.cameraConfigFocused=data.focusedCamName}),updateCustom(),await settings$1.waitForData(),settings$1.values)initialValues[key]=settings$1.values[key];settingsTimestamp.value=Date.now(),setupSearch(layout,settingsValues,settingsOptions,settingsTimestamp,conditions)}let settingsValues=computed(()=>{if(!active||!settings$1.values)return{};let res={...settings$1.values};for(let key in valueFormatters)res[key]=valueFormatters[key](res[key],settings$1.values,customValues);for(let key in valueExtensions)res[key]=valueExtensions[key](settings$1.values,customValues);return res}),settingsOptions=computed(()=>{let res={};if(!active||!settings$1.options||!settings$1.values)return res;for(let key in settings$1.options)key in optionFormatters?res[key]=optionFormatters[key](settings$1.options[key],settings$1.options,settings$1.values):res[key]=guessOptionFormat(settings$1.options[key]);for(let key in optionExtensions)res[key]=optionExtensions[key](settings$1.options,settings$1.values);return res}),editor=null,layout=ref(layout_default);function updateSettingsList(){if(!active)return;settingsList.value=Object.keys(settingsValues.value).reduce((res,name)=>({...res,[name]:{assigned:!1,assignedIn:[],value:settingsValues.value[name],options:settingsOptions.value[name],elementId:name.split(`.`)}}),{});function dive(items$2,cat,catIndex,level$1=0,parentId=``){for(let i=0;i{let values=name in applyValueFormatters?applyValueFormatters[name](value):{[name]:value};for(let key in name.startsWith(`debug_`)&&(customValues.debug[name.substring(6)]=value,name===`debug_visualization`&&(customValues.debug.visualization_prev&&api$1.engineLua(customValues.debug.visualization_prev),customValues.debug.visualization_prev=value,api$1.engineLua(value))),values)key in settings$1.values||delete values[key];Object.keys(values).length>0&&(logger_default.debug(`Applying:`,JSON.stringify(values)),settings$1.apply(values),updateCustom())};function dispose$2(){active=!1,settingsList.value={};for(let unwatch of watchers$1)unwatch();watchers$1.splice(0),settingsTimestamp.value=0,disposeSearch(),null?.dispose()}return provide(`settingsValues`,settingsValues),provide(`settingsOptions`,settingsOptions),provide(`settingsTimestamp`,settingsTimestamp),provide(`settingsList`,settingsList),provide(`conditions`,conditions),provide(`buildItemId`,buildItemId),{init:init$3,dispose:dispose$2,versions:VERSIONS,version:VERSIONS[0],settings:settings$1,settingsList,settingsValues,settingsOptions,settingsTimestamp,applySetting,buildItemId,layout,conditions,editable:!1,editor:null,searchText,searchResults,searchTemplates:{message:(...args)=>searchTemplates.message(layout,...args),headers:(...args)=>searchTemplates.headers(layout,...args),group:(...args)=>searchTemplates.group(layout,...args)}}}var _hoisted_1$19={class:`options-wrapper`,"bng-ui-scope":`options`},_hoisted_2$13={class:`options-heading`},_hoisted_3$12={key:0,class:`options-container`},_hoisted_4$9={class:`background`},_hoisted_5$8={class:`options-content-wrapper`},_hoisted_6$5={class:`options-message`},_hoisted_7$5={class:`message-content`},_hoisted_8$3={key:1,class:`options-categories`},_hoisted_9$2={key:0,class:`categories-divider`},_hoisted_10$1={key:2,class:`options-container`},_hoisted_11$1={class:`options-subcategories`},_hoisted_12$1={class:`background`},_hoisted_13$1={key:0,class:`categories-divider`},_hoisted_14$1={key:1,class:`categories-spacer`},_hoisted_15$1={key:0,class:`categories-spacer`},_hoisted_16$1={key:1,class:`categories-divider`},_hoisted_17$1={class:`options-content-wrapper`},_hoisted_18$1={key:0,class:`options-add-item`},_hoisted_19$1={key:1,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_20$1={key:2,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_21$1={class:`background`},_hoisted_22$1=[`innerHTML`],_hoisted_23$1={key:0,class:`options-info-fps`},_sfc_main$23={__name:`OptionsView`,props:{category:String},setup(__props){useUINavScope(`options`);let router$1=useRouter(),route=useRoute(),{api:api$1}=useBridge(),options=useOptions(),loaded=ref(!1),itemsContainer=ref(null),activeScope=ref(``),props=__props;provide(`version`,options.version);let EditUI=ref(null),itemEdit=(...args)=>EditUI.value?.functions.itemEdit?.(...args),categoryEdit=(...args)=>EditUI.value?.functions.categoryEdit?.(...args),catItemsPaste=(...args)=>EditUI.value?.functions.catItemsPaste?.(...args);provide(`EditUI`,EditUI);let editable=ref(!1);provide(`editable`,editable);let categories=computed(()=>options.layout.value.items||[]),categoryIds=computed(()=>categories.value.map(cat=>cat.categoryId)),categoryIndex=ref(-1);provide(`categoryIndex`,categoryIndex);let allCategories=computed(()=>{let cats=[...categories.value].map(cat=>({...cat})),startIndex=0;for(let i=0;istartIndex&&(cats[ri].subcategoryMode=hadSpacer?`none`:ri===i?`last`:ri===startIndex+1?`first`:`middle`)}}else startIndex=i,cat.indexRange=[i,i]}let hidden=[];for(let cat of cats)if(!(!cat.condition_visible||cat.condition_visible in options.conditions&&options.conditions[cat.condition_visible](options.settingsValues.value)))if(cat.subcategory)hidden.push(cat.categoryIndex);else for(let i=cat.indexRange[0];i<=cat.indexRange[1];i++)hidden.push(i);return options.editable?cats.map(cat=>(cat.hiddenByCondition=hidden.includes(cat.categoryIndex),cat.debugSettings=cat.condition_visible===`__notForShipping`,cat)):hidden.length>0?cats.filter(cat=>!hidden.includes(cat.categoryIndex)):cats}),categoriesView=computed(()=>allCategories.value.filter(cat=>!cat.subcategory&&!cat.persistent&&!cat.spacer)),categoryRange=computed(()=>categoriesView.value.find(cat=>categoryIndex.value>=cat.indexRange[0]&&categoryIndex.value<=cat.indexRange[1])?.indexRange||[categoryIndex.value,categoryIndex.value]),subcategoriesView=computed(()=>{let res=categoryIndex.value===-1?[]:allCategories.value.filter(cat=>!cat.persistent&&cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1]);return res.length>0&&(res[0]={...res[0],label:`ui.options.general`}),res}),persistentView=computed(()=>allCategories.value.filter(cat=>cat.persistent)),itemsNew=ref([]),itemsNewShow=ref(!1),itemsNewView=computed(()=>itemsNewShow.value?itemsNew.value:[]);options.editor&&watch(options.layout,()=>itemsNew.value.splice(0));function renderNewOptions(doRender=!0){if(itemsNewShow.value=doRender,!doRender||itemsNew.value.length>0)return;function dive(parent){if(parent.version!==options.version)for(let i=parent.items.length-1;i>=0;i--){let item=parent.items[i];item.items&&(item.items.length>0&&dive(item),item.items.length>0)||item.version!==options.version&&parent.items.splice(i,1)}}let layout=JSON.parse(JSON.stringify(options.layout.value.items));for(let i=layout.length-1;i>=0;i--){let cat=layout[i];dive(cat),cat.items.length>0&&itemsNew.value.push(options.searchTemplates.group(cat.label,cat.icon,cat.items))}}provide(`renderNewOptions`,renderNewOptions);let itemsView=computed(()=>[...categoryIndex.value>-1&&categoryIndex.value{renderNewOptions(!1),categoryIndex.value>-1&&(special.value=null,searchActive.value=!1,options.searchText.value=``),itemsContainer.value&&itemsContainer.value.scrollTo({top:0,behavior:`instant`})}),watch(special,()=>{special.value&&(categoryIndex.value=-1,searchActive.value=!1,options.searchText.value=``)});let searchActive=ref(!1),searchFocused=ref(!1);watch(searchFocused,focused$1=>{focused$1?(searchActive.value=!0,categoryIndex.value=-1,special.value=null):options.searchText.value.length===0&&(searchActive.value=!1,categoryIndex.value=0)});let elCategories=ref(null),elSearch=ref(null),elSearchBinding=ref(null);watch(()=>elSearch.value?.scopeActivated,active=>{activeScope.value=active?``:`content`});function toSearchAndBack(){elSearch.value&&(elSearch.value.scopeActivated=!elSearch.value.scopeActivated)}function fromContent(){searchActive.value?elSearch.value.scopeActivated=!0:activeScope.value=`subcategories`}function mainCatNav(evt){!elCategories.value||!evt.detail||(options.searchText.value=``,elSearch.value.scopeActivated=!1,searchActive.value=!1,activeScope.value=`subcategories`,evt.detail.name===`tab_l`?elCategories.value.activatePrev():evt.detail.name===`tab_r`&&elCategories.value.activateNext(),evt.stopPropagation())}function catNavigate(cat){cat.reroute?window.bngVue.gotoAngularState(cat.reroute):categoryIndex.value!==cat.categoryIndex&&(categoryIndex.value=cat.categoryIndex)}provide(`goToSetting`,(catIndex,itemId)=>{categoryIndex.value=catIndex,nextTick(()=>{let elm=document.getElementById(itemId);elm?(elm.scrollIntoView({behavior:`smooth`,block:`center`}),elm.classList.add(`options-setting-highlight`),setTimeout(()=>elm?.classList.remove(`options-setting-highlight`),5e3)):logger_default.warn(`Setting item not found: ${itemId}`)})});function onChange(data,value){options.applySetting(data.setting,value);let lua;switch(data.itemType){case`checkbox`:value===!0||value===`enable`?lua=data.lua:(value===!1||value===`disable`)&&(lua=data.luaOff);break;default:lua=data.lua}lua&&runLua(lua,value)}function onClick(data){data.lua&&runLua(data.lua)}function runLua(code,value=void 0){code.toLowerCase().includes(`%value%`)&&value!==void 0&&(code=code.replace(/%value%/gi,api$1.serializeToLua(value))),code.toLowerCase().includes(`%values%`)&&(code=code.replace(/%values%/gi,api$1.serializeToLua(options.settings.values)));let isLua=!code.startsWith(`$`);logger_default.log(`Running ${isLua?`lua`:`script`}: ${code}`),isLua?api$1.engineLua(code):api$1.engineScript(code)}function updateRoute(){if(!loaded.value||route.path!==`/options`&&!route.path.startsWith(`/options/`))return;let newRoute={name:`options`};categoryIndex.value>-1&&categoryIndex.valuecategoryIndex.value,(index,oldIndex)=>{index>-1?(special.value=null,updateRoute(),options.editor?.clearSelection(),showCategoryInfo(index,categories.value[index]?.categoryInfo),showCategoryInfo(oldIndex)):showCategoryInfo(oldIndex)}),watch(()=>special.value,val=>{val&&(categoryIndex.value=-1,updateRoute())});function selectDefaultCategory(){if(categories.value.length===0)return!1;if(props.category){let catIndex=categoryIds.value.indexOf(props.category);catIndex>-1?categoryIndex.value=catIndex:special.value=props.category}else categoryIndex.value=0;return!0}let elInfo=ref(),infos=new Map,infoHidden=ref(!1),infoView=ref([]);function showInfo(id,text=void 0){if(infos.has(id))if(text){if(infos.get(id)===text)return}else infos.delete(id);else if(!text)return;text&&infos.set(id,text),infos.size===0?infoView.value=[]:infoView.value=Array.from(infos.entries()).sort((a$1,b)=>a$1[0]-b[0]).map(tip=>({id:tip[0],text:tip[1]}))}function onResize(){elInfo.value&&(infoHidden.value=window.getComputedStyle(elInfo.value).display===`none`)}let unwatchResize=watch(elInfo,()=>{elInfo.value&&(unwatchResize(),onResize())});provide(`showInfo`,showInfo),provide(`infoHidden`,infoHidden);let fps=ref(`?`),fpsShown=ref(!1),fpsTimer;function showFps(show=!0){if(fpsShown.value=show,fpsTimer)show||(clearInterval(fpsTimer),fps.value=`?`,fpsTimer=null);else if(show){let fpsUpdate=()=>{infoHidden.value||api$1.engineLua(`getConsoleVariable("fps::avg")`,val=>fps.value=val?Number(val).toFixed(1):`?`)};fpsTimer=setInterval(fpsUpdate,500),fpsUpdate()}}let catInfoFuncs={fps:showFps},catInfoStack=new Map;function showCategoryInfo(id,info=void 0){if(!id)return;catInfoStack.has(id)&&!info?catInfoStack.delete(id):info&&catInfoStack.set(id,info);let infos$1=Array.from(catInfoStack.values()).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);for(let[name,func]of Object.entries(catInfoFuncs))func(infos$1.includes(name))}function disposeCategoryInfo(){for(let func of Object.values(catInfoFuncs))func(!1)}function back(){editable.value?editable.value=!1:window.bngVue.gotoAngularState(`menu.mainmenu`)}return onBeforeMount(async()=>{api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.pushPauseRequest('options') end`)}),onMounted(()=>{if(options.init().then(()=>{loaded.value=!0,nextTick(()=>activeScope.value=`subcategories`)}),!selectDefaultCategory()){let unwatchCats=watch(categories,()=>selectDefaultCategory()&&unwatchCats())}window.addEventListener(`resize`,onResize)}),onUnmounted(()=>{options.searchText.value=``,window.removeEventListener(`resize`,onResize),disposeCategoryInfo(),options.dispose(),api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.popPauseRequest('options') end`)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$19,[createBaseVNode(`div`,_hoisted_2$13,[createVNode(unref(bngScreenHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.options.options`)),1)]),_:1}),unref(options).editor&&EditUI.value?(openBlock(),createBlock(resolveDynamicComponent(EditUI.value.default),{key:0,options:unref(options),categories:categories.value,"category-index":categoryIndex.value,"onUpdate:categoryIndex":_cache[0]||=$event=>categoryIndex.value=$event,special:special.value,"onUpdate:special":_cache[1]||=$event=>special.value=$event,editable:editable.value,"onUpdate:editable":_cache[2]||=$event=>editable.value=$event},null,40,[`options`,`categories`,`category-index`,`special`,`editable`])):createCommentVNode(``,!0)]),loaded.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_3$12,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_4$9,null,512),[[unref(BngBlur_default)]]),createBaseVNode(`div`,_hoisted_5$8,[createBaseVNode(`div`,_hoisted_6$5,[createBaseVNode(`div`,_hoisted_7$5,toDisplayString(_ctx.$t(`ui.repository.loading`)),1)])])])),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_8$3,[createVNode(unref(bngOverflowContainer_default),{ref_key:`elCategories`,ref:elCategories,class:`categories-container`,"initial-index":0,"use-bindings-only":``},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(categoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_9$2)):(openBlock(),createBlock(CategoryTop_default,{key:1,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1],icon:cat.icon,onClick:$event=>catNavigate(cat,!1),"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`icon`,`onClick`,`hidden-by-condition`,`debug-settings`,`editable`]))],64))),128))]),_:1},512),createBaseVNode(`div`,{class:normalizeClass([`options-search-input`,{"search-active":searchActive.value}])},[createVNode(unref(bngBinding_default),{ref_key:`elSearchBinding`,ref:elSearchBinding,class:`search-binding`,"ui-event":`context`,controller:``},null,512),createVNode(unref(bngInputNew_default),{ref_key:`elSearch`,ref:elSearch,class:`search-input`,modelValue:unref(options).searchText.value,"onUpdate:modelValue":_cache[3]||=$event=>unref(options).searchText.value=$event,modelModifiers:{trim:!0},"leading-icon":elSearchBinding.value?.displayed?null:unref(icons).search,"floating-label":_ctx.$tt(`ui.common.search`),"show-external-button":searchActive.value,onFocus:_cache[4]||=$event=>searchFocused.value=!0,onBlur:_cache[5]||=$event=>searchFocused.value=!1},null,8,[`modelValue`,`leading-icon`,`floating-label`,`show-external-button`])],2)])):createCommentVNode(``,!0),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_10$1,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_11$1,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_12$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(subcategoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_13$1)):cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_14$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat),onFocus:$event=>catNavigate(cat,!1)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`subcategory`,`icon`,`hidden-by-condition`,`debug-settings`,`onClick`,`onFocus`]))],64))),128)),subcategoriesView.value.length===0&&allCategories.value[categoryIndex.value]?.persistent?(openBlock(),createBlock(CategorySide_default,{key:0,icon:allCategories.value[categoryIndex.value].icon,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(allCategories.value[categoryIndex.value].label)),1)]),_:1},8,[`icon`])):createCommentVNode(``,!0),searchActive.value?(openBlock(),createBlock(CategorySide_default,{key:1,icon:`search`,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.common.search`)),1)]),_:1})):special.value===`categories-edit`?(openBlock(),createBlock(CategorySide_default,{key:2,icon:`listIndented`,selected:``},{default:withCtx(()=>[..._cache[11]||=[createTextVNode(`Edit categories`,-1)]]),_:1})):createCommentVNode(``,!0),persistentView.value.length>0?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[13]||=createBaseVNode(`div`,{class:`categories-spacer`},null,-1),editable.value&&special.value===`categories-edit`?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(persistentView.value,cat=>(openBlock(),createBlock(CategorySide_default,{key:`cat-`+cat.categoryIndex,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:``,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))),128)),createVNode(CategorySide_default,{icon:`plus`,onClick:_cache[6]||=$event=>categoryEdit(`add`,!0),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[12]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(persistentView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_15$1)):cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_16$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`selected`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))],64))),128))],64)):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{activated:!searchActive.value&&activeScope.value===`subcategories`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),()=>activeScope.value=`content`,`ok`,{focusRequired:!0}]]),withDirectives((openBlock(),createElementBlock(`div`,_hoisted_17$1,[createVNode(BlurBackground_default,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,8,[`class`]),withDirectives(createBaseVNode(`div`,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,2),[[unref(BngBlur_default)]]),categoryIndex.value>-1?withDirectives((openBlock(),createElementBlock(`div`,{key:0,ref_key:`itemsContainer`,ref:itemsContainer,class:`options-content`,"bng-ui-scope":`options-content`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`item-`+categoryIndex.value*1e5+`-`+index,parent:categories.value[categoryIndex.value],index,level:0,data:item,onClick,onChange,onEditCmd:itemEdit},null,8,[`parent`,`index`,`data`]))),128)),editable.value?(openBlock(),createElementBlock(`div`,_hoisted_18$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).plus,onClick:_cache[7]||=$event=>unref(options).editor.itemAdd(categories.value[categoryIndex.value])},{default:withCtx(()=>[..._cache[14]||=[createTextVNode(`Add new item`,-1)]]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).addListItem,disabled:!unref(options).editor.clipItems.value.length,onClick:_cache[8]||=$event=>catItemsPaste()},{default:withCtx(()=>[createTextVNode(`Paste `+toDisplayString(unref(options).editor.clipTitle.value),1)]),_:1},8,[`accent`,`icon`,`disabled`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(options).editor.selectedItems.value.size>0?unref(icons).checkboxOn:unref(icons).checkboxOff,onClick:_cache[9]||=$event=>unref(options).editor.itemSelectAll(categories.value[categoryIndex.value])},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(options).editor.selectedItems.value.size>0?`Deselect all`:`Select all`),1)]),_:1},8,[`accent`,`icon`])])):createCommentVNode(``,!0)])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):searchActive.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_19$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(options).searchResults.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`search-`+index,index,level:0,data:item,onClick,onChange},null,8,[`index`,`data`]))),128))])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):special.value===`categories-edit`?(openBlock(),createElementBlock(`div`,_hoisted_20$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(allCategories.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.persistent?createCommentVNode(``,!0):(openBlock(),createBlock(CategorySide_default,{key:0,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`editable`,`onClick`]))],64))),128)),editable.value?(openBlock(),createBlock(CategorySide_default,{key:0,icon:`plus`,onClick:_cache[10]||=$event=>categoryEdit(`add`),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[15]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`elInfo`,ref:elInfo,class:normalizeClass([`options-info`,{"info-hidden":!!special.value}])},[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_21$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(infoView.value,tip=>(openBlock(),createElementBlock(`span`,{key:tip.id,innerHTML:tip.text},null,8,_hoisted_22$1))),128)),_cache[17]||=createBaseVNode(`div`,{class:`options-spacer`},null,-1),fpsShown.value?(openBlock(),createElementBlock(`div`,_hoisted_23$1,[_cache[16]||=createTextVNode(`FPS: `,-1),createBaseVNode(`span`,null,toDisplayString(fps.value),1)])):createCommentVNode(``,!0)],2)])),[[unref(BngScopedNav_default),{activated:activeScope.value===`content`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),fromContent,`back`],[unref(BngOnUiNav_default),back,`menu`]])])):createCommentVNode(``,!0)])),[[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),toSearchAndBack,`context`],[unref(BngUiNavLabel_default),`ui.common.search`,`context`]])}},OptionsView_default=__plugin_vue_export_helper_default(_sfc_main$23,[[`__scopeId`,`data-v-206a0fb3`]]),routes_default$12=[{path:`/options/:category?`,name:`options`,component:OptionsView_default,props:!0,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],cfg={background:[`var(--bng-black-o8)`,`var(--bng-black-o4)`],info:{icon:`var(--bng-cool-gray-500)`,iconSize:.15,label:`var(--bng-off-white)`,labelSize:.05,line:`var(--bng-cool-gray-700)`,lineSize:.0025,hotkey:`#aaa`,hotkeySize:.04,unfocusedColor:`var(--bng-cool-gray-500)`,focusedColor:`var(--bng-off-white)`},button:{top:.45,height:.175,margin:.004,corners:.03,background:`var(--bng-black)`,highlight:`var(--bng-ter-blue-gray-700)`,border:`var(--bng-cool-gray-700)`,borderHighlight:`var(--bng-cool-gray-500)`,borderSize:.0025,folder:`var(--bng-ter-blue-gray-900)`,folderTop:.45,folderHeight:.015,markerTop:.3,markerHeight:.025,marker:`var(--bng-orange)`,icon:`var(--bng-off-white)`,iconSize:.1,majorBackground:[`var(--bng-black)`,`var(--bng-ter-blue-gray-850)`],majorHighlight:[`var(--bng-ter-blue-gray-600)`,`var(--bng-ter-blue-gray-700)`],pinnedDotInvisible:{fill:`transparent`,stroke:`transparent`,r:4},markDotSolid:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`transparent`,r:4},markDotOutline:{fill:`transparent`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,r:3},markStar:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,"stroke-width":2,r:3,isStar:!0,starPoints:5,innerRadius:1.5,outerRadius:3}},pointer:{color:`var(--bng-orange)`,size:6}},size=500,pointerRadius=125,controlsHotkey=``,getHotkey=action=>{let viewerObj=controls_default().makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(`+`):``},RadialSVG=class{parent;svg;config;events;itemsCont;info;buttons;pointer;menuIcon=``;constructor(events$3={},config=cfg,element=void 0){this.events=events$3,this.config=config,element&&this.create(element)}create(element){this.parent!==element&&(this.parent=element,this.svg||([this.svg,this.itemsCont,this.info,this.pointer]=createSvg(this.config)),this.parent.appendChild(this.svg))}update(items$2=[]){!this.itemsCont||!this.info||(controlsHotkey=getHotkey(`menu_item_focus_ud`),this.buttons=updateSvg(this.itemsCont,this.info,items$2,this.events,this.config,this.buttons||[],this))}dispose(){this.parent&&(this.parent.removeChild(this.svg),this.parent=null,this.svg=null,this.itemsCont=null,this.info=null,this.buttons=null)}setPointer(x,y){if(!this.pointer)return;let magnitude=Math.sqrt(x*x+y*y);magnitude>.1?(x/=magnitude,y/=magnitude,this.pointer.setAttribute(`cx`,x*pointerRadius+size/2),this.pointer.setAttribute(`cy`,-y*pointerRadius+size/2),this.pointer.setAttribute(`display`,`block`)):this.pointer.setAttribute(`display`,`none`)}setMenuIcon(iconName){if(this.menuIcon=iconName,this.info){let iconGlyph=getIconGlyph(this.menuIcon);this.info.icon.textContent=iconGlyph}}},svgns=`http://www.w3.org/2000/svg`,xhtmlns=`http://www.w3.org/1999/xhtml`,pid=Math.PI*2,getIconGlyph=iconName=>(iconName&&iconName in icons?icons[iconName]:icons.beamNG).glyph,setAttrs=(elm,attrs)=>Object.entries(attrs).forEach(attr=>elm.setAttribute(...attr)),setStyles=(elm,styles)=>Object.entries(styles).forEach(rule=>elm.style.setProperty(...rule)),f2size=f=>f*size,getPoint=(turn,radius,center=[.5,.5])=>[center[0]+radius*Math.cos(turn*pid),center[1]+radius*Math.sin(turn*pid)].map(n=>f2size(n).toFixed(5)),drawLine=to=>` L ${to.join(`,`)} `,drawBezier=(control,to)=>` S ${control.join(`,`)} ${to.join(` `)} `,drawArc=(to,radius,invert=!1)=>` A ${radius} ${radius}, 0, 0, ${invert?`0`:`1`}, ${to.join(` `)} `;function createSimplePath(pos,rad,width$1,height$1){let d=`M ${getPoint(pos,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1,rad),f2size(rad),!1),d+=drawLine(getPoint(pos+width$1,rad-height$1)),d+=drawArc(getPoint(pos,rad-height$1),f2size(rad-height$1),!0),d+=drawLine(getPoint(pos,rad)),d+=`Z`,d}function createPath({pos,rad,width:width$1,height:height$1,corner,padout,padin}){corner>height$1&&(corner=height$1);let corh=corner*rad/Math.PI,corv=corner*rad,d=`M ${getPoint(pos+padout+corh,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1-padout-corh,rad),f2size(rad),!1),d+=drawBezier(getPoint(pos+width$1-padout,rad),getPoint(pos+width$1-padout,rad-corv)),d+=drawLine(getPoint(pos+width$1-padout-padin,rad-height$1+corv)),d+=drawBezier(getPoint(pos+width$1-padout-padin,rad-height$1),getPoint(pos+width$1-padout-corh-padin,rad-height$1)),d+=drawArc(getPoint(pos+padout+corh+padin,rad-height$1),f2size(rad-height$1),!0),d+=drawBezier(getPoint(pos+padout+padin,rad-height$1),getPoint(pos+padout+padin,rad-height$1+corv)),d+=drawLine(getPoint(pos+padout,rad-corv)),d+=drawBezier(getPoint(pos+padout,rad),getPoint(pos+padout+corh,rad)),d+=`Z`,d}function updateSvg(cont,info,items$2,events$3,config=cfg,buttons=[],radialInstance=null){let btns=[...buttons||[]],elmsRem=btns.splice(items$2.length);for(let elm of elmsRem)cont.removeChild(elm.element);if(items$2.length<1)return null;for(let index=btns.length;indexicon,file:icon=>`/ui/modules/apps/RadialMenu/mods_icons/`+icon,symbol:icon=>`#`+({radial_Drift_ESC:`radial_drift_ESC`,radial_Sport_ESC:`radial_sport_ESC`,radial_Regular_ESC:`radial_regular_ESC`,radial_ESC:`radial_regular_ESC`}[icon]||icon)};function createButton(index,info,config,item){let btn={index},majorGradId=uniqueSafeId(),majorHighlightGradId=uniqueSafeId(),control=document.createElementNS(svgns,`g`);btn.element=control;function createGradient(id,colors){let grad=document.createElementNS(svgns,`radialGradient`);return setAttrs(grad,{id,cx:`0.5`,cy:`0.5`,r:`0.5`,fx:`0.5`,fy:`0.5`}),colors.forEach((color,index$1)=>{let stop$1=document.createElementNS(svgns,`stop`);setAttrs(stop$1,{offset:index$1/(colors.length-1),"stop-color":color}),grad.appendChild(stop$1)}),grad}let defs=document.createElementNS(svgns,`defs`);defs.appendChild(createGradient(majorGradId,config.button.majorBackground)),defs.appendChild(createGradient(majorHighlightGradId,config.button.majorHighlight)),control.appendChild(defs);let button=document.createElementNS(svgns,`path`);config.button.border&&config.button.borderSize>0&&setAttrs(button,{stroke:config.button.border,"stroke-width":f2size(config.button.borderSize)}),control.appendChild(button);let folder=document.createElementNS(svgns,`path`);folder.setAttribute(`fill`,config.button.folder),control.appendChild(folder);let marker$1=document.createElementNS(svgns,`path`);marker$1.setAttribute(`fill`,`none`),control.appendChild(marker$1);let pinnedDot=document.createElementNS(svgns,`circle`);setAttrs(pinnedDot,config.button.markDotSolid),pinnedDot.setAttribute(`style`,`display: none`),control.appendChild(pinnedDot);let starPath=document.createElementNS(svgns,`path`),starConfig=config.button.markStar,points=starConfig.starPoints||5,innerRadius=starConfig.innerRadius||1.5,outerRadius=starConfig.outerRadius||3,starPathData=``;for(let i=0;ion?iconRect.removeAttribute(`style`):iconRect.setAttribute(`style`,`display: none`),setGlyph=glyph=>iconText.textContent=glyph||``,setImage=path=>{path?(iconImage.setAttribute(`href`,path),iconImage.removeAttribute(`style`)):(iconImage.removeAttribute(`href`),iconImage.setAttribute(`style`,`display: none`))},setSymbol=id=>{id?(iconMask.setAttribute(`mask-type`,`luminocity`),iconSymbol.setAttribute(`href`,id),iconSymbol.removeAttribute(`style`)):(iconMask.setAttribute(`mask-type`,`alpha`),iconSymbol.removeAttribute(`href`),iconSymbol.setAttribute(`style`,`display: none`))},itype=iconType(item$1.icon);switch(itype){case`glyph`:setGlyph(getIconGlyph(item$1.icon)),setRect(!1),setImage(),setSymbol();break;case`symbol`:setImage(),setSymbol(iconGet[itype](item$1.icon)),setRect(!0),setGlyph();break;default:setImage(iconGet[itype](item$1.icon)),setSymbol(),setRect(!0),setGlyph();break}}let hitzone=document.createElementNS(svgns,`path`);setAttrs(hitzone,{fill:`transparent`,style:`pointer-events: fill`}),control.appendChild(hitzone);function updateHitzone(position,length,config$1){hitzone.setAttribute(`d`,createSimplePath(position-length/2,config$1.button.top,length,config$1.button.height))}function updateEvents$1(events$3,radialInstance){btn._handlers&&(hitzone.removeEventListener(`mouseover`,btn._handlers.focus),hitzone.removeEventListener(`mouseleave`,btn._handlers.blur),hitzone.removeEventListener(`click`,btn._handlers.click),hitzone.removeEventListener(`mousedown`,btn._handlers.down),hitzone.removeEventListener(`mouseup`,btn._handlers.up),hitzone.removeEventListener(`contextmenu`,btn._handlers.contextMenu));let item$1=btn.item,index$1=btn.index;return btn.menuIcon=radialInstance?.menuIcon||``,btn._handlers={focus(){if(item$1.focused&&btn._focused)return;let highlightFill=item$1.majorButton?`url(#${majorHighlightGradId})`:config.button.highlight;button.setAttribute(`fill`,highlightFill),button.setAttribute(`stroke`,config.button.borderHighlight),marker$1.setAttribute(`fill`,config.button.marker);let itype=iconType(item$1.icon);itype===`glyph`?(setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.focusedColor}),info.icon.textContent=getIconGlyph(item$1.icon)):(info.icon.textContent=``,itype===`symbol`&&info.iconSymbol.setAttribute(`href`,iconGet[itype](item$1.icon)),setStyles(info.icon,{"background-color":config.info.icon,"-webkit-mask-image":itype===`symbol`?`url('#${info.iconMaskId}')`:`url('${iconGet[itype](item$1.icon)}')`})),info.label.textContent=typeof item$1.title==`string`?$translate.contextTranslate({txt:item$1.title,context:item$1.context}):$translate.contextTranslate(item$1.title),info.label.style.color=config.info.focusedColor,info.price.textContent=item$1?.price?.money?.amount===void 0?``:item$1.price.money.amount+` `,info.hotkey.textContent=item$1.hotkey||``,info.cont.removeAttribute(`style`),item$1.focused=!0,btn._focused=!0,typeof events$3.focus==`function`&&events$3.focus(item$1,index$1)},blur(){if(!item$1.focused&&!btn._focused)return;let normalFill=item$1.majorButton?`url(#${majorGradId})`:config.button.background;button.setAttribute(`fill`,normalFill),button.setAttribute(`stroke`,config.button.border),marker$1.setAttribute(`fill`,`none`),setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.unfocusedColor});let iconGlyph=getIconGlyph(btn.menuIcon);info.icon.textContent=iconGlyph,info.label.textContent=`Select an option`,info.price.textContent=``,info.hotkey.textContent=controlsHotkey,info.label.style.color=config.info.unfocusedColor,item$1.focused=!1,btn._focused=!1,typeof events$3.blur==`function`&&events$3.blur(item$1,index$1)},click(evt){evt&&evt.stopPropagation(),!(!item$1.enabled||!events$3||evt&&!evt.fromController&&evt.type!==`ui_nav`)&&(btn._handlers.isDown=!1,typeof events$3.click==`function`&&events$3.click(item$1,index$1))},down(evt){!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!0,typeof events$3.down==`function`&&events$3.down(item$1,index$1))},up(evt){!btn._handlers.isDown||!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!1,typeof events$3.up==`function`&&events$3.up(item$1,index$1))},contextMenu(evt){evt&&evt.stopPropagation(),events$3&&typeof events$3.contextAction==`function`&&events$3.contextAction(item$1,index$1)}},hitzone.addEventListener(`mouseover`,btn._handlers.focus),hitzone.addEventListener(`mouseleave`,btn._handlers.blur),hitzone.addEventListener(`click`,btn._handlers.click,!0),hitzone.addEventListener(`mousedown`,btn._handlers.down),hitzone.addEventListener(`mouseup`,btn._handlers.up),hitzone.addEventListener(`contextmenu`,btn._handlers.contextMenu),btn._handlers}function updateEnable(item$1){item$1.enabled?(hitzone.setAttribute(`cursor`,`pointer`),control.removeAttribute(`opacity`)):(hitzone.removeAttribute(`cursor`),control.setAttribute(`opacity`,`0.5`))}return btn.update=(item$1,events$3=void 0,radialInstance=null)=>{btn.item=item$1;let length=Math.min(item$1.size,.5),position=(item$1.position-.5)%1;updateButton(position,length,config,item$1),updateHitzone(position,length,config),updateIcon(position,length,config,item$1),updateEnable(item$1),btn._handlers=updateEvents$1(events$3,radialInstance),Object.assign(btn,btn._handlers),(item$1.focused||btn._focused)&&btn._handlers.focus()},btn}function createSvg(config=cfg){let svg=document.createElementNS(svgns,`svg`);setAttrs(svg,{viewBox:`0 0 ${size} ${size}`,width:`100%`,height:`100%`,preserveAspectRatio:`xMidYMid meet`,style:`pointer-events: none`});let gradId=Array.isArray(config.background)?uniqueSafeId():null;if(gradId){let grad=document.createElementNS(svgns,`radialGradient`);grad.setAttribute(`id`,gradId);for(let i=0;i{evt.stopPropagation()},!0),svg.appendChild(bg);let nfo={cont:document.createElementNS(svgns,`foreignObject`),body:document.createElementNS(xhtmlns,`body`),wrap:document.createElementNS(xhtmlns,`div`),icon:document.createElementNS(xhtmlns,`div`),iconSymbol:document.createElementNS(svgns,`use`),iconMaskId:uniqueSafeId(),label:document.createElementNS(xhtmlns,`div`),price:document.createElementNS(xhtmlns,`div`),hotkey:document.createElementNS(xhtmlns,`div`)},foMinSize=200,nfoSize=size>=200?size:200;setAttrs(nfo.cont,{style:`display: none`,width:nfoSize,height:nfoSize}),size<200&&nfo.cont.setAttribute(`transform`,`scale(${size*.005})`),nfo.body.setAttribute(`xmlns`,xhtmlns),setStyles(nfo.body,{width:`100%`,height:`100%`}),setStyles(nfo.wrap,{width:`${nfoSize*.5}px`,height:`${nfoSize*.4}px`,margin:`${nfoSize*.3}px ${nfoSize*.25}px`,display:`flex`,"flex-direction":`column`,"align-items":`center`,"justify-content":`space-between`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.icon,{color:config.info.icon,"font-size":`${config.info.iconSize*nfoSize}px`,"font-family":`bngIcons`,width:`${config.info.iconSize*nfoSize}px`,height:`${config.info.iconSize*nfoSize}px`,"-webkit-mask-image":`none`,"-webkit-mask-size":`contain`,"-webkit-mask-position":`50% 50%`,"-webkit-mask-repeat":`no-repeat`,"background-color":`transparent`});let iconSvg=document.createElementNS(svgns,`svg`);setAttrs(iconSvg,{viewBox:`0 0 ${config.info.iconSize*nfoSize} ${config.info.iconSize*nfoSize}`,width:`0`,height:`0`,style:`position: absolute;`});let iconMask=document.createElementNS(svgns,`mask`);setAttrs(iconMask,{id:nfo.iconMaskId,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`,"mask-type":`luminocity`}),setAttrs(nfo.iconSymbol,{x:`0`,y:`0`,width:config.info.iconSize*nfoSize,height:config.info.iconSize*nfoSize,fill:`#fff`}),iconMask.appendChild(nfo.iconSymbol),iconSvg.appendChild(iconMask),setStyles(nfo.label,{"min-height":`2em`,width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*nfoSize}px`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.price,{width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*.8*nfoSize}px`,"font-family":`bngIcons, var(--fnt-defs)`}),setStyles(nfo.hotkey,{width:`80%`,"text-align":`center`,"padding-top":`1px`,"min-height":`${config.info.hotkeySize*nfoSize+10}px`,"border-top":`${config.info.lineSize*nfoSize}px solid ${config.info.line}`,color:config.info.hotkey,"font-size":`${config.info.hotkeySize*nfoSize}px`,"font-family":`bngIcons, "Noto Sans Mono", var(--fnt-defs)`}),nfo.wrap.appendChild(iconSvg),nfo.wrap.appendChild(nfo.icon),nfo.wrap.appendChild(nfo.label),nfo.wrap.appendChild(nfo.price),nfo.wrap.appendChild(nfo.hotkey),nfo.body.appendChild(nfo.wrap),nfo.cont.appendChild(nfo.body),svg.appendChild(nfo.cont);let cont=document.createElementNS(svgns,`g`);svg.appendChild(cont);let pointer=document.createElementNS(svgns,`circle`);return setAttrs(pointer,{r:config.pointer.size,fill:config.pointer.color,display:`none`}),svg.appendChild(pointer),nfo.icon.textContent=getIconGlyph(svg.menuIcon),nfo.label.textContent=`Select an option`,nfo.price.textContent=``,nfo.label.style.color=config.info.unfocusedColor,controlsHotkey=getHotkey(`menu_item_focus_ud`),nfo.hotkey.textContent=controlsHotkey,nfo.cont.removeAttribute(`style`),[svg,cont,nfo,pointer]}var _hoisted_1$18={class:`radial-infos`},_hoisted_2$12={class:`radial-breadcrumbs`},_hoisted_3$11={key:0,class:`radial-categories`},_hoisted_4$8={class:`radial-plate`},_hoisted_5$7={class:`radial-category-label`},_hoisted_6$4={key:0,class:`radial-quick-tabs`},_hoisted_7$4={key:1,class:`radial-description`},sensivity=.5,_sfc_main$22={__name:`Radial`,setup(__props){useUINavScope(`radialMenu`);let infobar=useInfoBar(),controls$1=controls_default(),events$3=useEvents(),radialData=ref({}),temporaryHidden=ref(!1),breadcrumbs=computed(()=>radialData.value&&radialData.value.breadcrumbs&&Array.isArray(radialData.value.breadcrumbs)?radialData.value.breadcrumbs.map(str=>$translate.instant(str)).join(` / `):``),focusedItem=computed(()=>{let items$2=radialData?.value?.items;return items$2&&Array.isArray(items$2)?items$2.find(item=>item.focused):null}),hasLRShoulderButtons=computed(()=>radialData.value&&radialData.value.hasLRShoulderButtons),radialSvg=new RadialSVG({click:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},down:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},focus:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`)},contextAction:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.contextAction(index+1,!0,1)}}),radialCont=ref(),requestData=async()=>{radialData.value=await Lua_default.core_quickAccess.getUiData();let items$2=Array.isArray(radialData.value.items)?radialData.value.items:[];for(let item of items$2)item.hotkey=getHotkey$1(item.action);radialSvg.setMenuIcon(radialData.value.menuIcon||`beamNG`),radialSvg.update(items$2)},getHotkey$1=action=>{let viewerObj=controls$1.makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(``):``},setLevel=level$1=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.setEnabled(!0,level$1,!1)},close=()=>{Lua_default.core_quickAccess.setEnabled(!1,``,!1)},back=()=>{radialData.value.backButtonIndex?Lua_default.core_quickAccess.back():close()},switchCategory=left=>{let indexOffset=left?-1:1;for(let i=0;i{let actions=radialData.value.items;for(let i=0;i{if(radialData.value.categories.length>0){switchCategory(evt.detail.name===`tab_l`);return}LRAction(evt.detail.name)},processMouseClick=evt=>{if(!radialSvg.buttons)return;let elm=radialSvg?.buttons?.find(elm$1=>elm$1._focused)||radialSvg?.buttons?.find(elm$1=>elm$1.item.focused);return evt.detail.name===`context`?elm&&elm.contextMenu(evt):elm&&elm.click(evt),elm},isStickActive=(x,y)=>Math.sqrt(x**2+y**2)>sensivity,pointToItem=(x,y)=>{if(!radialSvg.buttons)return;let len=radialSvg.buttons.length,idx=-1;if(radialSvg.setPointer(x,y),x!==0||y!==0){let cursorPos=.5-Math.atan2(y,x)/Math.PI/2;for(let i=0;i=startPos&&cursorPos=startPos||cursorPos-1&&idx{evt.detail.name===`focus_ud`?stickY=evt.detail.value:stickX=evt.detail.value;let stickActiveBefore=stickActive;stickActive=isStickActive(stickX,stickY),stickActive&&pointToItem(stickX,stickY),!stickActive&&stickActiveBefore&&pointToItem(0,0)},dpadX=0,dpadY=0,processDpadInput=evt=>{switch(evt.detail.name){case`focus_l`:dpadX=-evt.detail.value;break;case`focus_r`:dpadX=evt.detail.value;break;case`focus_u`:dpadY=evt.detail.value;break;case`focus_d`:dpadY=-evt.detail.value;break}dpadX=0+ +dpadX,dpadY=0+ +dpadY,pointToItem(dpadX,dpadY)},openFavoriteSelector=()=>{if(radialData.value.pathBeforeCategory===`favorites`){for(let i=0;i{let isOnComponents=event.target.closest(`.radial-categories, .radial-svg, .radial-tab-left, .radial-tab-right`);event.isTrusted&&event.sourceCapabilities?.firesTouchEvents===!1&&!isOnComponents&&(event.button===0?close():event.button===2&&back())};events$3.on(`radialMenuUpdated`,requestData),events$3.on(`RadialTemporaryHide`,hide$2=>{temporaryHidden.value=hide$2}),onBeforeMount(()=>{infobar.clearHints()}),onMounted(()=>{infobar.visible=!0,radialSvg.create(radialCont.value),requestData()});let headingTitle=computed(()=>radialData.value?.breadcrumbs?.[0]?$translate.instant(radialData.value.breadcrumbs[0]):radialData.value?.items?.length?`Radial Menu`:`No Actions Available`),hasCategories=computed(()=>radialData.value?.categories&&(Array.isArray(radialData.value.categories)?radialData.value.categories.length>0:Object.keys(radialData.value.categories).length>0));return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`radial-menu`,{temporaryHidden:temporaryHidden.value}]),"bng-ui-scope":`radialMenu`,onMousedown:handleMouseDown},[createBaseVNode(`div`,_hoisted_1$18,[createVNode(bngCardHeading_default,{class:`radial-title`},{default:withCtx(()=>[createTextVNode(toDisplayString(headingTitle.value),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$12,toDisplayString(breadcrumbs.value),1),hasCategories.value?(openBlock(),createElementBlock(`div`,_hoisted_3$11,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,"ui-event":`tab_l`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),controller:``,onClick:_cache[0]||=$event=>switchCategory(!0)},null,8,[`style`]),createBaseVNode(`div`,_hoisted_4$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(radialData.value.categories,category=>withDirectives((openBlock(),createBlock(unref(bngImageTile_default),{key:category.id,onClick:$event=>setLevel(category.goto),tabindex:`0`,"bng-nav-item":``,class:normalizeClass([`radial-category`,{selected:category.id===radialData.value.selectedCategory}]),icon:unref(icons)[category.icon||`beamNG`]},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_5$7,toDisplayString(unref($translate).instant(category.title)),1)]),_:2},1032,[`onClick`,`class`,`icon`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])),128)),_cache[4]||=createBaseVNode(`div`,{class:`background-plate`},null,-1)]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,"ui-event":`tab_r`,controller:``,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),onClick:_cache[1]||=$event=>switchCategory(!1)},null,8,[`style`])])):createCommentVNode(``,!0)]),hasLRShoulderButtons.value?(openBlock(),createElementBlock(`div`,_hoisted_6$4,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),"ui-event":`tab_l`,controller:``,onClick:_cache[2]||=$event=>LRAction(`tab_l`)},null,8,[`style`]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),"ui-event":`tab_r`,controller:``,onClick:_cache[3]||=$event=>LRAction(`tab_r`)},null,8,[`style`])])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`radialCont`,ref:radialCont,class:`radial-svg`},null,512),focusedItem.value?.desc?(openBlock(),createElementBlock(`div`,_hoisted_7$4,toDisplayString(unref(content_exports).bbcode.parse(unref($translate).contextTranslate(focusedItem.value.desc,!0))),1)):createCommentVNode(``,!0)],34)),[[unref(BngBlur_default),!temporaryHidden.value],[unref(BngOnUiNav_default),openFavoriteSelector,`context`],[unref(BngOnUiNav_default),back,`menu,back`],[unref(BngOnUiNav_default),processTabInput,`tab_l,tab_r`],[unref(BngOnUiNav_default),processStickInput,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{down:!0}],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{up:!0}],[unref(BngOnUiNav_default),processMouseClick,`ok,context`],[unref(BngUiNavLabel_default),radialData.value.backButtonIndex?`ui.common.back`:`ui.common.close`,`menu,back`],[unref(BngUiNavLabel_default),`Radial menu navigation`,`focus_lr,focus_ud,focus_l,focus_r,focus_u,focus_d`],[unref(BngUiNavLabel_default),`Select`,`ok`],[unref(BngUiNavLabel_default),`Configure Slot`,`context`],[unref(BngUiNavLabel_default),`Switch Category`,`tab_l,tab_r`]])}},Radial_default=__plugin_vue_export_helper_default(_sfc_main$22,[[`__scopeId`,`data-v-9330a4cb`]]),routes_default$13=[{path:`/radial`,name:`radial`,component:Radial_default,meta:{uiApps:{shown:!1}}}],routes_default$14=[{path:`/recovery`,name:`recovery`,component:Recovery_default,props:!0}],isFuelEnergyType=type=>[`gasoline`,`diesel`].includes(type);const useRefuelStore=defineStore(`refuel`,()=>{let{events:events$3}=useBridge(),minSlider=23,maxSlider=80,minEnergy=0,fuelOptions=[{id:1,value:0,name:`FuelType-1`},{id:2,value:1,name:`FuelType-2`},{id:3,value:2,name:`FuelType-3`}],energyTypes=ref([]),fuelTanks=ref([]),overallPrice=ref(0),flowRate=ref(0),currentEnergyType=ref(null),showFuelTypeSettings=ref(!1),showAmountSettings=ref(!1),energyTypesToLocalUnits=ref({}),gasStationName=ref(``),fuelDiscountData=ref({}),isFuelling=computed(()=>flowRate.value>0),currentFuelData=computed(()=>fuelTanks.value.filter(f=>f.energyType===currentEnergyType.value)[0]),currentFuelType=computed(()=>currentEnergyType.value===``?``:isFuelEnergyType(currentEnergyType.value)?`fuel`:`charge`),currentFuelLevel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergy/currentFuelData.value.maxEnergy:0),canRefuel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergycanRefuel.value===!0?isFuelling.value===!0?`on`:`off`:`disabled`),canPay=computed(()=>currentFuelData.value.price>0),canStartFuelling=computed(()=>isFuelling.value===!1&&canRefuel.value===!0),canStopFuelling=computed(()=>isFuelling.value===!0),minEnergyLabel=computed(()=>`0 `+getUnitLabel(currentEnergyType.value)),maxEnergyLabel=computed(()=>currentFuelData.value?(isFuelEnergyType(currentEnergyType.value)?convertToLocalUnit(currentFuelData.value.maxEnergy,currentEnergyType.value).toFixed(2):`100`)+` `+getUnitLabel(currentEnergyType.value):``);function getUnitLabel(energyType){return isFuelEnergyType(energyType)?getLocalUnitLabel(energyType):`%`}function getLocalUnit(energyType){return energyTypesToLocalUnits.value[energyType]?energyTypesToLocalUnits.value[energyType]:`L`}let unitToLabel={gallonUS:`gal`},factorSIToLocalUnit={gallonUS:.26417};function getLocalUnitLabel(energyType){let localUnit=getLocalUnit(energyType);return localUnit&&unitToLabel[localUnit]?unitToLabel[localUnit]:`L`}function convertToLocalUnit(valueSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?valueSI*(factorSIToLocalUnit[localUnit]||1):valueSI}function convertToPricePerLocalUnit(pricePerSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?pricePerSI/(factorSIToLocalUnit[localUnit]||1):pricePerSI}function startFuelling(){Lua_default.career_modules_fuel.uiButtonStartFueling(currentEnergyType.value)}function stopFuelling(){Lua_default.career_modules_fuel.uiButtonStopFueling(currentEnergyType.value)}function changeFlowRate(newFlowRate){flowRate.value=newFlowRate,Lua_default.career_modules_fuel.onChangeFlowRate(flowRate.value)}function payPrice(){Lua_default.career_modules_fuel.payPrice()}function requestFuelingData(){Lua_default.career_modules_fuel.requestRefuelingTransactionData(),runInBrowser(()=>getMockedData(`career.initialFuelingData`).then(data=>events$3.emit(`initialFuelingData`,data)))}function cancelTransaction(){console.log(`cancelTransaction`),Lua_default.career_modules_fuel.uiCancelTransaction()}function dispose$2(){events$3.off(`initialFuelingData`),events$3.off(`updateFuelData`)}return events$3.on(`initialFuelingData`,data=>{({fuelData:fuelTanks.value,energyTypes:energyTypes.value}=data),currentEnergyType.value=energyTypes.value[0],energyTypesToLocalUnits.value=data.energyTypesToLocalUnits,factorSIToLocalUnit.value=data.factorSIToLocalUnit,gasStationName.value=data.gasStationName,fuelDiscountData.value=data.fuelDiscountData||{},Lua_default.career_modules_fuel.sendUpdateDataToUI()}),events$3.on(`updateFuelData`,data=>{fuelTanks.value.length!==0&&(fuelTanks.value[0].currentEnergy=data.fuelData[0].currentEnergy,fuelTanks.value[0].fueledEnergy=data.fuelData[0].fueledEnergy,fuelTanks.value[0].price=data.fuelData[0].price,overallPrice.value=data.overallPrice,flowRate.value=data.fuelData[0].fuelingActive===!0?1:0)}),{currentFuelData,currentFuelLevel,currentFuelType,currentEnergyType,nozzleMode,overallPrice,isFuelling,energyTypes,canPay,canStartFuelling,canStopFuelling,fuelDiscountData,showFuelTypeSettings,showAmountSettings,gasStationName,startFuelling,stopFuelling,changeFlowRate,payPrice,requestFuelingData,cancelTransaction,getUnitLabel,convertToPricePerLocalUnit,dispose:dispose$2,minEnergyLabel,maxEnergyLabel,minSlider:23,maxSlider:80,fuelOptions}});var _hoisted_1$17={class:`full`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0`,y:`0`,viewBox:`6 0 280 280`,width:`280`,height:`280`},_hoisted_2$11={id:`glow`,x:`-40%`,y:`-40%`,width:`180%`,height:`180%`},_hoisted_3$10=[`flood-color`],_hoisted_4$7={class:`gauge-label`},_hoisted_5$6={class:`info`},DASH_ARR_LENGTH=455,GAUGE_TYPES=[`refuel`,`recharge`],GAUGE_DEFAULTS={refuel:{cssColour:`var(--bng-orange-b400)`,gradientColour:`255,102,0`,icon:icons.fuelPumpFilling},recharge:{cssColour:`var(--bng-add-blue-600)`,gradientColour:`95,157,249`,icon:icons.charging}},_sfc_main$21={__name:`FuelGauge`,props:{value:{type:Number,default:0},type:{type:String,default:`refuel`,validator:v=>GAUGE_TYPES.includes(v)||v===``},fuelling:{type:Boolean,default:!1},label:String,maxLabel:String,minLabel:String},setup(__props){window.bngVue.isProd;let props=__props,gaugeLevelStyle=computed(()=>({stroke:GAUGE_DEFAULTS[props.type].cssColour,fill:`none`,strokeDasharray:DASH_ARR_LENGTH,strokeDashoffset:DASH_ARR_LENGTH-props.value*DASH_ARR_LENGTH})),gaugeStyle=computed(()=>({background:`radial-gradient(22% 22% at 50% 53%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.76) 0%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.18) 64.06%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0) 100%)`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"gauge-wrapper":!0,[__props.type]:!0})},[createBaseVNode(`div`,{class:normalizeClass({"pulse-container":!0,pulsing:__props.fuelling})},[createBaseVNode(`div`,{class:`pulser`,style:normalizeStyle(gaugeStyle.value)},null,4)],2),(openBlock(),createElementBlock(`svg`,_hoisted_1$17,[createBaseVNode(`defs`,null,[createBaseVNode(`filter`,_hoisted_2$11,[createBaseVNode(`feFlood`,{"flood-color":GAUGE_DEFAULTS[__props.type].cssColour,result:`flood1`},null,8,_hoisted_3$10),_cache[0]||=createStaticVNode(``,4)])]),_cache[1]||=createBaseVNode(`path`,{class:`gauge-back`,d:`M50,210 A110,110 0 1,1 244,210`,style:{fill:`none`}},null,-1),createBaseVNode(`path`,{class:`gauge-level blur`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4),createBaseVNode(`path`,{class:`gauge-level`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4)])),createVNode(unref(bngIcon_default),{class:`icon refill-icon`,type:GAUGE_DEFAULTS[__props.type].icon,color:`#fff`},null,8,[`type`]),createBaseVNode(`div`,_hoisted_4$7,[createBaseVNode(`span`,null,toDisplayString(__props.minLabel),1),createBaseVNode(`span`,_hoisted_5$6,toDisplayString(__props.label||`\xA0`),1),createBaseVNode(`span`,null,toDisplayString(__props.maxLabel),1)])],2))}},FuelGauge_default=__plugin_vue_export_helper_default(_sfc_main$21,[[`__scopeId`,`data-v-04de51fb`]]),_hoisted_1$16={class:`fuel-type`},_sfc_main$20={__name:`FuelTypeSettings`,props:{fuelOptions:{type:Array,required:!0}},emits:[`previousClick`,`nextClick`,`fuelTypeSelect`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$16,[createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`previous-btn`,icon:unref(icons).arrowLargeLeft,onClick:_cache[0]||=$event=>emit$1(`previousClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_l`,deviceMask:`xinput`})]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngPillFilters_default),{options:__props.fuelOptions},null,8,[`options`]),createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`next-btn`,iconRight:unref(icons).arrowLargeRight,onClick:_cache[1]||=$event=>emit$1(`nextClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_r`,deviceMask:`xinput`})]),_:1},8,[`accent`,`iconRight`])]))}},FuelTypeSettings_default=__plugin_vue_export_helper_default(_sfc_main$20,[[`__scopeId`,`data-v-bf968fb2`]]),nozzleModes={on:{color:`var(--bng-orange-b400)`,buttonEnabled:!0},off:{color:`var(--bng-black-o6)`,buttonEnabled:!0},disabled:{color:`var(--bng-black-o2)`,buttonEnabled:!1}},fuellingModes$1={fuel:{nozzleIconType:icons$1.general.fuel_nozzle},charge:{nozzleIconType:icons$1.general.recharge_connector}},_sfc_main$19={__name:`FuelNozzle`,props:{refuelType:{type:String,required:!0},nozzleMode:{type:String,default:`off`}},emits:[`triggerDown`,`triggerUp`],setup(__props,{emit:__emit}){let{showIfController}=storeToRefs(controls_default()),props=__props,emit$1=__emit,nozzleImageURL=computed(()=>`icons/${typeSettings.value.nozzleIconType}.svg`),typeSettings=computed(()=>fuellingModes$1[props.refuelType]),modeSettings=computed(()=>nozzleModes[props.nozzleMode]),nozzleClass=computed(()=>({nozzle:!0,[props.refuelType]:!0}));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngImageAsset_default),{mask:``,class:normalizeClass(nozzleClass.value),src:nozzleImageURL.value,"bg-color":modeSettings.value.color},{default:withCtx(()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,class:normalizeClass({empty:!0,gamepad:unref(showIfController)}),disabled:!modeSettings.value.buttonEnabled,onMousedown:_cache[0]||=$event=>emit$1(`triggerDown`),onMouseup:_cache[1]||=$event=>emit$1(`triggerUp`),accent:unref(ACCENTS).text},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{action:`fuelVehicle`,deviceMask:`xinput`,disabled:!modeSettings.value.buttonEnabled,accent:unref(ACCENTS).text},null,8,[`disabled`,`accent`]),unref(showIfController)?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).plus,title:`Activate`},null,8,[`type`]))]),_:1},8,[`class`,`disabled`,`accent`])]),_:1},8,[`class`,`src`,`bg-color`]))}},FuelNozzle_default=__plugin_vue_export_helper_default(_sfc_main$19,[[`__scopeId`,`data-v-3a31f67d`]]),_hoisted_1$15={class:`cost`},_hoisted_2$10={class:`price`},_hoisted_3$9={class:`per-unit`},_hoisted_4$6={class:`value`},_hoisted_5$5={class:`unit`},_sfc_main$18={__name:`FuelInfo`,props:{totalCost:{type:Number,required:!0},pricePerUnit:{type:Number,required:!0},unitLabel:{type:String,required:!0},fuelDiscountData:{type:Object,required:!1}},setup(__props){let refuelStore=useRefuelStore(),displayPrice=computed(()=>Math.floor(refuelStore.convertToPricePerLocalUnit(props.pricePerUnit,refuelStore.currentEnergyType)*100)+.9),props=__props;return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode(`div`,_hoisted_1$15,[createVNode(unref(bngUnit_default),{money:__props.totalCost},null,8,[`money`]),__props.fuelDiscountData.hasFuelDiscount?(openBlock(),createBlock(insurancePerkIcon_default,{key:0,class:`perk-icon`,perkIconData:__props.fuelDiscountData.perkData},null,8,[`perkIconData`])):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_2$10,[createBaseVNode(`span`,_hoisted_3$9,[createBaseVNode(`span`,_hoisted_4$6,toDisplayString(displayPrice.value),1),_cache[0]||=createBaseVNode(`span`,{class:`divider`},null,-1),createBaseVNode(`span`,_hoisted_5$5,toDisplayString(unref(refuelStore).getUnitLabel(unref(refuelStore).currentEnergyType)),1)])])],64))}},FuelInfo_default=__plugin_vue_export_helper_default(_sfc_main$18,[[`__scopeId`,`data-v-c4955aba`]]),_hoisted_1$14={class:`amount`},_hoisted_2$9={class:`slider-labels`},_hoisted_3$8={class:`amount-value`},_sfc_main$17={__name:`FuelAmountSettings`,props:{minSlider:{type:Number,default:23},maxSlider:{type:Number,default:80},unitLabel:String},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$14,[createVNode(unref(bngButton_default),{class:`top-up`,accent:`text`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_u`,deviceMask:`xinput`}),_cache[0]||=createTextVNode(`Top-up`,-1)]),_:1}),createBaseVNode(`div`,_hoisted_2$9,[createBaseVNode(`span`,null,toDisplayString(`${__props.minSlider}${__props.unitLabel}`),1),createBaseVNode(`span`,null,toDisplayString(`${__props.maxSlider}${__props.unitLabel}`),1)]),createVNode(unref(bngSlider_default),{min:__props.minSlider,max:__props.maxSlider,onValueChanged:()=>{}},null,8,[`min`,`max`]),createBaseVNode(`div`,_hoisted_3$8,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_l`,deviceMask:`xinput`})]),_:1},8,[`accent`]),createVNode(unref(bngInput_default),{class:`value`,suffix:`L`,"initial-value":`1234567`}),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_r`,deviceMask:`xinput`})]),_:1},8,[`accent`])])]))}},FuelAmountSettings_default=__plugin_vue_export_helper_default(_sfc_main$17,[[`__scopeId`,`data-v-9de32e0e`]]),_hoisted_1$13={class:`gauge`},_hoisted_2$8={key:0,class:`settings content`},_hoisted_3$7={class:`status-container`},fuellingModes={fuel:{title:`ui.career.refuelling.modes.fuel.title`,gaugeType:`refuel`,nozzleIconType:icons$1.general.fuel_nozzle,fuellingOngoingLabel:`ui.career.refuelling.modes.fuel.ongoing`,startLabel:`ui.career.refuelling.modes.fuel.start`,unitLabel:`L`},charge:{title:`ui.career.refuelling.modes.charge.title`,gaugeType:`recharge`,nozzleIconType:icons$1.general.recharge_connector,fuellingOngoingLabel:`ui.career.refuelling.modes.charge.ongoing`,startLabel:`ui.career.refuelling.modes.charge.start`,unitLabel:`kWh`}},_sfc_main$16={__name:`RefuelMain`,setup(__props){let{$game}=useLibStore(),refuelStore=useRefuelStore(),mainSettings=computed(()=>fuellingModes[refuelStore.currentFuelType]);onBeforeMount(()=>{refuelStore.requestFuelingData()}),onBeforeUnmount(()=>{refuelStore.cancelTransaction()}),onUnmounted(()=>{refuelStore.$dispose()});let store$1=useTasksStore();provide(`animationSettings`,{animate:!0,animateOnMount:!1,animateOnMountIntervalDelay:.2,animateOnEmptyIntervalDelay:.1,animateOnEmpty:!0,animateNextTask:!0,successCallback:playAudio});function playAudio(){$game.lua.Engine.Audio.playOnce(`AudioGui`,`event:>UI>Career>Checkbox`)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[unref(refuelStore).currentFuelData?(openBlock(),createBlock(unref(layoutSingle_default),{key:0},{default:withCtx(()=>[createVNode(unref(bngCard_default),{class:`refuel-card`},{buttons:withCtx(()=>[unref(refuelStore).canPay?(openBlock(),createBlock(unref(bngButton_default),{key:0,onClick:_cache[2]||=$event=>unref(refuelStore).payPrice()},{default:withCtx(()=>[..._cache[5]||=[createTextVNode(`Pay`,-1)]]),_:1})):createCommentVNode(``,!0),unref(refuelStore).canStartFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:1,onClick:_cache[3]||=$event=>unref(refuelStore).startFuelling()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(mainSettings.value.startLabel)),1)]),_:1})):unref(refuelStore).canStopFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:2,onClick:_cache[4]||=$event=>unref(refuelStore).stopFuelling()},{default:withCtx(()=>[..._cache[6]||=[createTextVNode(`Stop`,-1)]]),_:1})):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(unref(refuelStore).gasStationName)),1)]),_:1}),createBaseVNode(`div`,_hoisted_1$13,[createVNode(FuelGauge_default,{class:`main-gauge`,fuelling:unref(refuelStore).isFuelling,type:mainSettings.value.gaugeType,value:unref(refuelStore).currentFuelLevel,label:unref(refuelStore).isFuelling?_ctx.$t(mainSettings.value.fuellingOngoingLabel):``,minLabel:unref(refuelStore).minEnergyLabel,maxLabel:unref(refuelStore).maxEnergyLabel},null,8,[`fuelling`,`type`,`value`,`label`,`minLabel`,`maxLabel`])]),createVNode(FuelNozzle_default,{"refuel-type":unref(refuelStore).currentFuelType,"nozzle-mode":unref(refuelStore).nozzleMode,onTriggerDown:_cache[0]||=$event=>unref(refuelStore).changeFlowRate(1),onTriggerUp:_cache[1]||=$event=>unref(refuelStore).changeFlowRate(0)},null,8,[`refuel-type`,`nozzle-mode`]),createVNode(FuelInfo_default,{"total-cost":unref(refuelStore).overallPrice,"price-per-unit":unref(refuelStore).currentFuelData.pricePerUnit,"unit-label":mainSettings.value.unitLabel,"fuel-discount-data":unref(refuelStore).fuelDiscountData},null,8,[`total-cost`,`price-per-unit`,`unit-label`,`fuel-discount-data`]),unref(refuelStore).showFuelTypeSettings||unref(refuelStore).showAmountSettings?(openBlock(),createElementBlock(`div`,_hoisted_2$8,[unref(refuelStore).showFuelTypeSettings?(openBlock(),createBlock(FuelTypeSettings_default,{key:0,"fuel-options":unref(refuelStore).fuelOptions},null,8,[`fuel-options`])):createCommentVNode(``,!0),unref(refuelStore).showAmountSettings?(openBlock(),createBlock(FuelAmountSettings_default,{key:1,"min-slider":unref(refuelStore).minSlider,"max-slider":unref(refuelStore).maxSlider,"unit-label":mainSettings.value.unitLabel},null,8,[`min-slider`,`max-slider`,`unit-label`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0)]),_:1})]),_:1})):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_3$7,[createVNode(unref(careerStatus_default),{class:`profileStatus`}),createVNode(unref(TaskList_default),{class:`tasklist`,header:unref(store$1).header,tasks:unref(store$1).tasks},null,8,[`header`,`tasks`])])],64))}},RefuelMain_default=__plugin_vue_export_helper_default(_sfc_main$16,[[`__scopeId`,`data-v-d87fd4e5`]]),routes_default$15=[{path:`/refueling`,name:`refueling`,component:RefuelMain_default,meta:{uiApps:{shown:!1}}}],_hoisted_1$12=[`innerHTML`],_sfc_main$15={__name:`ReleaseInfo`,setup(__props){useUINavScope(`releaseInfo`);let settings$1=useSettings(),parseDescription=descKey=>parse$1($translate.instant(descKey)),descriptionHtml=computed(()=>parseDescription(`ui.releaseInfo.description`)),onFinish=async()=>{backToMenu()},backToMenu=()=>window.bngVue.gotoAngularState(`menu.mainmenu`);return onMounted(async()=>{await settings$1.waitForData()}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(WizardView_default),{title:`ui.releaseInfo.title`,preheadings:[`v.${unref(sysInfo_default).versionSimple}`],style:{"--wizard-height":`45rem`},"bng-ui-scope":`releaseInfo`,onWizardFinish:onFinish},{default:withCtx(()=>[createVNode(unref(WizardStep_default),{id:`releaseInfo`,title:`ui.releaseInfo.stepTitle`},{default:withCtx(()=>[createBaseVNode(`div`,{innerHTML:descriptionHtml.value},null,8,_hoisted_1$12)]),_:1})]),_:1},8,[`preheadings`])),[[unref(BngBlur_default)],[unref(BngOnUiNav_default),backToMenu,`menu,back`]])}},ReleaseInfo_default=_sfc_main$15,routes_default$16=[{name:`menu.release-info`,path:`/release-info`,component:ReleaseInfo_default,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],_hoisted_1$11={class:`veh-debug`},_hoisted_2$7={class:`buttons`},_hoisted_3$6={class:`buttons`},_hoisted_4$5={class:`bng-short-select-item`},_hoisted_5$4={class:`label-width`},_hoisted_6$3={key:0},_hoisted_7$3={class:`parts-switch-label`},_hoisted_8$2={class:`control-row`},_hoisted_9$1={class:`control-label`},_hoisted_10={class:`control-row`},_hoisted_11={class:`control-label`},_hoisted_12={key:0},_hoisted_13={class:`control-row`},_hoisted_14={class:`control-label indented`},_hoisted_15={class:`control-group`},_hoisted_16={class:`control-row`},_hoisted_17={class:`control-label indented`},_hoisted_18={class:`control-group`},_hoisted_19={class:`control-row`},_hoisted_20={class:`control-label indented`},_hoisted_21={class:`control-row`},_hoisted_22={class:`control-label indented`},_hoisted_23={class:`control-row`},_hoisted_24={class:`control-label indented`},_hoisted_25={class:`control-group`},_hoisted_26={class:`control-row`},_hoisted_27={class:`control-label indented`},_hoisted_28={class:`control-group`},_hoisted_29={class:`control-row`},_hoisted_30={class:`control-label indented`},_hoisted_31={class:`control-group`},_hoisted_32={class:`control-row`},_hoisted_33={class:`control-label`},_hoisted_34={key:2},_hoisted_35={class:`control-row`},_hoisted_36={class:`control-label indented`},_hoisted_37={class:`control-group`},_hoisted_38={class:`control-row`},_hoisted_39={class:`control-label indented`},_hoisted_40={class:`control-group`},_hoisted_41={class:`control-row`},_hoisted_42={class:`control-label indented`},_hoisted_43={class:`control-row`},_hoisted_44={class:`control-label indented`},_hoisted_45={key:3,class:`control-row`},_hoisted_46={class:`control-label indented`},_hoisted_47={class:`control-group`},_hoisted_48={key:4,class:`control-row`},_hoisted_49={class:`control-label indented`},_hoisted_50={class:`control-row`},_hoisted_51={class:`control-label`},_hoisted_52={key:5},_hoisted_53={class:`control-row`},_hoisted_54={class:`control-label indented`},_hoisted_55={class:`control-group`},_hoisted_56={class:`control-row`},_hoisted_57={class:`control-label indented`},_hoisted_58={class:`control-group`},_hoisted_59={class:`control-row`},_hoisted_60={class:`control-label indented`},_hoisted_61={class:`control-row`},_hoisted_62={class:`control-label indented`},_hoisted_63={class:`control-row`},_hoisted_64={class:`control-label indented`},_hoisted_65={class:`control-group`},_hoisted_66={class:`control-row`},_hoisted_67={class:`control-label indented`},_hoisted_68={class:`control-group`},_hoisted_69={class:`control-row`},_hoisted_70={class:`control-label indented`},_hoisted_71={class:`control-group`},_hoisted_72={class:`control-row`},_hoisted_73={class:`control-label`},_hoisted_74={class:`control-row`},_hoisted_75={class:`control-label indented`},_hoisted_76={class:`control-group`},_hoisted_77={class:`control-row`},_hoisted_78={class:`control-label indented`},_hoisted_79={class:`control-group`},_hoisted_80={class:`control-row`},_hoisted_81={class:`control-label indented`},_hoisted_82={class:`control-row`},_hoisted_83={class:`control-label indented`},_hoisted_84={class:`control-row`},_hoisted_85={class:`control-label indented`},_hoisted_86={class:`control-group`},_hoisted_87={class:`control-row`},_hoisted_88={class:`control-label indented`},_hoisted_89={class:`control-group`},_hoisted_90={class:`control-row`},_hoisted_91={class:`control-label`},_hoisted_92={class:`control-row`},_hoisted_93={class:`control-label indented`},_hoisted_94={class:`control-group`},_hoisted_95={class:`control-row`},_hoisted_96={class:`control-label indented`},_hoisted_97={class:`control-group`},_hoisted_98={class:`control-row`},_hoisted_99={class:`control-label`},_hoisted_100={class:`control-row`},_hoisted_101={class:`control-label`},_hoisted_102={key:10,class:`control-row`},_hoisted_103={class:`control-label indented`},_hoisted_104={class:`control-group`},_hoisted_105={class:`control-row`},_hoisted_106={class:`control-label`},_hoisted_107={key:11,class:`control-row`},_hoisted_108={class:`control-label indented`},_hoisted_109={class:`control-group`},_hoisted_110={class:`control-row`},_hoisted_111={class:`control-label`},_hoisted_112={class:`control-row`},_hoisted_113={class:`control-label`},_hoisted_114={key:12,class:`control-row`},_hoisted_115={class:`control-label indented`},_hoisted_116={class:`control-group`},_hoisted_117={key:13,class:`control-row`},_hoisted_118={class:`control-label`},_hoisted_119={class:`mesh-visibility`},_hoisted_120={class:`control-row`},_hoisted_121={class:`control-label`},_hoisted_122={class:`mesh-buttons`},_hoisted_123={class:`buttons`},_sfc_main$14={__name:`Debug`,setup(__props){useUINavBlocker().blockOnly([`context`]);let{lua,api:api$1}=useBridge(),events$3=useEvents(),state=reactive({}),stateNoReset=reactive({vehicle:{parts:[],partNameToIdx:{},partsSelected:{},partsSelectedIdxs:[]}}),partsState=reactive({partsSorted:[],partsHighlightedIdxs:[]}),partsFiltered=computed(()=>{let res=partsState.partsSorted;return Array.isArray(res)?(partsSelectedSearchTerm.value&&(res=res.filter(part=>part.includes(partsSelectedSearchTerm.value))),res.map(p$1=>{let segments=p$1.split(`/`);return{label:segments[segments.length-1],reversePath:segments.slice(0,-1).reverse().join(`\\`),value:p$1,selected:Array.isArray(partsState.partsHighlightedIdxs)&&partsState.partsHighlightedIdxs.includes(partsState.partsSorted.indexOf(p$1)+1)}})):[]}),shipping=computed(()=>window.beamng&&window.beamng.shipping),geState=reactive({physicsEnabled:!0,debugSpawnEnabled:!1}),partsSelectedSearchTerm=ref(``),disableVehicleButtons=ref(!1),controls$1={vehicle:{buttonGroup_1:[{label:`ui.debug.vehicle.loadDefault`,action:()=>lua.core_vehicles.loadDefault()},{label:`ui.debug.vehicle.spawnNew`,action:()=>lua.core_vehicles.spawnDefault()},{label:`ui.debug.vehicle.removeCurrent`,action:()=>lua.core_vehicles.removeCurrent()},{label:`ui.debug.vehicle.cloneCurrent`,action:()=>lua.core_vehicles.cloneCurrent()},{label:`ui.debug.vehicle.removeAll`,action:()=>lua.core_vehicles.removeAll()},{label:`ui.debug.vehicle.removeOthers`,action:()=>lua.core_vehicles.removeAllExceptCurrent()},{label:`ui.debug.vehicle.resetAll`,action:()=>lua.resetGameplay(-1)},{label:`ui.debug.vehicle.reloadAll`,action:()=>lua.core_vehicle_manager.reloadAllVehicles()}],toggleGroup_1:[{label:`ui.debug.activatePhysics`,key:`physicsEnabled`,onChange:()=>lua.simTimeAuthority.togglePause()},{label:`ui.debug.debugSpawnEnabled`,key:`debugSpawnEnabled`,onChange:()=>lua.core_vehicle_manager.toggleDebug()}]},jbeamvis:{buttonGroup_1:[{label:`ui.debug.vehicle.toggleVis`,action:()=>api$1.activeObjectLua(`bdebug.toggleEnabled()`)},{label:`ui.debug.vehicle.clearSettings`,action:()=>api$1.activeObjectLua(`bdebug.resetModes()`)}],meshVisButtonGroup:[{label:`0%`,action:()=>lua.core_vehicles.setMeshVisibility(0)},{label:`25%`,action:()=>lua.core_vehicles.setMeshVisibility(.25)},{label:`50%`,action:()=>lua.core_vehicles.setMeshVisibility(.5)},{label:`75%`,action:()=>lua.core_vehicles.setMeshVisibility(.75)},{label:`100%`,action:()=>lua.core_vehicles.setMeshVisibility(1)}]},terrain:{buttonGroup_1:[{label:`ui.debug.terrain.groundmodel`,action:()=>api$1.engineLua(`extensions.load("util_groundModelDebug") util_groundModelDebug.openWindow()`)}]}};onMounted(async()=>{geState.physicsEnabled=!await lua.simTimeAuthority.getPause(),geState.debugSpawnEnabled=await lua.core_vehicle_manager.getDebug(),api$1.activeObjectLua(`bdebug.requestState()`),lua.core_gamestate.requestGameState(),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()});let applyState=(notSendBack=!1)=>{notSendBack=!!notSendBack,api$1.activeObjectLua(`bdebug.setState(${api$1.serializeToLua(state)}, ${api$1.serializeToLua(stateNoReset)}, ${notSendBack})`)},partsSelectedChanged=(part,value)=>{Array.isArray(partsState.partsHighlightedIdxs)||(partsState.partsHighlightedIdxs=[]);let idx=partsState.partsSorted.indexOf(part)+1,idxInArray=partsState.partsHighlightedIdxs.indexOf(idx);value&&idxInArray===-1?partsState.partsHighlightedIdxs.push(idx):!value&&idxInArray!==-1&&partsState.partsHighlightedIdxs.splice(idxInArray,1),applyState(!0),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},partsSelectedChecked=()=>partsState.partsHighlightedIdxs.length===partsState.partsSorted.length,partsSelectedIndeterminate=()=>partsState.partsHighlightedIdxs.length!==0&&partsState.partsHighlightedIdxs.length!==partsState.partsSorted.length,partsSelectedClicked=()=>{partsState.partsHighlightedIdxs.length===partsState.partsSorted.length?partsState.partsHighlightedIdxs=[]:partsState.partsHighlightedIdxs=Array.from({length:partsState.partsSorted.length},(_,i)=>i+1),applyState(),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},selectAllParts=computed({get:()=>partsSelectedChecked(),set:()=>partsSelectedClicked()}),beamTextModeItems=computed(()=>state.vehicle?.beamTextModes?state.vehicle.beamTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamTextMode.${mode.name}`):``})):[]),beamVisModeItems=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamVisMode.${mode.name}`):``})):[]),currentBeamVisMode=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes[state.vehicle.beamVisMode-1]:null),nodeTextModeItems=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeTextMode.${mode.name}`):``})):[]),currentNodeTextMode=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes[state.vehicle.nodeTextMode-1]:null),nodeVisModeItems=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeVisMode.${mode.name}`):``})):[]),currentNodeVisMode=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes[state.vehicle.nodeVisMode-1]:null),torsionBarVisModeItems=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.torsionBarVisMode.${mode.name}`):``})):[]),currentTorsionBarVisMode=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes[state.vehicle.torsionBarVisMode-1]:null),railsSlideNodesModeItems=computed(()=>state.vehicle?.railsSlideNodesVisModes?state.vehicle.railsSlideNodesVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.railsSlideNodesVisMode.${mode.name}`):``})):[]),cogModeItems=computed(()=>state.vehicle?.cogModes?state.vehicle.cogModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.cogMode.${mode.name}`):``})):[]),collisionTriangleModeItems=computed(()=>state.vehicle?.collisionTriangleVisModes?state.vehicle.collisionTriangleVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.collisionTriangleVisMode.${mode.name}`):``})):[]),aeroModeItems=computed(()=>state.vehicle?.aeroModes?state.vehicle.aeroModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.aeroMode.${mode.name}`):``})):[]);return events$3.on(`BdebugUpdate`,(debugState,newStateNoReset)=>{Object.assign(state,debugState),Object.assign(stateNoReset,newStateNoReset)}),events$3.on(`PartsSelectorUpdate`,state$1=>{Object.assign(partsState,state$1)}),events$3.on(`VehicleFocusChanged`,()=>{api$1.activeObjectLua(`bdebug.requestState()`),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()}),events$3.on(`physicsStateChanged`,state$1=>geState.physicsEnabled=!!state$1),events$3.on(`debugSpawnChanged`,state$1=>geState.debugSpawnEnabled=!!state$1),events$3.on(`GameStateUpdate`,gamestate=>disableVehicleButtons.value=gamestate.state.toLowerCase().indexOf(`scenario`)>-1),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$11,[createBaseVNode(`h3`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle`)),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.toggleGroup_1,toggle=>(openBlock(),createElementBlock(`div`,{key:toggle.key},[createVNode(unref(bngSwitch_default),{modelValue:geState[toggle.key],"onUpdate:modelValue":$event=>geState[toggle.key]=$event,onValueChanged:$event=>toggle.onChange()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(toggle.label)),1)]),_:2},1032,[`modelValue`,`onUpdate:modelValue`,`onValueChanged`])]))),128)),createBaseVNode(`div`,_hoisted_2$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))]),_cache[74]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle.jbeamVis`)),1),createBaseVNode(`div`,_hoisted_3$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))]),createBaseVNode(`div`,_hoisted_4$5,[createBaseVNode(`span`,_hoisted_5$4,toDisplayString(_ctx.$tt(`ui.debug.vehicle.partsSelected`)),1),createVNode(unref(bngDropdownContainer_default),{class:`bng-select-fullwidth dropdown-width`},{default:withCtx(()=>[createVNode(unref(bngList_default),{layout:unref(LIST_LAYOUTS).LIST,"target-width":31},{default:withCtx(()=>[createVNode(unref(bngInput_default),{modelValue:partsSelectedSearchTerm.value,"onUpdate:modelValue":_cache[0]||=$event=>partsSelectedSearchTerm.value=$event,modelModifiers:{trim:!0},"floating-label":_ctx.$t(`ui.debug.vehicle.partsSelectedSearchText`)},null,8,[`modelValue`,`floating-label`]),partsFiltered.value&&partsFiltered.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(partsFiltered.value,part=>withDirectives((openBlock(),createBlock(unref(bngSwitch_default),{"model-value":part.selected,key:part.value,"label-alignment":unref(LABEL_ALIGNMENTS).START,inline:!1,class:`parts-switch`,onChange:value=>partsSelectedChanged(part.value,value)},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_7$3,[createBaseVNode(`strong`,null,toDisplayString(part.label),1),createTextVNode(` `+toDisplayString(part.reversePath?`\\`+part.reversePath:``),1)])]),_:2},1032,[`model-value`,`label-alignment`,`onChange`])),[[unref(BngTooltip_default),part.label+` \\ `+part.reversePath,`right`]])),128))])):createCommentVNode(``,!0)]),_:1},8,[`layout`])]),_:1}),createVNode(unref(bngSwitch_default),{modelValue:selectAllParts.value,"onUpdate:modelValue":_cache[1]||=$event=>selectAllParts.value=$event,class:normalizeClass({"switch-indeterminate":partsSelectedIndeterminate(),"switch-width":!0}),onOnClicked:partsSelectedClicked},null,8,[`modelValue`,`class`])]),state.vehicle?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`div`,_hoisted_8$2,[createBaseVNode(`span`,_hoisted_9$1,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamTextMode,"onUpdate:modelValue":_cache[2]||=$event=>state.vehicle.beamTextMode=$event,items:beamTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_10,[createBaseVNode(`span`,_hoisted_11,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamVisMode,"onUpdate:modelValue":_cache[3]||=$event=>state.vehicle.beamVisMode=$event,items:beamVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentBeamVisMode.value&¤tBeamVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_12,[createBaseVNode(`div`,_hoisted_13,[createBaseVNode(`span`,_hoisted_14,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_15,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[4]||=$event=>currentBeamVisMode.value.rangeMin=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[5]||=$event=>currentBeamVisMode.value.rangeMin=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[6]||=$event=>currentBeamVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_16,[createBaseVNode(`span`,_hoisted_17,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_18,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[7]||=$event=>currentBeamVisMode.value.rangeMax=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[8]||=$event=>currentBeamVisMode.value.rangeMax=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[9]||=$event=>currentBeamVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_19,[createBaseVNode(`span`,_hoisted_20,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[10]||=$event=>currentBeamVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_21,[createBaseVNode(`span`,_hoisted_22,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.showInfinity,"onUpdate:modelValue":_cache[11]||=$event=>currentBeamVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.beamVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`div`,_hoisted_23,[createBaseVNode(`span`,_hoisted_24,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_25,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.beamVisShowHighlighted,"onUpdate:modelValue":_cache[12]||=$event=>state.vehicle.beamVisShowHighlighted=$event,disabled:state.vehicle.beamVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_26,[createBaseVNode(`span`,_hoisted_27,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_28,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[13]||=$event=>state.vehicle.beamVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[14]||=$event=>state.vehicle.beamVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_29,[createBaseVNode(`span`,_hoisted_30,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_31,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[15]||=$event=>state.vehicle.beamVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[16]||=$event=>state.vehicle.beamVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_32,[createBaseVNode(`span`,_hoisted_33,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeTextMode,"onUpdate:modelValue":_cache[17]||=$event=>state.vehicle.nodeTextMode=$event,items:nodeTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeTextMode.value&¤tNodeTextMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_34,[createBaseVNode(`div`,_hoisted_35,[createBaseVNode(`span`,_hoisted_36,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_37,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[18]||=$event=>currentNodeTextMode.value.rangeMin=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[19]||=$event=>currentNodeTextMode.value.rangeMin=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[20]||=$event=>currentNodeTextMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_38,[createBaseVNode(`span`,_hoisted_39,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_40,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[21]||=$event=>currentNodeTextMode.value.rangeMax=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[22]||=$event=>currentNodeTextMode.value.rangeMax=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[23]||=$event=>currentNodeTextMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_41,[createBaseVNode(`span`,_hoisted_42,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[24]||=$event=>currentNodeTextMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_43,[createBaseVNode(`span`,_hoisted_44,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.showInfinity,"onUpdate:modelValue":_cache[25]||=$event=>currentNodeTextMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_45,[createBaseVNode(`span`,_hoisted_46,toDisplayString(_ctx.$tt(`ui.debug.vehicle.maxDist`)),1),createBaseVNode(`div`,_hoisted_47,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[26]||=$event=>state.vehicle.nodeTextMaxDist=$event,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[27]||=$event=>state.vehicle.nodeTextMaxDist=$event,type:`number`,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`])])])),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_48,[createBaseVNode(`span`,_hoisted_49,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showWheels`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeTextShowWheels,"onUpdate:modelValue":_cache[28]||=$event=>state.vehicle.nodeTextShowWheels=$event,onValueChanged:applyState},null,8,[`modelValue`])])),createBaseVNode(`div`,_hoisted_50,[createBaseVNode(`span`,_hoisted_51,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeVisMode,"onUpdate:modelValue":_cache[29]||=$event=>state.vehicle.nodeVisMode=$event,items:nodeVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeVisMode.value&¤tNodeVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_52,[createBaseVNode(`div`,_hoisted_53,[createBaseVNode(`span`,_hoisted_54,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_55,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[30]||=$event=>currentNodeVisMode.value.rangeMin=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[31]||=$event=>currentNodeVisMode.value.rangeMin=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[32]||=$event=>currentNodeVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_56,[createBaseVNode(`span`,_hoisted_57,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_58,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[33]||=$event=>currentNodeVisMode.value.rangeMax=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[34]||=$event=>currentNodeVisMode.value.rangeMax=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[35]||=$event=>currentNodeVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_59,[createBaseVNode(`span`,_hoisted_60,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[36]||=$event=>currentNodeVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_61,[createBaseVNode(`span`,_hoisted_62,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.showInfinity,"onUpdate:modelValue":_cache[37]||=$event=>currentNodeVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:6},[createBaseVNode(`div`,_hoisted_63,[createBaseVNode(`span`,_hoisted_64,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_65,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeVisShowHighlighted,"onUpdate:modelValue":_cache[38]||=$event=>state.vehicle.nodeVisShowHighlighted=$event,disabled:state.vehicle.nodeVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_66,[createBaseVNode(`span`,_hoisted_67,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_68,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[39]||=$event=>state.vehicle.nodeVisWidthScale=$event,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[40]||=$event=>state.vehicle.nodeVisWidthScale=$event,type:`number`,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_69,[createBaseVNode(`span`,_hoisted_70,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_71,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[41]||=$event=>state.vehicle.nodeVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[42]||=$event=>state.vehicle.nodeVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_72,[createBaseVNode(`span`,_hoisted_73,toDisplayString(_ctx.$tt(`ui.debug.vehicle.torsionBarVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.torsionBarVisMode,"onUpdate:modelValue":_cache[43]||=$event=>state.vehicle.torsionBarVisMode=$event,items:torsionBarVisModeItems.value,onValueChanged:_cache[44]||=value=>{console.log(`change triggered`,value),applyState()},class:`control-input`},null,8,[`modelValue`,`items`])]),currentTorsionBarVisMode.value?.usesRange?(openBlock(),createElementBlock(Fragment,{key:7},[createBaseVNode(`div`,_hoisted_74,[createBaseVNode(`span`,_hoisted_75,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_76,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[45]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[46]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[47]||=$event=>currentTorsionBarVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_77,[createBaseVNode(`span`,_hoisted_78,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_79,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[48]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[49]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[50]||=$event=>currentTorsionBarVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_80,[createBaseVNode(`span`,_hoisted_81,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[51]||=$event=>currentTorsionBarVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_82,[createBaseVNode(`span`,_hoisted_83,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.showInfinity,"onUpdate:modelValue":_cache[52]||=$event=>currentTorsionBarVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])],64)):createCommentVNode(``,!0),state.vehicle.torsionBarVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:8},[createBaseVNode(`div`,_hoisted_84,[createBaseVNode(`span`,_hoisted_85,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_86,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[53]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[54]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_87,[createBaseVNode(`span`,_hoisted_88,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_89,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[55]||=$event=>state.vehicle.torsionBarVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[56]||=$event=>state.vehicle.torsionBarVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_90,[createBaseVNode(`span`,_hoisted_91,toDisplayString(_ctx.$tt(`ui.debug.vehicle.railsSlideNodesVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.railsSlideNodesVisMode,"onUpdate:modelValue":_cache[57]||=$event=>state.vehicle.railsSlideNodesVisMode=$event,items:railsSlideNodesModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.railsSlideNodesVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:9},[createBaseVNode(`div`,_hoisted_92,[createBaseVNode(`span`,_hoisted_93,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_94,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[58]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[59]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_95,[createBaseVNode(`span`,_hoisted_96,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_97,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[60]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[61]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_98,[createBaseVNode(`span`,_hoisted_99,toDisplayString(_ctx.$tt(`ui.debug.vehicle.centerOfGravity`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.cogMode,"onUpdate:modelValue":_cache[62]||=$event=>state.vehicle.cogMode=$event,items:cogModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_100,[createBaseVNode(`span`,_hoisted_101,toDisplayString(_ctx.$tt(`ui.debug.vehicle.collisionTriangle`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.collisionTriangleVisMode,"onUpdate:modelValue":_cache[63]||=$event=>state.vehicle.collisionTriangleVisMode=$event,items:collisionTriangleModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.collisionTriangleVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_102,[createBaseVNode(`span`,_hoisted_103,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_104,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[64]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[65]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_105,[createBaseVNode(`span`,_hoisted_106,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamics`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.aeroMode,"onUpdate:modelValue":_cache[66]||=$event=>state.vehicle.aeroMode=$event,items:aeroModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.aeroMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_107,[createBaseVNode(`span`,_hoisted_108,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamicsScale`)),1),createBaseVNode(`div`,_hoisted_109,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[67]||=$event=>state.vehicle.aerodynamicsScale=$event,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[68]||=$event=>state.vehicle.aerodynamicsScale=$event,type:`number`,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_110,[createBaseVNode(`span`,_hoisted_111,toDisplayString(_ctx.$tt(`ui.debug.vehicle.tireContactPoint`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.tireContactPoint,"onUpdate:modelValue":_cache[69]||=$event=>state.vehicle.tireContactPoint=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_112,[createBaseVNode(`span`,_hoisted_113,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometry`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.steeringGeometry,"onUpdate:modelValue":_cache[70]||=$event=>state.vehicle.steeringGeometry=$event,onValueChanged:applyState},null,8,[`modelValue`])]),state.vehicle.steeringGeometry?(openBlock(),createElementBlock(`div`,_hoisted_114,[createBaseVNode(`span`,_hoisted_115,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometryLineLength`)),1),createBaseVNode(`div`,_hoisted_116,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[71]||=$event=>state.vehicle.steeringGeometryLineLength=$event,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[72]||=$event=>state.vehicle.steeringGeometryLineLength=$event,type:`number`,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),shipping.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_117,[createBaseVNode(`span`,_hoisted_118,toDisplayString(_ctx.$tt(`ui.debug.vehicle.wheelThermals`))+` 🐞`,1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.wheelThermals,"onUpdate:modelValue":_cache[73]||=$event=>state.vehicle.wheelThermals=$event,onValueChanged:applyState},null,8,[`modelValue`])]))],64)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_119,[createBaseVNode(`div`,_hoisted_120,[createBaseVNode(`span`,_hoisted_121,toDisplayString(_ctx.$tt(`ui.debug.vehicle.meshVisibility`)),1),createBaseVNode(`div`,_hoisted_122,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.meshVisButtonGroup,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).outlined,class:`mesh-button`},{default:withCtx(()=>[createTextVNode(toDisplayString(btn.label),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))])])]),_cache[75]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.terrain`)),1),createBaseVNode(`div`,_hoisted_123,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.terrain.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))])]))}},Debug_default=__plugin_vue_export_helper_default(_sfc_main$14,[[`__scopeId`,`data-v-8c471ede`]]),_sfc_main$13={__name:`VehicleConfig`,props:{tab:{type:String,default:`parts`,validator:val=>!val||[`parts`,`tuning`,`color`,`save`,`debug`].includes(val)}},setup(__props){let exit=event=>{event.detail.force||window.bngVue.gotoAngularState(`menu.mainmenu`)};function syncWithStates(tab){window.bngVue&&(tab=[`parts`,`tuning`,`color`,`save`,`debug`][tab.index]||`parts`,window.bngVue.gotoAngularState(`menu.vehicleconfig.${tab}`))}return(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`vehcfg`,onDeactivate:exit},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(tabs_default),{class:`bng-tabs`,onChange:syncWithStates},{default:withCtx(()=>[withDirectives(createVNode(unref(tabList_default),null,null,512),[[unref(BngBlur_default)]]),withDirectives(createVNode(Parts_default,{"tab-selected":__props.tab===`parts`,"tab-heading":_ctx.$t(`ui.vehicleconfig.parts`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Tuning_default,{"tab-selected":__props.tab===`tuning`,"tab-heading":_ctx.$t(`ui.vehicleconfig.tuning`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Paint_default,{"tab-selected":__props.tab===`color`,"tab-heading":_ctx.$t(`ui.vehicleconfig.color`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Save_default,{"tab-selected":__props.tab===`save`,"tab-heading":_ctx.$t(`ui.vehicleconfig.save`)+` & `+_ctx.$t(`ui.vehicleconfig.load`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Debug_default,{"tab-selected":__props.tab===`debug`,"tab-heading":_ctx.$tt(`ui.debug.vehicle`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]])]),_:1})),[[unref(BngFrustumMover_default),!0,void 0,{left:!0}]])]),_:1})),[[unref(BngScopedNav_default),{activateOnMount:!0,bubbleWhitelistEvents:[`tab_l`,`tab_r`,`menu`]}]])}},VehicleConfig_default=__plugin_vue_export_helper_default(_sfc_main$13,[[`__scopeId`,`data-v-e5f4e51f`]]),_hoisted_1$10={class:`adjustment-container`},_hoisted_2$6={class:`y-controls`},_hoisted_3$5={class:`slider-container`},_hoisted_4$4={class:`value-input`},_hoisted_5$3={class:`x-controls`},_hoisted_6$2={class:`slider-container`},_hoisted_7$2={class:`value-input`},_hoisted_8$1={class:`reset-cont`},MIRROR_RANGE_DEFAULTS={min:-20,max:20,step:.01},_sfc_main$12={__name:`MirrorAdjust`,props:{mirror:Object},setup(__props){let props=__props,uiScopeName=`vehicle-config-mirrors`,uiNavScope$1=useUINavScope(uiScopeName),reactivateUIScope=event=>{(event.type===`deactivate`||event.type===`focusout`)&&uiNavScope$1.set(uiScopeName)},range={x:{min:props.mirror.clampX?props.mirror.clampX[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampX?props.mirror.clampX[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step},y:{min:props.mirror.clampY?props.mirror.clampY[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampY?props.mirror.clampY[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step}},[inpX,inpY]=[ref(),ref()],isChanged=computed(()=>inpX.value&&inpX.value.dirty||inpY.value&&inpY.value.dirty),mover={x:0,y:0,drift:.2,tmr:null,tmrInterval:100};function move(evt){let val=evt.detail.value>mover.drift?evt.detail.value-mover.drift:evt.detail.value<-mover.drift?evt.detail.value+mover.drift:0;evt.detail.name===`focus_lr`?mover.x=val:evt.detail.name===`focus_ud`&&(mover.y=val)}let precision=10**(MIRROR_RANGE_DEFAULTS.step+`.`).split(/[.,]/)[1].length,clamp$2=(val,axis=`x`)=>Math.round(Math.max(range[axis].min,Math.min(val,range[axis].max))*precision)/precision;function resetValues(){props.mirror.x=inpX.value.currentCleanValue,props.mirror.y=inpY.value.currentCleanValue,onValueChanged()}function onValueChanged(){Lua_default.extensions.core_vehicle_mirror.setAngleOffset(props.mirror.name,-props.mirror.y,-props.mirror.x,!1,!1)}return onMounted(()=>{getUINavServiceInstance().useCrossfire=!1,Lua_default.extensions.core_vehicle_mirror.focusOnMirror(props.mirror.name),mover.tmr=setInterval(()=>{mover.x===0&&mover.y===0||(props.mirror.x=clamp$2(props.mirror.x+mover.x,`x`),props.mirror.y=clamp$2(props.mirror.y+mover.y,`y`),onValueChanged())},mover.tmrInterval)}),onUnmounted(()=>{getUINavServiceInstance().useCrossfire=!0,clearInterval(mover.tmr)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$10,[createVNode(unref(bngImageTile_default),{class:`mirror-tile`,icon:unref(icons)[__props.mirror.mirrorIcon],label:__props.mirror.description,ratio:`1:1`},null,8,[`icon`,`label`]),createBaseVNode(`div`,_hoisted_2$6,[createBaseVNode(`div`,_hoisted_3$5,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpY`,ref:inpY,class:`slider-y`},range.y,{uiNavFocus:!1,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[0]||=$event=>__props.mirror.y=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_4$4,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_ud`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[1]||=$event=>__props.mirror.y=$event,type:`number`},range.y,{prefix:`Y`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_5$3,[createBaseVNode(`div`,_hoisted_6$2,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpX`,ref:inpX,class:`slider-x`},range.x,{uiNavFocus:!1,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[2]||=$event=>__props.mirror.x=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_7$2,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_lr`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[3]||=$event=>__props.mirror.x=$event,type:`number`},range.x,{prefix:`X`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_8$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).attention,disabled:!isChanged.value,onClick:_cache[4]||=$event=>resetValues()},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{controller:``,"ui-event":`action_3`}),createTextVNode(` `+toDisplayString(_ctx.$t(`ui.common.reset`)),1)]),_:1},8,[`accent`,`disabled`])])])),[[unref(BngOnUiNav_default),move,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),resetValues,`action_3`]])}},MirrorAdjust_default=__plugin_vue_export_helper_default(_sfc_main$12,[[`__scopeId`,`data-v-14ab0128`]]),_hoisted_1$9={key:0,class:`content buttons-grid`},_sfc_main$11={__name:`Mirrors`,props:{exitRoute:{type:String,default:`menu.vehicleconfig.tuning`}},setup(__props){useUINavScope(`vehicle-config-mirrors`);let comp=ref(null),{lua,events:events$3}=useBridge(),mirrors=ref([]),selectedMirror=ref(null),props=__props;async function exitAdjustmentMode(){selectedMirror.value?(lua.extensions.core_vehicle_mirror.setAngleOffset(selectedMirror.value.name,-selectedMirror.value.y,-selectedMirror.value.x,!1,!0),selectedMirror.value=null,comp.value=null,await lua.extensions.core_vehicle_mirror.focusOnMirror(!1)):bngVue.gotoAngularState(props.exitRoute)}async function getVehicleMirrors(){let data=await lua.extensions.core_vehicle_mirror.getAnglesOffset();for(let key in mirrors.value.splice(0),data){let position=data[key].position,mirrorIcon=data[key].icon,description=data[key].label;if(position||(/_L$|_L_/.test(key)?(position=`left`,mirrorIcon||=`mirrorLeftDefault`):/_R$|_R_/.test(key)?(position=`right`,mirrorIcon||=`mirrorRightDefault`):position=`mid`),!description)description=$translate.instant(`ui.mirrors.position.`+position),key.endsWith(`_spot`)&&(description+=` (${$translate.instant(`ui.mirrors.spot`)})`);else{let tr=$translate.instant(`ui.mirrors.`+description);tr.startsWith(`ui.mirrors.`)||(description=tr)}mirrors.value.push({name:data[key].name,description,position,x:data[key].angleOffset.x,y:data[key].angleOffset.z,clampX:data[key].clampX,clampY:data[key].clampZ,mirrorIcon:mirrorIcon||`mirrorInteriorMiddle`,row:data[key].row||0})}mirrors.value.sort((a$1,b)=>a$1.row-b.row)}return onMounted(async()=>{await getVehicleMirrors(),events$3.on(`VehicleChange`,getVehicleMirrors),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_lr`),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_ud`)}),onUnmounted(()=>{events$3.off(`VehicleChange`,getVehicleMirrors)}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`layout-content-full layout-align-hstart`,"bng-ui-scope":`vehicle-config-mirrors`},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngCard_default),{class:`mirrors-card`},{buttons:withCtx(()=>[createVNode(unref(bngButton_default),{onClick:exitAdjustmentMode},{default:withCtx(()=>[selectedMirror.value?(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,"ui-event":`action_2`})):(openBlock(),createBlock(unref(bngBinding_default),{key:1,controller:``,"ui-event":`back`})),createTextVNode(` `+toDisplayString(_ctx.$t(selectedMirror.value?`ui.common.apply`:`ui.common.close`)),1)]),_:1})]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(`ui.mirrors.name`)),1)]),_:1}),selectedMirror.value?(openBlock(),createBlock(MirrorAdjust_default,{key:1,class:`content`,mirror:selectedMirror.value},null,8,[`mirror`])):(openBlock(),createElementBlock(`div`,_hoisted_1$9,[(openBlock(!0),createElementBlock(Fragment,null,renderList(mirrors.value,mirror=>(openBlock(),createBlock(unref(bngImageTile_default),{onClick:$event=>selectedMirror.value=mirror,class:normalizeClass([`mirror-button`,[mirror.position]]),icon:unref(icons)[mirror.mirrorIcon]||unref(icons).placeholder,label:mirror.description,"bng-nav-item":``},null,8,[`onClick`,`class`,`icon`,`label`]))),256))]))]),_:1})),[[unref(BngBlur_default),!0]])]),_:1})),[[unref(BngOnUiNav_default),exitAdjustmentMode,`menu,back`],[unref(BngOnUiNav_default),()=>selectedMirror.value&&exitAdjustmentMode(),`action_2`]])}},Mirrors_default=__plugin_vue_export_helper_default(_sfc_main$11,[[`__scopeId`,`data-v-28f8b633`]]),routes_default$17=[{path:`/vehicle-config`,name:`menu.vehicleconfig`,redirect:`/vehicle-config/parts`,meta:{clickThrough:!0,infoBar:{withAngular:!1,visible:!0,showSysInfo:!1},uiApps:{shown:!0},topBar:{visible:!0}},children:[{path:`parts`,name:`menu.vehicleconfig.parts`,component:VehicleConfig_default,props:{tab:`parts`}},{path:`tuning`,name:`menu.vehicleconfig.tuning`,component:VehicleConfig_default,props:{tab:`tuning`}},{path:`color`,name:`menu.vehicleconfig.color`,component:VehicleConfig_default,props:{tab:`color`},meta:{uiApps:{shown:!1}}},{path:`save`,name:`menu.vehicleconfig.save`,component:VehicleConfig_default,props:{tab:`save`},meta:{uiApps:{shown:!1}}},{path:`debug`,name:`menu.vehicleconfig.debug`,component:VehicleConfig_default,props:{tab:`debug`}}]},{path:`/vehicle-config/tuning/mirrors/:exitRoute?/`,name:`menu.vehicleconfig.tuning.mirrors`,component:Mirrors_default,props:!0},{path:`/vehicle-config/tuning/mirrors-angular`,name:`menu.vehicleconfig.tuning.mirrors.with-angular`,component:Mirrors_default,props:{exitRoute:`menu.vehicleconfigold.tuning`}},{path:`/vehicle-config/tuning/mirrors-garage`,name:`menu.vehicleconfig.tuning.mirrors.in-garage`,component:Mirrors_default,props:{exitRoute:`garagemode.tuning`}}],_hoisted_1$8={key:0,class:`management-details`},_hoisted_2$5={key:0,class:`current-vehicle-info`},_hoisted_3$4={class:`info-row`},_hoisted_4$3={class:`value`},_hoisted_5$2={class:`buttons-section`},_sfc_main$10={__name:`ManagementDetails`,props:{managementDetails:{type:Object,default:null},executeButton:{type:Function,required:!0}},emits:[`button-click`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,handleButtonClick=buttonId=>{props.executeButton(buttonId),emit$1(`button-click`,buttonId)};return(_ctx,_cache)=>__props.managementDetails&&__props.managementDetails.buttonInfo&&__props.managementDetails.buttonInfo.length>0?(openBlock(),createElementBlock(`div`,_hoisted_1$8,[__props.managementDetails.details?(openBlock(),createElementBlock(`div`,_hoisted_2$5,[createBaseVNode(`div`,_hoisted_3$4,[_cache[0]||=createBaseVNode(`span`,{class:`label`},`Current Vehicle:`,-1),createBaseVNode(`span`,_hoisted_4$3,toDisplayString(__props.managementDetails.details.currentVehicleName),1)])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.managementDetails.buttonInfo,button=>(openBlock(),createElementBlock(`div`,{key:button.buttonId,class:`button-container`},[createVNode(unref(bngButton_default),{accent:button.accent||`secondary`,label:button.label,icon:button.icon,onClick:$event=>handleButtonClick(button.buttonId)},null,8,[`accent`,`label`,`icon`,`onClick`])]))),128))])])):createCommentVNode(``,!0)}},ManagementDetails_default=__plugin_vue_export_helper_default(_sfc_main$10,[[`__scopeId`,`data-v-b0128491`]]),_sfc_main$9={__name:`VehicleSelector`,setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(GridSelector_default,{backendName:`vehicleSelector`,routePath:`/vehicle-selector`,defaultPath:{keys:[`allModels`]},defaultDetailsMode:`advanced`,tileImagesTopAligned:``},{"item-details":withCtx(({activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod})=>[createVNode(VehicleDetails_default,{activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod,showHeaderTitle:!0},null,8,[`activeItem`,`activeItemDetails`,`executeButton`,`toggleFavourite`,`exploreFolder`,`goToMod`])]),"management-details":withCtx(({managementDetails,executeButton})=>[createVNode(ManagementDetails_default,{managementDetails,executeButton},null,8,[`managementDetails`,`executeButton`])]),_:1}))}},VehicleSelector_default=_sfc_main$9,routes_default$18=[{name:`menu.vehiclesnew`,path:`/vehicle-selector/:pathMatch(.*)*`,component:VehicleSelector_default,props:!0,meta:{clickThrough:!0,infoBar:{visible:!0,showSysInfo:!1},uiApps:{shown:!1},topBar:{visible:!0}}}],router=createRouter({history:createWebHashHistory(),routes:[...Object.values([routes_default,routes_default$1,routes_default$2,routes_default$3,routes_default$4,routes_default$5,routes_default$6,routes_default$7,routes_default$8,routes_default$9,routes_default$10,routes_default$11,routes_default$12,routes_default$13,routes_default$14,routes_default$15,routes_default$16,routes_default$17,routes_default$18]).flatMap(routes=>routes||[]),{path:`/:catchAll(.*)*`,name:`unknown`,component:NotFound_default}]});router.bngUpdateMeta=to=>{to.meta&&(to.meta.uiApps&&handelUIAppsSettings(to.meta.uiApps),handleInfoBarSettings(to.meta.infoBar||{}),handleTopBarSettings(to))},router.afterEach((to,from)=>{reportState(to.path,!0,from.path),window.bridge.api.engineLua(`extensions.hook("onUiChangedState", "${to.name}", "${from.name}")`),router.bngUpdateMeta(to)});var handelUIAppsSettings=settings$1=>{let appsAPI=useUIApps();settings$1.layout&&appsAPI.setLayout(settings$1.layout),`shown`in settings$1&&appsAPI.setVisible(settings$1.shown)},handleInfoBarSettings=settings$1=>{let infoBar=useInfoBar();infoBar.visible=settings$1.visible,infoBar.showSysInfo=settings$1.showSysInfo,infoBar.withAngular=settings$1.withAngular,settings$1.hints&&(infoBar.clearHints(),infoBar.addHints(settings$1.hints))},handleTopBarSettings=to=>{let topBar=useTopBar(),meta=to.meta.topBar||{};meta.visible?meta.visible&&!topBar.visible&&topBar.show():topBar.hide(),topBar.onUIStateChanged(to)},router_default=router,_hoisted_1$7={key:0,id:`vue-debug`},_hoisted_2$4={class:`heading-wrapper`},_hoisted_3$3={class:`label`},_hoisted_4$2={key:0,class:`route-info`},_hoisted_5$1={class:`main`},_hoisted_6$1={class:`controls`},_hoisted_7$1={key:0},_hoisted_8=[`label`],_hoisted_9=[`value`,`selected`],_sfc_main$8={__name:`VueDebug`,setup(__props){let{lua}=useBridge(),EXTRA_ROUTE,routeGroups=router_default.getRoutes().map(r=>r.name).filter(n=>n!==`routelist`).sort((a$1,b)=>a$1.localeCompare(b)).reduce((res,n)=>{if(!n)return res;let g=n.substring(0,1);return res[g]||(res[g]={name:g.toUpperCase(),routes:[]}),res[g].routes.push(n),res},{}),route=useRoute(),hash=ref(location.hash.split(`#`)[1]),path=computed(()=>route.path),routeName=computed(()=>route.name),showDebug=ref(window._VueDebugState),isOpen=ref(window._VueDebugOpen),showComponents=router_default.hasRoute(`components`),bngVue$1=window.bngVue||{};bngVue$1.debug=(state=!0)=>showDebug.value=window._VueDebugState=state,bngVue$1.reset=()=>bngVue$1.gotoGameState(`menu.mainmenu`);function toggleOpen(){isOpen.value=window._VueDebugOpen=!isOpen.value}function selectRoute(e){e.target.value&&bngVue$1.gotoGameState(e.target.value)}function icons$3(){bngVue$1.gotoGameState(`components/IconBrowser`),toggleOpen()}function colours(){bngVue$1.gotoGameState(`components/Colours`),toggleOpen()}function extra(){bngVue$1.gotoGameState(void 0),toggleOpen()}function components(){bngVue$1.showComponents(),toggleOpen()}function menu(){bngVue$1.reset(),toggleOpen()}function mainmenu(){toggleOpen(),lua.returnToMainMenu()}let closeDebug=e=>{e.stopPropagation(),bngVue$1.debug(!1)};return addEventListener(`hashchange`,e=>{hash.value=e.newURL.split(`#`)[1]}),(_ctx,_cache)=>(openBlock(),createBlock(Teleport,{to:`body`},[showDebug.value?(openBlock(),createElementBlock(`div`,_hoisted_1$7,[createBaseVNode(`div`,{class:`handle`,onClick:toggleOpen},[createBaseVNode(`div`,_hoisted_2$4,[createBaseVNode(`span`,_hoisted_3$3,[_cache[1]||=createBaseVNode(`strong`,null,`Vue`,-1),isOpen.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,_hoisted_4$2,`: `+toDisplayString(path.value)+` [ `+toDisplayString(routeName.value)+` ]`,1))]),createBaseVNode(`a`,{onClick:closeDebug},`x`)])]),withDirectives(createBaseVNode(`div`,_hoisted_5$1,[createBaseVNode(`div`,null,[createTextVNode(` Current hash: `+toDisplayString(hash.value),1),_cache[2]||=createBaseVNode(`br`,null,null,-1),createTextVNode(` Route name: `+toDisplayString(routeName.value),1)]),_cache[4]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`div`,_hoisted_6$1,[unref(showComponents)?(openBlock(),createElementBlock(`div`,_hoisted_7$1,[withDirectives((openBlock(),createElementBlock(`a`,{href:`#`,onClick:menu},[..._cache[3]||=[createTextVNode(`Main Menu`,-1)]])),[[unref(BngDoubleClick_default),mainmenu,void 0,{capture:!0}],[unref(BngTooltip_default),`Doubleclick to unload level`]]),unref(void 0)?(openBlock(),createElementBlock(`a`,{key:0,href:`#`,onClick:extra},`⏩`)):createCommentVNode(``,!0),createBaseVNode(`a`,{href:`#`,onClick:_cache[0]||=$event=>_ctx.$simplemenu.value=!_ctx.$simplemenu.value},toDisplayString(_ctx.$simplemenu.value?`✓`:`☐`)+` SimpleMenu`,1),createBaseVNode(`a`,{href:`#`,onClick:components},`Components`),createBaseVNode(`a`,{href:`#`,onClick:icons$3},`Icons`),createBaseVNode(`a`,{href:`#`,onClick:colours},`Colours`)])):createCommentVNode(``,!0),createBaseVNode(`select`,{multiple:``,onClick:selectRoute},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(routeGroups),group=>(openBlock(),createElementBlock(`optgroup`,{key:group.name,label:group.name},[(openBlock(!0),createElementBlock(Fragment,null,renderList(group.routes,route$1=>(openBlock(),createElementBlock(`option`,{key:route$1,value:route$1,selected:route$1===routeName.value},toDisplayString(route$1),9,_hoisted_9))),128))],8,_hoisted_8))),128))])])],512),[[vShow,isOpen.value]])])):createCommentVNode(``,!0)]))}},VueDebug_default=__plugin_vue_export_helper_default(_sfc_main$8,[[`__scopeId`,`data-v-669cde99`]]),_hoisted_1$6={class:`hint-content`},_hoisted_2$3={key:0,class:`binding-container`},_hoisted_3$2={key:1,class:`text`},_hoisted_4$1={key:1,class:`hint-text`},_sfc_main$7={__name:`Hint`,props:{data:Object},setup(__props){let Controls=controls_default(),props=__props,PROP_DEFAULTS={icon:{color:`white`},binding:{showUnassigned:!0,dark:!1}},hintRef=ref(null),bindingRefs=ref([]),hintContent=computed(()=>{let hints=props.data?[props.data.content].flat():[],res=[],label;for(let hint of hints)typeof hint==`string`?label=hint:(hint.label&&(label=hint.label),res.push({...hint,label:void 0}));return label&&res.push(label),res}),bindingView=computed(()=>{let res=hintContent.value.filter(item=>typeof item!=`string`);for(let item of res)if(item.type===`binding`){if(item.props?.viewerObj){item.viewerObjs=[item.props.viewerObj];continue}let viewerObjs=Controls.makeViewerObj({...PROP_DEFAULTS[item.type],...item.props,actionVariants:!0,useLastDevice:!0});viewerObjs?.variants?item.viewerObjs=viewerObjs.variants:item.viewerObjs=[viewerObjs]}return res}),labelView=computed(()=>hintContent.value.find(item=>typeof item==`string`)||bindingView.value.find(item=>item.label)?.label),bindingDisplayed=computed(()=>!!(bindingRefs.value.some(ref$1=>ref$1.displayed)||bindingView.value.some(item=>item.type===`icon`)||labelView.value));function onClick(evt){if(lastFocused&&document.body.contains(lastFocused)&&!setFocusExternal(lastFocused,!0,!1))try{lastFocused.focus?.()}catch{}props.data.action?.(evt)}let lastFocused;function trackFocus(evt){let target=evt?.detail?.target||evt?.target||document.activeElement;if(!target){lastFocused=null;return}if(target=target.closest(NAVIGABLE_ELEMENTS_SELECTOR),!target){lastFocused=null;return}if(target===lastFocused)return;let button=hintRef.value?.getElement?.();target!==button&&!button.contains(target)&&(lastFocused=target)}return onMounted(()=>window.addEventListener(`uinav-focus`,trackFocus)),onBeforeUnmount(()=>window.removeEventListener(`uinav-focus`,trackFocus)),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{ref_key:`hintRef`,ref:hintRef,class:normalizeClass([`hint`,{"flash-on":__props.data.flash}]),accent:unref(ACCENTS).text,disabled:!__props.data.action,onClick:withModifiers(onClick,[`stop`]),"bng-no-nav":``,tabindex:`-1`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$6,[bindingView.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_2$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(bindingView.value,(item,idx)=>(openBlock(),createElementBlock(`span`,{key:idx,class:`rich`},[item.type===`icon`?(openBlock(),createBlock(unref(bngIcon_default),mergeProps({key:0,class:`icon`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props}),null,16)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(item.viewerObjs,(viewerObj,index)=>(openBlock(),createBlock(unref(bngBinding_default),mergeProps({key:index,ref_for:!0,ref_key:`bindingRefs`,ref:bindingRefs,class:`binding`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props,viewerObj},{"track-ignore":``}),null,16))),128)),item.hold?(openBlock(),createElementBlock(`span`,_hoisted_3$2,toDisplayString(item.hold?`[hold]`:``),1)):createCommentVNode(``,!0)]))),128))])):createCommentVNode(``,!0),labelView.value?(openBlock(),createElementBlock(`span`,_hoisted_4$1,toDisplayString(_ctx.$tt(labelView.value)),1)):createCommentVNode(``,!0)])]),_:1},8,[`class`,`accent`,`disabled`])),[[vShow,bindingDisplayed.value]])}},Hint_default=__plugin_vue_export_helper_default(_sfc_main$7,[[`__scopeId`,`data-v-29a63ba0`]]),_hoisted_1$5={key:0,class:`info-bar-stats`},_hoisted_2$2={key:0},_hoisted_3$1={key:0,class:`divider`},_hoisted_4={key:0},_hoisted_5={class:`sysinfo`},_hoisted_6={class:`sysinfo`},_hoisted_7={key:1,class:`info-bar-buttons`,"bng-no-child-nav":`true`},_sfc_main$6={__name:`InfoBar`,setup(__props){let{visible,showSysInfo,withAngular,hints}=storeToRefs(useInfoBar()),showBuildInfo=ref(!1),toggleBuildInfo=()=>showBuildInfo.value=!showBuildInfo.value,route=useRoute(),solidBar=computed(()=>route.name===`menu.mainmenu`?!sysInfo_default.mainMenuBackgroundRequired.value:withAngular.value);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`info-bar`,{"info-bar-solid":solidBar.value}]),"bng-no-nav":`true`},[unref(showSysInfo)?(openBlock(),createElementBlock(`div`,_hoisted_1$5,[withDirectives(createVNode(unref(bngIcon_default),{style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(sysInfo_default).online?unref(icons).globeSimplified:unref(icons).globeSimpleNotSign},null,8,[`type`]),[[unref(BngTooltip_default),unref(sysInfo_default).online?`Online`:`Offline`,`top`]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(sysInfo_default).serviceProviders.value,(info,key)=>(openBlock(),createElementBlock(Fragment,null,[unref(sysInfo_default).serviceProvidersOnline.value[key]?(openBlock(),createElementBlock(`span`,_hoisted_2$2,[createVNode(unref(bngImageAsset_default),{src:`images/mainmenu/${key}icon.png`},null,8,[`src`]),createTextVNode(` `+toDisplayString(info.playerName)+` `,1),info.branch&&info.branch!==`public`?withDirectives((openBlock(),createBlock(unref(bngIcon_default),{key:0,style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(icons).branch},null,8,[`type`])),[[unref(BngTooltip_default),`Branch: `+info.branch,`top`]]):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(info.branch&&info.branch!==`public`?info.branch:``),1)])):createCommentVNode(``,!0)],64))),256)),unref(sysInfo_default).online||unref(sysInfo_default).serviceProvidersOnline.value.any?(openBlock(),createElementBlock(`span`,_hoisted_3$1)):createCommentVNode(``,!0),createBaseVNode(`span`,{onClick:toggleBuildInfo},[showBuildInfo.value?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`span`,_hoisted_5,`Alpha v.`+toDisplayString(unref(sysInfo_default).version),1),createBaseVNode(`span`,_hoisted_6,toDisplayString(unref(sysInfo_default).buildInfo),1)],64)):(openBlock(),createElementBlock(`span`,_hoisted_4,`Alpha v.`+toDisplayString(unref(sysInfo_default).versionSimple),1))])])):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`div`,{class:`spacer`},null,-1),unref(hints).length?(openBlock(),createElementBlock(`div`,_hoisted_7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hints),item=>(openBlock(),createBlock(Hint_default,{key:item.id,data:item},null,8,[`data`]))),128))])):createCommentVNode(``,!0)],2)),[[vShow,unref(visible)],[unref(BngBlur_default),solidBar.value&&!unref(sysInfo_default).mainMenuBackgroundRequired.value]])}},InfoBar_default=__plugin_vue_export_helper_default(_sfc_main$6,[[`__scopeId`,`data-v-cb5f8971`]]),_hoisted_1$4=[`accent`],_sfc_main$5={__name:`TopBarItem`,props:{icon:{type:String,required:!0},active:{type:Boolean,default:void 0},label:String,iconOnly:Boolean,iconPosition:{type:String,default:`left`},accent:{type:String,default:`default`}},setup(__props){let props=__props,item=ref(null);return watch(()=>props.active,value=>{typeof value==`boolean`&&(value?(item.value.setAttribute(`active`,`true`),item.value.removeAttribute(NO_NAV_ATTR)):(item.value.removeAttribute(`active`),item.value.setAttribute(NO_NAV_ATTR,`true`)))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`item`,ref:item,class:normalizeClass([`topbar-item`,{"icon-only":__props.iconOnly}]),accent:__props.accent,"bng-nav-item":``,"bng-no-nav":`true`,tabindex:`-1`},[createVNode(unref(bngIcon_default),{class:`topbar-item-icon`,type:__props.icon},null,8,[`type`]),__props.label&&!__props.iconOnly?(openBlock(),createBlock(unref(textScroller_default),{key:0,class:`topbar-item-text`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(__props.label)),1)]),_:1})):createCommentVNode(``,!0)],10,_hoisted_1$4)),[[unref(BngSoundClass_default),`bng_click_hover_generic`]])}},TopBarItem_default=__plugin_vue_export_helper_default(_sfc_main$5,[[`__scopeId`,`data-v-2c3015cd`]]),_hoisted_1$3={class:`topbar`},_hoisted_2$1={class:`topbar-section topbar-left`},_hoisted_3={class:`topbar-section topbar-center`},_sfc_main$4={__name:`TopBar`,setup(__props,{expose:__expose}){let topBar=useTopBar(),{visible,items:items$2,activeItem,gameState:gameState$1}=storeToRefs(topBar),overflowContainer=ref(null),pauseButtonTarget=ref(null),showTabBindings=ref(!0),showBackBinding=ref(!0),onItemClicked=item=>{activeItem.value!==item.id&&(activeItem.value=item.id,topBar.selectEntry(item.id))},backStack=new Map,customBack=null;function setBack(id,fn){if(!id)throw Error("Usage: TopBar.setBack(id, [fn]), where `id` is your unique id and `fn` is a custom back function that will fire and expected to return `true` or `false` (undefined return means `true`), which will dis-/allow the base back functionality.");typeof fn==`function`?backStack.set(id,fn):backStack.delete(id),customBack=Array.from(backStack.values()).at(-1)||null}let onBack=()=>{let res=customBack?.();res===void 0&&(res=!0),res&&(gameState$1.isInGame?window.bngVue.gotoGameState(`play`):window.globalAngularRootScope?.$broadcast(`MenuToggle`))},onContinue=()=>{window.bngVue.gotoAngularState(`play`)};return watch(()=>activeItem.value,val=>{if(activeItem.value!==null&&items$2.value.length>0){let idx=items$2.value.findIndex(item=>item.id===val);overflowContainer.value.activate(idx)}else overflowContainer.value.deactivate()}),__expose({pauseButtonTarget:computed(()=>visible.value?pauseButtonTarget.value:null),setBack,showTabBindings,showBackBinding}),onMounted(()=>{}),onUnmounted(()=>{}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$3,[createBaseVNode(`div`,_hoisted_2$1,[unref(gameState$1).isInGame?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,"track-ignore":``,accent:`custom`,class:`topbar-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onContinue},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).play},null,8,[`type`]),createVNode(unref(bngBinding_default),{"ui-event":`menu`,controller:``})]),_:1})),[[unref(BngTooltip_default),`Back to gameplay`,`right`]]):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{"track-ignore":``,accent:`custom`,class:`topbar-button back-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onBack},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).undo},null,8,[`type`]),withDirectives(createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``},null,512),[[vShow,showBackBinding.value]])]),_:1})),[[unref(BngTooltip_default),`Back one level`,`right`]])]),createBaseVNode(`div`,_hoisted_3,[withDirectives(createVNode(unref(bngOverflowContainer_default),{ref_key:`overflowContainer`,ref:overflowContainer,class:`topbar-overflow-container`,"use-bindings-only":``,"show-bindings":showTabBindings.value},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(items$2),item=>(openBlock(),createBlock(TopBarItem_default,{key:item.id,icon:item.icon,label:item.label,onClick:$event=>onItemClicked(item)},null,8,[`icon`,`label`,`onClick`]))),128))]),_:1},8,[`show-bindings`]),[[vShow,unref(items$2).length>0]])]),createBaseVNode(`div`,{ref_key:`pauseButtonTarget`,ref:pauseButtonTarget,class:`topbar-section topbar-right`},null,512)])),[[vShow,unref(visible)],[unref(BngBlur_default)]])}},TopBar_default=__plugin_vue_export_helper_default(_sfc_main$4,[[`__scopeId`,`data-v-c4d95c66`]]),_sfc_main$3={__name:`Popup`,props:{type:{type:String,default:`default`,validator:val=>[`default`,`activity`].includes(val)}},setup(__props){let props=__props,popups=computed(()=>popupsView[props.type===`default`?`popups`:`activities`]),popupsWrapper=computed(()=>popupsView[props.type===`default`?`popupsWrapper`:`activitiesWrapper`]),wrapper=ref(),innerWrapper=ref(),shown=reactive({wrapper:!1,popups:!1}),tmr;watch(()=>!!popups.value,cur=>{if(cur===shown.wrapper)return;let body=document.body;cur&&popupsWrapper.value.fade?body.classList.add(`popup-all-hide`):body.classList.remove(`popup-all-hide`),tmr&&clearTimeout(tmr),cur?(shown.wrapper=!0,nextTick(()=>{props.type===`default`&&wrapper.value&&typeof wrapper.value.showModal==`function`&&wrapper.value.showModal(),nextTick(()=>shown.popups=!0)}),popupsWrapper.value.fade&&body.classList.add(`popup-show-hide`)):tmr=setTimeout(()=>{tmr=null,!popups.value&&(body.classList.remove(`popup-show-hide`),shown.popups=!1,shown.wrapper=!1,nextTick(()=>priorityFocus()))},200)});function handleUINavEvents(event){console.log(`POPUP handleUINavEvents stopPropagation`,event),event.stopPropagation()}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[shown.wrapper?withDirectives((openBlock(),createBlock(resolveDynamicComponent(__props.type===`default`?`dialog`:`div`),{key:0,ref_key:`wrapper`,ref:wrapper,class:normalizeClass([`popup-wrapper`,`popup-type-${__props.type}`])},{default:withCtx(()=>[createVNode(Transition,{name:`popup-background`},{default:withCtx(()=>[shown.popups?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`popup-background`,...popupsWrapper.value.style.map(name=>`background-style-`+name)])},null,2)):createCommentVNode(``,!0)]),_:1}),createVNode(TransitionGroup,{name:`popup-fade`},{default:withCtx(()=>[shown.popups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(popups.value,popup=>(openBlock(),createElementBlock(`div`,{key:popup.id,class:normalizeClass([`popup-container`,...popup.position.map(name=>`content-position-`+name),popup.animated?`popup-animated`:`popup-notanimated`,popup.active?`popup-active`:`popup-inactive`])},[(openBlock(),createBlock(resolveDynamicComponent(popup.component.ref),mergeProps({ref_for:!0},popup.props,{popupActive:popup.active,class:[`popup-content`,popup.active?`popup-active`:`popup-inactive`],onReturn:popup.return}),null,16,[`popupActive`,`class`,`onReturn`]))],2))),128)):createCommentVNode(``,!0)]),_:1}),createBaseVNode(`div`,{ref_key:`innerWrapper`,ref:innerWrapper},null,512)]),_:1},8,[`class`])),[[unref(BngBlur_default),popupsWrapper.value.blur],[unref(BngOnUiNav_default),handleUINavEvents,`back,menu`]]):createCommentVNode(``,!0),(openBlock(),createBlock(Teleport,{to:innerWrapper.value,disabled:!innerWrapper.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,[`to`,`disabled`]))],64))}},Popup_default=__plugin_vue_export_helper_default(_sfc_main$3,[[`__scopeId`,`data-v-c0bb08d7`]]),_hoisted_1$2={class:`popover-container`},_sfc_main$2={__name:`Popover`,setup(__props){return usePopover(),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$2))}},Popover_default=__plugin_vue_export_helper_default(_sfc_main$2,[[`__scopeId`,`data-v-86205238`]]),_hoisted_1$1={class:`backgrounds-cache`},_hoisted_2=[`src`],DRIVE=8,TECH=1,_sfc_main$1={__name:`MainBackground`,setup(__props,{expose:__expose}){let bgPathResolve=(product,name,blur$1=!1)=>`images/mainmenu/${product?product+`/`:``}${name}${blur$1?`_blur`:``}.jpg`,_backgrounds={drive:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1)),drive_blur:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1,!0)),tech:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1)),tech_blur:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1,!0)),unofficial:[bgPathResolve(null,`unofficial_version`)],unofficial_blur:[bgPathResolve(null,`unofficial_version`,!0)]},backgroundId=ref(`drive`),backgrounds=computed(()=>({normal:_backgrounds[backgroundId.value],blur:_backgrounds[backgroundId.value+`_blur`]})),carousel=ref();return __expose({carousel:computed(()=>carousel.value),backgrounds:computed(()=>backgrounds.value)}),onMounted(async()=>{let isTech=await Lua_default.extensions.tech_license.isValid();backgroundId.value=isTech?`tech`:`drive`,bngApi.engineLua(`sailingTheHighSeas`,ahoy=>{backgroundId.value=ahoy?`unofficial`:isTech?`tech`:`drive`})}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Slideshow_default,{class:`background-image`,ref_key:`carousel`,ref:carousel,images:backgrounds.value.normal,delay:1e4,transition:``,shuffle:``},null,8,[`images`]),(openBlock(!0),createElementBlock(Fragment,null,renderList(backgrounds.value,list=>(openBlock(),createElementBlock(`div`,_hoisted_1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(list,src=>(openBlock(),createElementBlock(`img`,{src:unref(getAssetURL)(src)},null,8,_hoisted_2))),256))]))),256))],64))}},MainBackground_default=__plugin_vue_export_helper_default(_sfc_main$1,[[`__scopeId`,`data-v-6c1f834b`]]),_hoisted_1={id:`vue-app-container`},_sfc_main={__name:`App`,setup(__props){let route=useRoute(),settings$1=useSettings(),bngVue$1=window.bngVue||{},apps=ref([]),appContCnt=ref(0),appTargets=computed(()=>apps.value.reduce((res,{teleport})=>({...res,[teleport]:document.getElementById(teleport.substring(1)),cnt:appContCnt.value}),{}));bngVue$1.updateAppContainer=()=>window.requestAnimationFrame(()=>appContCnt.value=++appContCnt.value%1e5);let contClickThrough=ref(!1);bngVue$1.gotoAngularState=(state=`blank`,params=void 0)=>window.angular&&window.angular.element(document.querySelector(`body`)).controller().changeAngularStateFromVue(state,params),bngVue$1.gotoGameState=(state=`ui-test`,{params=!1,tryAngularJS=!0,blankAngularJS=!0,clickThrough=!1,uiAppsShown=!1}={})=>{let a$1=history.state;if(!router_default.hasRoute(state))window.location.hash=`#/`+state,route&&(handleUiAppsMeta(route,uiAppsShown),router_default.bngUpdateMeta(route)),tryAngularJS&&bngVue$1.gotoAngularState(state,params);else{blankAngularJS&&bngVue$1.gotoAngularState(`blank`);let newroute=router_default.resolve({name:state,params});handleUiAppsMeta(newroute,uiAppsShown),newroute.name===route.name&&router_default.bngUpdateMeta(route),window.location.hash=newroute.href,router_default.replace({name:state,params})}history.replaceState(a$1,``,window.location.toString()),contClickThrough.value=clickThrough};function handleUiAppsMeta(route$1,uiAppsShown){route$1.meta?route$1.meta.uiApps||(route$1.meta.uiApps={}):route$1.meta={uiApps:{}},typeof route$1.meta.uiApps.shown!=`boolean`&&(route$1.meta.uiApps.shown=uiAppsShown)}bngVue$1.getCurrentRoute=()=>router_default.currentRoute.value,bngVue$1.spawnApp=(appName,appId,params=null)=>spawnUiApp(appName,appId,params,apps.value),bngVue$1.destroyApp=appName=>destroyUiApp(appName,apps.value),useFocusManager();let topBar=ref();provide(`setBack`,(id,fn)=>topBar.value?.setBack(id,fn)),provide(`showTopbarTabBindings`,val=>topBar.value&&(topBar.value.showTabBindings=val)),provide(`showTopbarBackBinding`,val=>topBar.value&&(topBar.value.showBackBinding=val));let bgRequired=sysInfo_default.mainMenuBackgroundRequired,mainBackground=ref();return provide(`mainBackground`,computed(()=>mainBackground.value?.carousel)),provide(`mainBackgroundBlur`,computed(()=>mainBackground.value?.backgrounds.blur)),watch([()=>settings$1.values.uiLayoutContentAlignment,()=>settings$1.values.uiLayoutContentWidth],([alignment,width$1])=>{let rootStyle=document.documentElement.style;alignment=LAYOUT_ALIGNMENTS[alignment||`center`],width$1=width$1?`${width$1}px`:`100vw`,window.requestAnimationFrame(()=>{rootStyle.setProperty(`--layout-content-alignment`,alignment),rootStyle.setProperty(`--layout-content-width`,width$1)})},{immediate:!0}),(_ctx,_cache)=>{let _component_router_view=resolveComponent(`router-view`);return openBlock(),createElementBlock(Fragment,null,[unref(bgRequired)?(openBlock(),createBlock(MainBackground_default,{key:0,ref_key:`mainBackground`,ref:mainBackground},null,512)):createCommentVNode(``,!0),unref(route).name===`unknown`?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,{key:1,class:normalizeClass({"vue-app-main":!0,"click-through":contClickThrough.value||unref(route).meta&&unref(route).meta.clickThrough})},[createVNode(TopBar_default,{ref_key:`topBar`,ref:topBar},null,512),createVNode(_component_router_view),createVNode(InfoBar_default)],2)),createVNode(pauseButton_default,{"teleport-to":topBar.value?.pauseButtonTarget},null,8,[`teleport-to`]),unref(route).name===`unknown`?(openBlock(),createBlock(Popup_default,{key:2,type:`activity`})):createCommentVNode(``,!0),createVNode(Popup_default,null,{default:withCtx(()=>[createVNode(Popover_default)]),_:1}),createVNode(LoadingScreen_default),createVNode(VueDebug_default),createBaseVNode(`div`,_hoisted_1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(apps.value,(app$1,index)=>(openBlock(),createElementBlock(Fragment,{key:app$1.appKey},[appTargets.value[app$1.teleport]?(openBlock(),createBlock(Teleport,{key:0,to:app$1.teleport},[(openBlock(),createBlock(resolveDynamicComponent(app$1.comp),mergeProps({ref_for:!0},app$1.props),null,16))],8,[`to`])):createCommentVNode(``,!0)],64))),128))])],64)}}},App_default=__plugin_vue_export_helper_default(_sfc_main,[[`__scopeId`,`data-v-eef28b65`]]);function customDisposePlugin(context){let store$1=context.store,{$dispose,dispose:dispose$2}=store$1;store$1.$dispose=()=>{$dispose(),dispose$2&&typeof dispose$2==`function`&&dispose$2()}}window.watchdogInit=init,window.Vue=vue_esm_bundler_exports;var deps={Emitter:eventemitter3_default,beamng:window.beamng};window.bngApi&&(deps.overrideAPI=window.bngApi),setBridgeDependencies(deps);var bridge=useBridge();window.bridge=bridge,sysInfo_default.init(),initFocusVisible(),bridge.uiNavService=new UINavService(bridge.events),setUINavServiceInstance(bridge.uiNavService),bridge.uiNavService.initialize();var pinia=createPinia().use(()=>({$game:bridge})).use(customDisposePlugin),app=createApp(App_default).use(router_default).use(pinia).use(registerApps,apps_exports);useGameContextStore(),window.bngVue={start:()=>{window.vueGlobalStore||(window.vueGlobalStore=reactive({}));let globals={$game:bridge,$console:logger_default,$logger:logger_default,$simplemenu:ref(!!window.beamng?.simplemenu),$globalStore:window.vueGlobalStore},{i18n,plugin:translationPlugin$1}=initTranslation();app.use(i18n).use(translationPlugin$1());for(let[key,value]of Object.entries(globals))app.config.globalProperties[key]=value,app.provide(key,value);app.mount(`#vue-app`);let controlsStore=controls_default();window.bngVue.controls={getControllers:()=>controlsStore.controllers,getPlayers:()=>controlsStore.players,getCategories:()=>controlsStore.categories,getCategoriesList:()=>controlsStore.categoriesList,findBindingForAction:controlsStore.findBindingForAction,getActionDetails:controlsStore.getActionDetails,getBindingDetails:controlsStore.getBindingDetails,getAllBindingsForAction:controlsStore.getAllBindingsForAction,addNewBinding:controlsStore.addNewBinding,updateBinding:controlsStore.updateBinding,deleteBinding:controlsStore.deleteBinding,deleteBindings:controlsStore.deleteBindings,deviceIcon:controlsStore.deviceIcon,isFFBBound:controlsStore.isFFBBound,isFFBEnabled:controlsStore.isFFBEnabled,isFFBCapable:controlsStore.isFFBCapable,isGamepadAvailable:controlsStore.isGamepadAvailable,captureBinding:controlsStore.captureBinding,makeViewerObj:controlsStore.makeViewerObj,isControllerAvailable:controlsStore.isControllerAvailable,isControllerUsed:controlsStore.isControllerUsed,showIfController:controlsStore.showIfController,focusIfController:controlsStore.focusIfController,refreshData:()=>bridge.lua.extensions.core_input_bindings.notifyUI(`Vue exposed controls service needs the data`)},window.bngVue.uiNavTracker=useUINavTracker(),window.bngVue.topBar=useTopBar()},startTest:()=>{app.mount(`#vue-app`)},isProd:!0,icons},window.beamng||window.bngVue.start({i18n:window.i18n});
        if core_camera then core_camera.requestConfig() end    -- cameraConfig
      `);async function init$3(){for(let key in active=!0,(window.beamng&&!window.beamng.shipping||editor)&&(watchers$1.push(watch(()=>settingsValues.value,updateSettingsList)),watchers$1.push(watch(()=>layout.value,async()=>{await settings$1.waitForData(),updateSettingsList()}))),events$3.on(`SettingsChanged`,()=>settingsTimestamp.value=Date.now()),watchers$1.push(watch(customValues,()=>settingsTimestamp.value=Date.now(),{deep:!0})),events$3.on(`externalUIURL`,data=>customValues.externalUIURL=data||``),events$3.on(`OpenXRStateChanged`,data=>customValues.openXRstate=data),events$3.on(`CameraConfigChanged`,data=>{customValues.cameraConfigList=Array.isArray(data.cameraConfig)?data.cameraConfig:[],customValues.cameraConfigFocused=data.focusedCamName}),updateCustom(),await settings$1.waitForData(),settings$1.values)initialValues[key]=settings$1.values[key];settingsTimestamp.value=Date.now(),setupSearch(layout,settingsValues,settingsOptions,settingsTimestamp,conditions)}let settingsValues=computed(()=>{if(!active||!settings$1.values)return{};let res={...settings$1.values};for(let key in valueFormatters)res[key]=valueFormatters[key](res[key],settings$1.values,customValues);for(let key in valueExtensions)res[key]=valueExtensions[key](settings$1.values,customValues);return res}),settingsOptions=computed(()=>{let res={};if(!active||!settings$1.options||!settings$1.values)return res;for(let key in settings$1.options)key in optionFormatters?res[key]=optionFormatters[key](settings$1.options[key],settings$1.options,settings$1.values):res[key]=guessOptionFormat(settings$1.options[key]);for(let key in optionExtensions)res[key]=optionExtensions[key](settings$1.options,settings$1.values);return res}),editor=null,layout=ref(layout_default);function updateSettingsList(){if(!active)return;settingsList.value=Object.keys(settingsValues.value).reduce((res,name)=>({...res,[name]:{assigned:!1,assignedIn:[],value:settingsValues.value[name],options:settingsOptions.value[name],elementId:name.split(`.`)}}),{});function dive(items$2,cat,catIndex,level$1=0,parentId=``){for(let i=0;i{let values=name in applyValueFormatters?applyValueFormatters[name](value):{[name]:value};for(let key in name.startsWith(`debug_`)&&(customValues.debug[name.substring(6)]=value,name===`debug_visualization`&&(customValues.debug.visualization_prev&&api$1.engineLua(customValues.debug.visualization_prev),customValues.debug.visualization_prev=value,api$1.engineLua(value))),values)key in settings$1.values||delete values[key];Object.keys(values).length>0&&(logger_default.debug(`Applying:`,JSON.stringify(values)),settings$1.apply(values),updateCustom())};function dispose$2(){active=!1,settingsList.value={};for(let unwatch of watchers$1)unwatch();watchers$1.splice(0),settingsTimestamp.value=0,disposeSearch(),null?.dispose()}return provide(`settingsValues`,settingsValues),provide(`settingsOptions`,settingsOptions),provide(`settingsTimestamp`,settingsTimestamp),provide(`settingsList`,settingsList),provide(`conditions`,conditions),provide(`buildItemId`,buildItemId),{init:init$3,dispose:dispose$2,versions:VERSIONS,version:VERSIONS[0],settings:settings$1,settingsList,settingsValues,settingsOptions,settingsTimestamp,applySetting,buildItemId,layout,conditions,editable:!1,editor:null,searchText,searchResults,searchTemplates:{message:(...args)=>searchTemplates.message(layout,...args),headers:(...args)=>searchTemplates.headers(layout,...args),group:(...args)=>searchTemplates.group(layout,...args)}}}var _hoisted_1$19={class:`options-wrapper`,"bng-ui-scope":`options`},_hoisted_2$13={class:`options-heading`},_hoisted_3$12={key:0,class:`options-container`},_hoisted_4$9={class:`background`},_hoisted_5$8={class:`options-content-wrapper`},_hoisted_6$5={class:`options-message`},_hoisted_7$5={class:`message-content`},_hoisted_8$3={key:1,class:`options-categories`},_hoisted_9$2={key:0,class:`categories-divider`},_hoisted_10$1={key:2,class:`options-container`},_hoisted_11$1={class:`options-subcategories`},_hoisted_12$1={class:`background`},_hoisted_13$1={key:0,class:`categories-divider`},_hoisted_14$1={key:1,class:`categories-spacer`},_hoisted_15$1={key:0,class:`categories-spacer`},_hoisted_16$1={key:1,class:`categories-divider`},_hoisted_17$1={class:`options-content-wrapper`},_hoisted_18$1={key:0,class:`options-add-item`},_hoisted_19$1={key:1,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_20$1={key:2,class:`options-content`,"bng-ui-scope":`options-content`},_hoisted_21$1={class:`background`},_hoisted_22$1=[`innerHTML`],_hoisted_23$1={key:0,class:`options-info-fps`},_sfc_main$23={__name:`OptionsView`,props:{category:String},setup(__props){useUINavScope(`options`);let router$1=useRouter(),route=useRoute(),{api:api$1}=useBridge(),options=useOptions(),loaded=ref(!1),itemsContainer=ref(null),activeScope=ref(``),props=__props;provide(`version`,options.version);let EditUI=ref(null),itemEdit=(...args)=>EditUI.value?.functions.itemEdit?.(...args),categoryEdit=(...args)=>EditUI.value?.functions.categoryEdit?.(...args),catItemsPaste=(...args)=>EditUI.value?.functions.catItemsPaste?.(...args);provide(`EditUI`,EditUI);let editable=ref(!1);provide(`editable`,editable);let categories=computed(()=>options.layout.value.items||[]),categoryIds=computed(()=>categories.value.map(cat=>cat.categoryId)),categoryIndex=ref(-1);provide(`categoryIndex`,categoryIndex);let allCategories=computed(()=>{let cats=[...categories.value].map(cat=>({...cat})),startIndex=0;for(let i=0;istartIndex&&(cats[ri].subcategoryMode=hadSpacer?`none`:ri===i?`last`:ri===startIndex+1?`first`:`middle`)}}else startIndex=i,cat.indexRange=[i,i]}let hidden=[];for(let cat of cats)if(!(!cat.condition_visible||cat.condition_visible in options.conditions&&options.conditions[cat.condition_visible](options.settingsValues.value)))if(cat.subcategory)hidden.push(cat.categoryIndex);else for(let i=cat.indexRange[0];i<=cat.indexRange[1];i++)hidden.push(i);return options.editable?cats.map(cat=>(cat.hiddenByCondition=hidden.includes(cat.categoryIndex),cat.debugSettings=cat.condition_visible===`__notForShipping`,cat)):hidden.length>0?cats.filter(cat=>!hidden.includes(cat.categoryIndex)):cats}),categoriesView=computed(()=>allCategories.value.filter(cat=>!cat.subcategory&&!cat.persistent&&!cat.spacer)),categoryRange=computed(()=>categoriesView.value.find(cat=>categoryIndex.value>=cat.indexRange[0]&&categoryIndex.value<=cat.indexRange[1])?.indexRange||[categoryIndex.value,categoryIndex.value]),subcategoriesView=computed(()=>{let res=categoryIndex.value===-1?[]:allCategories.value.filter(cat=>!cat.persistent&&cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1]);return res.length>0&&(res[0]={...res[0],label:`ui.options.general`}),res}),persistentView=computed(()=>allCategories.value.filter(cat=>cat.persistent)),itemsNew=ref([]),itemsNewShow=ref(!1),itemsNewView=computed(()=>itemsNewShow.value?itemsNew.value:[]);options.editor&&watch(options.layout,()=>itemsNew.value.splice(0));function renderNewOptions(doRender=!0){if(itemsNewShow.value=doRender,!doRender||itemsNew.value.length>0)return;function dive(parent){if(parent.version!==options.version)for(let i=parent.items.length-1;i>=0;i--){let item=parent.items[i];item.items&&(item.items.length>0&&dive(item),item.items.length>0)||item.version!==options.version&&parent.items.splice(i,1)}}let layout=JSON.parse(JSON.stringify(options.layout.value.items));for(let i=layout.length-1;i>=0;i--){let cat=layout[i];dive(cat),cat.items.length>0&&itemsNew.value.push(options.searchTemplates.group(cat.label,cat.icon,cat.items))}}provide(`renderNewOptions`,renderNewOptions);let itemsView=computed(()=>[...categoryIndex.value>-1&&categoryIndex.value{renderNewOptions(!1),categoryIndex.value>-1&&(special.value=null,searchActive.value=!1,options.searchText.value=``),itemsContainer.value&&itemsContainer.value.scrollTo({top:0,behavior:`instant`})}),watch(special,()=>{special.value&&(categoryIndex.value=-1,searchActive.value=!1,options.searchText.value=``)});let searchActive=ref(!1),searchFocused=ref(!1);watch(searchFocused,focused$1=>{focused$1?(searchActive.value=!0,categoryIndex.value=-1,special.value=null):options.searchText.value.length===0&&(searchActive.value=!1,categoryIndex.value=0)});let elCategories=ref(null),elSearch=ref(null),elSearchBinding=ref(null);watch(()=>elSearch.value?.scopeActivated,active=>{activeScope.value=active?``:`content`});function toSearchAndBack(){elSearch.value&&(elSearch.value.scopeActivated=!elSearch.value.scopeActivated)}function fromContent(){searchActive.value?elSearch.value.scopeActivated=!0:activeScope.value=`subcategories`}function mainCatNav(evt){!elCategories.value||!evt.detail||(options.searchText.value=``,elSearch.value.scopeActivated=!1,searchActive.value=!1,activeScope.value=`subcategories`,evt.detail.name===`tab_l`?elCategories.value.activatePrev():evt.detail.name===`tab_r`&&elCategories.value.activateNext(),evt.stopPropagation())}function catNavigate(cat){cat.reroute?window.bngVue.gotoAngularState(cat.reroute):categoryIndex.value!==cat.categoryIndex&&(categoryIndex.value=cat.categoryIndex)}provide(`goToSetting`,(catIndex,itemId)=>{categoryIndex.value=catIndex,nextTick(()=>{let elm=document.getElementById(itemId);elm?(elm.scrollIntoView({behavior:`smooth`,block:`center`}),elm.classList.add(`options-setting-highlight`),setTimeout(()=>elm?.classList.remove(`options-setting-highlight`),5e3)):logger_default.warn(`Setting item not found: ${itemId}`)})});function onChange(data,value){options.applySetting(data.setting,value);let lua;switch(data.itemType){case`checkbox`:value===!0||value===`enable`?lua=data.lua:(value===!1||value===`disable`)&&(lua=data.luaOff);break;default:lua=data.lua}lua&&runLua(lua,value)}function onClick(data){data.lua&&runLua(data.lua)}function runLua(code,value=void 0){code.toLowerCase().includes(`%value%`)&&value!==void 0&&(code=code.replace(/%value%/gi,api$1.serializeToLua(value))),code.toLowerCase().includes(`%values%`)&&(code=code.replace(/%values%/gi,api$1.serializeToLua(options.settings.values)));let isLua=!code.startsWith(`$`);logger_default.log(`Running ${isLua?`lua`:`script`}: ${code}`),isLua?api$1.engineLua(code):api$1.engineScript(code)}function updateRoute(){if(!loaded.value||route.path!==`/options`&&!route.path.startsWith(`/options/`))return;let newRoute={name:`options`};categoryIndex.value>-1&&categoryIndex.valuecategoryIndex.value,(index,oldIndex)=>{index>-1?(special.value=null,updateRoute(),options.editor?.clearSelection(),showCategoryInfo(index,categories.value[index]?.categoryInfo),showCategoryInfo(oldIndex)):showCategoryInfo(oldIndex)}),watch(()=>special.value,val=>{val&&(categoryIndex.value=-1,updateRoute())});function selectDefaultCategory(){if(categories.value.length===0)return!1;if(props.category){let catIndex=categoryIds.value.indexOf(props.category);catIndex>-1?categoryIndex.value=catIndex:special.value=props.category}else categoryIndex.value=0;return!0}let elInfo=ref(),infos=new Map,infoHidden=ref(!1),infoView=ref([]);function showInfo(id,text=void 0){if(infos.has(id))if(text){if(infos.get(id)===text)return}else infos.delete(id);else if(!text)return;text&&infos.set(id,text),infos.size===0?infoView.value=[]:infoView.value=Array.from(infos.entries()).sort((a$1,b)=>a$1[0]-b[0]).map(tip=>({id:tip[0],text:tip[1]}))}function onResize(){elInfo.value&&(infoHidden.value=window.getComputedStyle(elInfo.value).display===`none`)}let unwatchResize=watch(elInfo,()=>{elInfo.value&&(unwatchResize(),onResize())});provide(`showInfo`,showInfo),provide(`infoHidden`,infoHidden);let fps=ref(`?`),fpsShown=ref(!1),fpsTimer;function showFps(show=!0){if(fpsShown.value=show,fpsTimer)show||(clearInterval(fpsTimer),fps.value=`?`,fpsTimer=null);else if(show){let fpsUpdate=()=>{infoHidden.value||api$1.engineLua(`getConsoleVariable("fps::avg")`,val=>fps.value=val?Number(val).toFixed(1):`?`)};fpsTimer=setInterval(fpsUpdate,500),fpsUpdate()}}let catInfoFuncs={fps:showFps},catInfoStack=new Map;function showCategoryInfo(id,info=void 0){if(!id)return;catInfoStack.has(id)&&!info?catInfoStack.delete(id):info&&catInfoStack.set(id,info);let infos$1=Array.from(catInfoStack.values()).reduce((res,name)=>res.includes(name)?res:[...res,name],[]);for(let[name,func]of Object.entries(catInfoFuncs))func(infos$1.includes(name))}function disposeCategoryInfo(){for(let func of Object.values(catInfoFuncs))func(!1)}function back(){editable.value?editable.value=!1:window.bngVue.gotoAngularState(`menu.mainmenu`)}return onBeforeMount(async()=>{api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.pushPauseRequest('options') end`)}),onMounted(()=>{if(options.init().then(()=>{loaded.value=!0,nextTick(()=>activeScope.value=`subcategories`)}),!selectDefaultCategory()){let unwatchCats=watch(categories,()=>selectDefaultCategory()&&unwatchCats())}window.addEventListener(`resize`,onResize)}),onUnmounted(()=>{options.searchText.value=``,window.removeEventListener(`resize`,onResize),disposeCategoryInfo(),options.dispose(),api$1.engineLua(`if getCurrentLevelIdentifier() then simTimeAuthority.popPauseRequest('options') end`)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$19,[createBaseVNode(`div`,_hoisted_2$13,[createVNode(unref(bngScreenHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.options.options`)),1)]),_:1}),unref(options).editor&&EditUI.value?(openBlock(),createBlock(resolveDynamicComponent(EditUI.value.default),{key:0,options:unref(options),categories:categories.value,"category-index":categoryIndex.value,"onUpdate:categoryIndex":_cache[0]||=$event=>categoryIndex.value=$event,special:special.value,"onUpdate:special":_cache[1]||=$event=>special.value=$event,editable:editable.value,"onUpdate:editable":_cache[2]||=$event=>editable.value=$event},null,40,[`options`,`categories`,`category-index`,`special`,`editable`])):createCommentVNode(``,!0)]),loaded.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_3$12,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_4$9,null,512),[[unref(BngBlur_default)]]),createBaseVNode(`div`,_hoisted_5$8,[createBaseVNode(`div`,_hoisted_6$5,[createBaseVNode(`div`,_hoisted_7$5,toDisplayString(_ctx.$t(`ui.repository.loading`)),1)])])])),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_8$3,[createVNode(unref(bngOverflowContainer_default),{ref_key:`elCategories`,ref:elCategories,class:`categories-container`,"initial-index":0,"use-bindings-only":``},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(categoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_9$2)):(openBlock(),createBlock(CategoryTop_default,{key:1,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex>=categoryRange.value[0]&&cat.categoryIndex<=categoryRange.value[1],icon:cat.icon,onClick:$event=>catNavigate(cat,!1),"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`icon`,`onClick`,`hidden-by-condition`,`debug-settings`,`editable`]))],64))),128))]),_:1},512),createBaseVNode(`div`,{class:normalizeClass([`options-search-input`,{"search-active":searchActive.value}])},[createVNode(unref(bngBinding_default),{ref_key:`elSearchBinding`,ref:elSearchBinding,class:`search-binding`,"ui-event":`context`,controller:``},null,512),createVNode(unref(bngInputNew_default),{ref_key:`elSearch`,ref:elSearch,class:`search-input`,modelValue:unref(options).searchText.value,"onUpdate:modelValue":_cache[3]||=$event=>unref(options).searchText.value=$event,modelModifiers:{trim:!0},"leading-icon":elSearchBinding.value?.displayed?null:unref(icons).search,"floating-label":_ctx.$tt(`ui.common.search`),"show-external-button":searchActive.value,onFocus:_cache[4]||=$event=>searchFocused.value=!0,onBlur:_cache[5]||=$event=>searchFocused.value=!1},null,8,[`modelValue`,`leading-icon`,`floating-label`,`show-external-button`])],2)])):createCommentVNode(``,!0),loaded.value?(openBlock(),createElementBlock(`div`,_hoisted_10$1,[withDirectives((openBlock(),createElementBlock(`div`,_hoisted_11$1,[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_12$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(subcategoriesView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_13$1)):cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_14$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,index:cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat),onFocus:$event=>catNavigate(cat,!1)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`index`,`has-subcategories`,`selected`,`subcategory`,`icon`,`hidden-by-condition`,`debug-settings`,`onClick`,`onFocus`]))],64))),128)),subcategoriesView.value.length===0&&allCategories.value[categoryIndex.value]?.persistent?(openBlock(),createBlock(CategorySide_default,{key:0,icon:allCategories.value[categoryIndex.value].icon,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(allCategories.value[categoryIndex.value].label)),1)]),_:1},8,[`icon`])):createCommentVNode(``,!0),searchActive.value?(openBlock(),createBlock(CategorySide_default,{key:1,icon:`search`,selected:``},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(`ui.common.search`)),1)]),_:1})):special.value===`categories-edit`?(openBlock(),createBlock(CategorySide_default,{key:2,icon:`listIndented`,selected:``},{default:withCtx(()=>[..._cache[11]||=[createTextVNode(`Edit categories`,-1)]]),_:1})):createCommentVNode(``,!0),persistentView.value.length>0?(openBlock(),createElementBlock(Fragment,{key:3},[_cache[13]||=createBaseVNode(`div`,{class:`categories-spacer`},null,-1),editable.value&&special.value===`categories-edit`?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList(persistentView.value,cat=>(openBlock(),createBlock(CategorySide_default,{key:`cat-`+cat.categoryIndex,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:``,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))),128)),createVNode(CategorySide_default,{icon:`plus`,onClick:_cache[6]||=$event=>categoryEdit(`add`,!0),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[12]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(persistentView.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.spacer?(openBlock(),createElementBlock(`div`,_hoisted_15$1)):cat.divider?(openBlock(),createElementBlock(`div`,_hoisted_16$1)):(openBlock(),createBlock(CategorySide_default,{key:2,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,selected:cat.categoryIndex===categoryIndex.value,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,onClick:$event=>catNavigate(cat)},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`selected`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`onClick`]))],64))),128))],64)):createCommentVNode(``,!0)])),[[unref(BngScopedNav_default),{activated:!searchActive.value&&activeScope.value===`subcategories`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),()=>activeScope.value=`content`,`ok`,{focusRequired:!0}]]),withDirectives((openBlock(),createElementBlock(`div`,_hoisted_17$1,[createVNode(BlurBackground_default,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,8,[`class`]),withDirectives(createBaseVNode(`div`,{class:normalizeClass([`background`,{"background-no-info":infoHidden.value}])},null,2),[[unref(BngBlur_default)]]),categoryIndex.value>-1?withDirectives((openBlock(),createElementBlock(`div`,{key:0,ref_key:`itemsContainer`,ref:itemsContainer,class:`options-content`,"bng-ui-scope":`options-content`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(itemsView.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`item-`+categoryIndex.value*1e5+`-`+index,parent:categories.value[categoryIndex.value],index,level:0,data:item,onClick,onChange,onEditCmd:itemEdit},null,8,[`parent`,`index`,`data`]))),128)),editable.value?(openBlock(),createElementBlock(`div`,_hoisted_18$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).plus,onClick:_cache[7]||=$event=>unref(options).editor.itemAdd(categories.value[categoryIndex.value])},{default:withCtx(()=>[..._cache[14]||=[createTextVNode(`Add new item`,-1)]]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(icons).addListItem,disabled:!unref(options).editor.clipItems.value.length,onClick:_cache[8]||=$event=>catItemsPaste()},{default:withCtx(()=>[createTextVNode(`Paste `+toDisplayString(unref(options).editor.clipTitle.value),1)]),_:1},8,[`accent`,`icon`,`disabled`]),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).outlined,icon:unref(options).editor.selectedItems.value.size>0?unref(icons).checkboxOn:unref(icons).checkboxOff,onClick:_cache[9]||=$event=>unref(options).editor.itemSelectAll(categories.value[categoryIndex.value])},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(options).editor.selectedItems.value.size>0?`Deselect all`:`Select all`),1)]),_:1},8,[`accent`,`icon`])])):createCommentVNode(``,!0)])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):searchActive.value?withDirectives((openBlock(),createElementBlock(`div`,_hoisted_19$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(options).searchResults.value,(item,index)=>(openBlock(),createBlock(Item_default,{key:`search-`+index,index,level:0,data:item,onClick,onChange},null,8,[`index`,`data`]))),128))])),[[unref(BngUiNavScroll_default),void 0,void 0,{force:!0}]]):special.value===`categories-edit`?(openBlock(),createElementBlock(`div`,_hoisted_20$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(allCategories.value,cat=>(openBlock(),createElementBlock(Fragment,{key:`cat-`+cat.categoryIndex},[cat.persistent?createCommentVNode(``,!0):(openBlock(),createBlock(CategorySide_default,{key:0,id:`options-cat-`+cat.categoryIndex,"has-subcategories":cat.hasSubcategories,subcategory:cat.subcategoryMode,icon:cat.icon,index:cat.categoryIndex,"hidden-by-condition":cat.hiddenByCondition,"debug-settings":cat.debugSettings,editable:editable.value,onClick:$event=>categoryEdit(`edit`,cat.categoryIndex),onEditCmd:categoryEdit},{default:withCtx(()=>[createTextVNode(toDisplayString(cat.spacer||cat.divider?`---`:_ctx.$tt(cat.label)),1)]),_:2},1032,[`id`,`has-subcategories`,`subcategory`,`icon`,`index`,`hidden-by-condition`,`debug-settings`,`editable`,`onClick`]))],64))),128)),editable.value?(openBlock(),createBlock(CategorySide_default,{key:0,icon:`plus`,onClick:_cache[10]||=$event=>categoryEdit(`add`),style:normalizeStyle(editable.value?{}:{opacity:0,pointerEvents:`none`})},{default:withCtx(()=>[..._cache[15]||=[createTextVNode(`New category`,-1)]]),_:1},8,[`style`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`elInfo`,ref:elInfo,class:normalizeClass([`options-info`,{"info-hidden":!!special.value}])},[createVNode(BlurBackground_default),withDirectives(createBaseVNode(`div`,_hoisted_21$1,null,512),[[unref(BngBlur_default)]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(infoView.value,tip=>(openBlock(),createElementBlock(`span`,{key:tip.id,innerHTML:tip.text},null,8,_hoisted_22$1))),128)),_cache[17]||=createBaseVNode(`div`,{class:`options-spacer`},null,-1),fpsShown.value?(openBlock(),createElementBlock(`div`,_hoisted_23$1,[_cache[16]||=createTextVNode(`FPS: `,-1),createBaseVNode(`span`,null,toDisplayString(fps.value),1)])):createCommentVNode(``,!0)],2)])),[[unref(BngScopedNav_default),{activated:activeScope.value===`content`,bubbleWhitelistEvents:[`context`]}],[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),fromContent,`back`],[unref(BngOnUiNav_default),back,`menu`]])])):createCommentVNode(``,!0)])),[[unref(BngOnUiNav_default),mainCatNav,`tab_l,tab_r`],[unref(BngOnUiNav_default),back,`back,menu`],[unref(BngOnUiNav_default),toSearchAndBack,`context`],[unref(BngUiNavLabel_default),`ui.common.search`,`context`]])}},OptionsView_default=__plugin_vue_export_helper_default(_sfc_main$23,[[`__scopeId`,`data-v-206a0fb3`]]),routes_default$12=[{path:`/options/:category?`,name:`options`,component:OptionsView_default,props:!0,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],cfg={background:[`var(--bng-black-o8)`,`var(--bng-black-o4)`],info:{icon:`var(--bng-cool-gray-500)`,iconSize:.15,label:`var(--bng-off-white)`,labelSize:.05,line:`var(--bng-cool-gray-700)`,lineSize:.0025,hotkey:`#aaa`,hotkeySize:.04,unfocusedColor:`var(--bng-cool-gray-500)`,focusedColor:`var(--bng-off-white)`},button:{top:.45,height:.175,margin:.004,corners:.03,background:`var(--bng-black)`,highlight:`var(--bng-ter-blue-gray-700)`,border:`var(--bng-cool-gray-700)`,borderHighlight:`var(--bng-cool-gray-500)`,borderSize:.0025,folder:`var(--bng-ter-blue-gray-900)`,folderTop:.45,folderHeight:.015,markerTop:.3,markerHeight:.025,marker:`var(--bng-orange)`,icon:`var(--bng-off-white)`,iconSize:.1,majorBackground:[`var(--bng-black)`,`var(--bng-ter-blue-gray-850)`],majorHighlight:[`var(--bng-ter-blue-gray-600)`,`var(--bng-ter-blue-gray-700)`],pinnedDotInvisible:{fill:`transparent`,stroke:`transparent`,r:4},markDotSolid:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`transparent`,r:4},markDotOutline:{fill:`transparent`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,r:3},markStar:{fill:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,stroke:`rgba(var(--bng-cool-gray-100-rgb),0.7)`,"stroke-width":2,r:3,isStar:!0,starPoints:5,innerRadius:1.5,outerRadius:3}},pointer:{color:`var(--bng-orange)`,size:6}},size=500,pointerRadius=125,controlsHotkey=``,getHotkey=action=>{let viewerObj=controls_default().makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(`+`):``},RadialSVG=class{parent;svg;config;events;itemsCont;info;buttons;pointer;menuIcon=``;constructor(events$3={},config=cfg,element=void 0){this.events=events$3,this.config=config,element&&this.create(element)}create(element){this.parent!==element&&(this.parent=element,this.svg||([this.svg,this.itemsCont,this.info,this.pointer]=createSvg(this.config)),this.parent.appendChild(this.svg))}update(items$2=[]){!this.itemsCont||!this.info||(controlsHotkey=getHotkey(`menu_item_focus_ud`),this.buttons=updateSvg(this.itemsCont,this.info,items$2,this.events,this.config,this.buttons||[],this))}dispose(){this.parent&&(this.parent.removeChild(this.svg),this.parent=null,this.svg=null,this.itemsCont=null,this.info=null,this.buttons=null)}setPointer(x,y){if(!this.pointer)return;let magnitude=Math.sqrt(x*x+y*y);magnitude>.1?(x/=magnitude,y/=magnitude,this.pointer.setAttribute(`cx`,x*pointerRadius+size/2),this.pointer.setAttribute(`cy`,-y*pointerRadius+size/2),this.pointer.setAttribute(`display`,`block`)):this.pointer.setAttribute(`display`,`none`)}setMenuIcon(iconName){if(this.menuIcon=iconName,this.info){let iconGlyph=getIconGlyph(this.menuIcon);this.info.icon.textContent=iconGlyph}}},svgns=`http://www.w3.org/2000/svg`,xhtmlns=`http://www.w3.org/1999/xhtml`,pid=Math.PI*2,getIconGlyph=iconName=>(iconName&&iconName in icons?icons[iconName]:icons.beamNG).glyph,setAttrs=(elm,attrs)=>Object.entries(attrs).forEach(attr=>elm.setAttribute(...attr)),setStyles=(elm,styles)=>Object.entries(styles).forEach(rule=>elm.style.setProperty(...rule)),f2size=f=>f*size,getPoint=(turn,radius,center=[.5,.5])=>[center[0]+radius*Math.cos(turn*pid),center[1]+radius*Math.sin(turn*pid)].map(n=>f2size(n).toFixed(5)),drawLine=to=>` L ${to.join(`,`)} `,drawBezier=(control,to)=>` S ${control.join(`,`)} ${to.join(` `)} `,drawArc=(to,radius,invert=!1)=>` A ${radius} ${radius}, 0, 0, ${invert?`0`:`1`}, ${to.join(` `)} `;function createSimplePath(pos,rad,width$1,height$1){let d=`M ${getPoint(pos,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1,rad),f2size(rad),!1),d+=drawLine(getPoint(pos+width$1,rad-height$1)),d+=drawArc(getPoint(pos,rad-height$1),f2size(rad-height$1),!0),d+=drawLine(getPoint(pos,rad)),d+=`Z`,d}function createPath({pos,rad,width:width$1,height:height$1,corner,padout,padin}){corner>height$1&&(corner=height$1);let corh=corner*rad/Math.PI,corv=corner*rad,d=`M ${getPoint(pos+padout+corh,rad).join(`,`)} `;return d+=drawArc(getPoint(pos+width$1-padout-corh,rad),f2size(rad),!1),d+=drawBezier(getPoint(pos+width$1-padout,rad),getPoint(pos+width$1-padout,rad-corv)),d+=drawLine(getPoint(pos+width$1-padout-padin,rad-height$1+corv)),d+=drawBezier(getPoint(pos+width$1-padout-padin,rad-height$1),getPoint(pos+width$1-padout-corh-padin,rad-height$1)),d+=drawArc(getPoint(pos+padout+corh+padin,rad-height$1),f2size(rad-height$1),!0),d+=drawBezier(getPoint(pos+padout+padin,rad-height$1),getPoint(pos+padout+padin,rad-height$1+corv)),d+=drawLine(getPoint(pos+padout,rad-corv)),d+=drawBezier(getPoint(pos+padout,rad),getPoint(pos+padout+corh,rad)),d+=`Z`,d}function updateSvg(cont,info,items$2,events$3,config=cfg,buttons=[],radialInstance=null){let btns=[...buttons||[]],elmsRem=btns.splice(items$2.length);for(let elm of elmsRem)cont.removeChild(elm.element);if(items$2.length<1)return null;for(let index=btns.length;indexicon,file:icon=>`/ui/modules/apps/RadialMenu/mods_icons/`+icon,symbol:icon=>`#`+({radial_Drift_ESC:`radial_drift_ESC`,radial_Sport_ESC:`radial_sport_ESC`,radial_Regular_ESC:`radial_regular_ESC`,radial_ESC:`radial_regular_ESC`}[icon]||icon)};function createButton(index,info,config,item){let btn={index},majorGradId=uniqueSafeId(),majorHighlightGradId=uniqueSafeId(),control=document.createElementNS(svgns,`g`);btn.element=control;function createGradient(id,colors){let grad=document.createElementNS(svgns,`radialGradient`);return setAttrs(grad,{id,cx:`0.5`,cy:`0.5`,r:`0.5`,fx:`0.5`,fy:`0.5`}),colors.forEach((color,index$1)=>{let stop$1=document.createElementNS(svgns,`stop`);setAttrs(stop$1,{offset:index$1/(colors.length-1),"stop-color":color}),grad.appendChild(stop$1)}),grad}let defs=document.createElementNS(svgns,`defs`);defs.appendChild(createGradient(majorGradId,config.button.majorBackground)),defs.appendChild(createGradient(majorHighlightGradId,config.button.majorHighlight)),control.appendChild(defs);let button=document.createElementNS(svgns,`path`);config.button.border&&config.button.borderSize>0&&setAttrs(button,{stroke:config.button.border,"stroke-width":f2size(config.button.borderSize)}),control.appendChild(button);let folder=document.createElementNS(svgns,`path`);folder.setAttribute(`fill`,config.button.folder),control.appendChild(folder);let marker$1=document.createElementNS(svgns,`path`);marker$1.setAttribute(`fill`,`none`),control.appendChild(marker$1);let pinnedDot=document.createElementNS(svgns,`circle`);setAttrs(pinnedDot,config.button.markDotSolid),pinnedDot.setAttribute(`style`,`display: none`),control.appendChild(pinnedDot);let starPath=document.createElementNS(svgns,`path`),starConfig=config.button.markStar,points=starConfig.starPoints||5,innerRadius=starConfig.innerRadius||1.5,outerRadius=starConfig.outerRadius||3,starPathData=``;for(let i=0;ion?iconRect.removeAttribute(`style`):iconRect.setAttribute(`style`,`display: none`),setGlyph=glyph=>iconText.textContent=glyph||``,setImage=path=>{path?(iconImage.setAttribute(`href`,path),iconImage.removeAttribute(`style`)):(iconImage.removeAttribute(`href`),iconImage.setAttribute(`style`,`display: none`))},setSymbol=id=>{id?(iconMask.setAttribute(`mask-type`,`luminocity`),iconSymbol.setAttribute(`href`,id),iconSymbol.removeAttribute(`style`)):(iconMask.setAttribute(`mask-type`,`alpha`),iconSymbol.removeAttribute(`href`),iconSymbol.setAttribute(`style`,`display: none`))},itype=iconType(item$1.icon);switch(itype){case`glyph`:setGlyph(getIconGlyph(item$1.icon)),setRect(!1),setImage(),setSymbol();break;case`symbol`:setImage(),setSymbol(iconGet[itype](item$1.icon)),setRect(!0),setGlyph();break;default:setImage(iconGet[itype](item$1.icon)),setSymbol(),setRect(!0),setGlyph();break}}let hitzone=document.createElementNS(svgns,`path`);setAttrs(hitzone,{fill:`transparent`,style:`pointer-events: fill`}),control.appendChild(hitzone);function updateHitzone(position,length,config$1){hitzone.setAttribute(`d`,createSimplePath(position-length/2,config$1.button.top,length,config$1.button.height))}function updateEvents$1(events$3,radialInstance){btn._handlers&&(hitzone.removeEventListener(`mouseover`,btn._handlers.focus),hitzone.removeEventListener(`mouseleave`,btn._handlers.blur),hitzone.removeEventListener(`click`,btn._handlers.click),hitzone.removeEventListener(`mousedown`,btn._handlers.down),hitzone.removeEventListener(`mouseup`,btn._handlers.up),hitzone.removeEventListener(`contextmenu`,btn._handlers.contextMenu));let item$1=btn.item,index$1=btn.index;return btn.menuIcon=radialInstance?.menuIcon||``,btn._handlers={focus(){if(item$1.focused&&btn._focused)return;let highlightFill=item$1.majorButton?`url(#${majorHighlightGradId})`:config.button.highlight;button.setAttribute(`fill`,highlightFill),button.setAttribute(`stroke`,config.button.borderHighlight),marker$1.setAttribute(`fill`,config.button.marker);let itype=iconType(item$1.icon);itype===`glyph`?(setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.focusedColor}),info.icon.textContent=getIconGlyph(item$1.icon)):(info.icon.textContent=``,itype===`symbol`&&info.iconSymbol.setAttribute(`href`,iconGet[itype](item$1.icon)),setStyles(info.icon,{"background-color":config.info.icon,"-webkit-mask-image":itype===`symbol`?`url('#${info.iconMaskId}')`:`url('${iconGet[itype](item$1.icon)}')`})),info.label.textContent=typeof item$1.title==`string`?$translate.contextTranslate({txt:item$1.title,context:item$1.context}):$translate.contextTranslate(item$1.title),info.label.style.color=config.info.focusedColor,info.price.textContent=item$1?.price?.money?.amount===void 0?``:item$1.price.money.amount+` `,info.hotkey.textContent=item$1.hotkey||``,info.cont.removeAttribute(`style`),item$1.focused=!0,btn._focused=!0,typeof events$3.focus==`function`&&events$3.focus(item$1,index$1)},blur(){if(!item$1.focused&&!btn._focused)return;let normalFill=item$1.majorButton?`url(#${majorGradId})`:config.button.background;button.setAttribute(`fill`,normalFill),button.setAttribute(`stroke`,config.button.border),marker$1.setAttribute(`fill`,`none`),setStyles(info.icon,{"background-color":`transparent`,"-webkit-mask-image":`none`,color:config.info.unfocusedColor});let iconGlyph=getIconGlyph(btn.menuIcon);info.icon.textContent=iconGlyph,info.label.textContent=`Select an option`,info.price.textContent=``,info.hotkey.textContent=controlsHotkey,info.label.style.color=config.info.unfocusedColor,item$1.focused=!1,btn._focused=!1,typeof events$3.blur==`function`&&events$3.blur(item$1,index$1)},click(evt){evt&&evt.stopPropagation(),!(!item$1.enabled||!events$3||evt&&!evt.fromController&&evt.type!==`ui_nav`)&&(btn._handlers.isDown=!1,typeof events$3.click==`function`&&events$3.click(item$1,index$1))},down(evt){!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!0,typeof events$3.down==`function`&&events$3.down(item$1,index$1))},up(evt){!btn._handlers.isDown||!item$1.enabled||!events$3||evt.button!==0||(btn._handlers.isDown=!1,typeof events$3.up==`function`&&events$3.up(item$1,index$1))},contextMenu(evt){evt&&evt.stopPropagation(),events$3&&typeof events$3.contextAction==`function`&&events$3.contextAction(item$1,index$1)}},hitzone.addEventListener(`mouseover`,btn._handlers.focus),hitzone.addEventListener(`mouseleave`,btn._handlers.blur),hitzone.addEventListener(`click`,btn._handlers.click,!0),hitzone.addEventListener(`mousedown`,btn._handlers.down),hitzone.addEventListener(`mouseup`,btn._handlers.up),hitzone.addEventListener(`contextmenu`,btn._handlers.contextMenu),btn._handlers}function updateEnable(item$1){item$1.enabled?(hitzone.setAttribute(`cursor`,`pointer`),control.removeAttribute(`opacity`)):(hitzone.removeAttribute(`cursor`),control.setAttribute(`opacity`,`0.5`))}return btn.update=(item$1,events$3=void 0,radialInstance=null)=>{btn.item=item$1;let length=Math.min(item$1.size,.5),position=(item$1.position-.5)%1;updateButton(position,length,config,item$1),updateHitzone(position,length,config),updateIcon(position,length,config,item$1),updateEnable(item$1),btn._handlers=updateEvents$1(events$3,radialInstance),Object.assign(btn,btn._handlers),(item$1.focused||btn._focused)&&btn._handlers.focus()},btn}function createSvg(config=cfg){let svg=document.createElementNS(svgns,`svg`);setAttrs(svg,{viewBox:`0 0 ${size} ${size}`,width:`100%`,height:`100%`,preserveAspectRatio:`xMidYMid meet`,style:`pointer-events: none`});let gradId=Array.isArray(config.background)?uniqueSafeId():null;if(gradId){let grad=document.createElementNS(svgns,`radialGradient`);grad.setAttribute(`id`,gradId);for(let i=0;i{evt.stopPropagation()},!0),svg.appendChild(bg);let nfo={cont:document.createElementNS(svgns,`foreignObject`),body:document.createElementNS(xhtmlns,`body`),wrap:document.createElementNS(xhtmlns,`div`),icon:document.createElementNS(xhtmlns,`div`),iconSymbol:document.createElementNS(svgns,`use`),iconMaskId:uniqueSafeId(),label:document.createElementNS(xhtmlns,`div`),price:document.createElementNS(xhtmlns,`div`),hotkey:document.createElementNS(xhtmlns,`div`)},foMinSize=200,nfoSize=size>=200?size:200;setAttrs(nfo.cont,{style:`display: none`,width:nfoSize,height:nfoSize}),size<200&&nfo.cont.setAttribute(`transform`,`scale(${size*.005})`),nfo.body.setAttribute(`xmlns`,xhtmlns),setStyles(nfo.body,{width:`100%`,height:`100%`}),setStyles(nfo.wrap,{width:`${nfoSize*.5}px`,height:`${nfoSize*.4}px`,margin:`${nfoSize*.3}px ${nfoSize*.25}px`,display:`flex`,"flex-direction":`column`,"align-items":`center`,"justify-content":`space-between`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.icon,{color:config.info.icon,"font-size":`${config.info.iconSize*nfoSize}px`,"font-family":`bngIcons`,width:`${config.info.iconSize*nfoSize}px`,height:`${config.info.iconSize*nfoSize}px`,"-webkit-mask-image":`none`,"-webkit-mask-size":`contain`,"-webkit-mask-position":`50% 50%`,"-webkit-mask-repeat":`no-repeat`,"background-color":`transparent`});let iconSvg=document.createElementNS(svgns,`svg`);setAttrs(iconSvg,{viewBox:`0 0 ${config.info.iconSize*nfoSize} ${config.info.iconSize*nfoSize}`,width:`0`,height:`0`,style:`position: absolute;`});let iconMask=document.createElementNS(svgns,`mask`);setAttrs(iconMask,{id:nfo.iconMaskId,maskUnits:`userSpaceOnUse`,maskContentUnits:`userSpaceOnUse`,"mask-type":`luminocity`}),setAttrs(nfo.iconSymbol,{x:`0`,y:`0`,width:config.info.iconSize*nfoSize,height:config.info.iconSize*nfoSize,fill:`#fff`}),iconMask.appendChild(nfo.iconSymbol),iconSvg.appendChild(iconMask),setStyles(nfo.label,{"min-height":`2em`,width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*nfoSize}px`,"font-family":`var(--fnt-defs)`}),setStyles(nfo.price,{width:`100%`,"text-align":`center`,color:config.info.label,"font-size":`${config.info.labelSize*.8*nfoSize}px`,"font-family":`bngIcons, var(--fnt-defs)`}),setStyles(nfo.hotkey,{width:`80%`,"text-align":`center`,"padding-top":`1px`,"min-height":`${config.info.hotkeySize*nfoSize+10}px`,"border-top":`${config.info.lineSize*nfoSize}px solid ${config.info.line}`,color:config.info.hotkey,"font-size":`${config.info.hotkeySize*nfoSize}px`,"font-family":`bngIcons, "Noto Sans Mono", var(--fnt-defs)`}),nfo.wrap.appendChild(iconSvg),nfo.wrap.appendChild(nfo.icon),nfo.wrap.appendChild(nfo.label),nfo.wrap.appendChild(nfo.price),nfo.wrap.appendChild(nfo.hotkey),nfo.body.appendChild(nfo.wrap),nfo.cont.appendChild(nfo.body),svg.appendChild(nfo.cont);let cont=document.createElementNS(svgns,`g`);svg.appendChild(cont);let pointer=document.createElementNS(svgns,`circle`);return setAttrs(pointer,{r:config.pointer.size,fill:config.pointer.color,display:`none`}),svg.appendChild(pointer),nfo.icon.textContent=getIconGlyph(svg.menuIcon),nfo.label.textContent=`Select an option`,nfo.price.textContent=``,nfo.label.style.color=config.info.unfocusedColor,controlsHotkey=getHotkey(`menu_item_focus_ud`),nfo.hotkey.textContent=controlsHotkey,nfo.cont.removeAttribute(`style`),[svg,cont,nfo,pointer]}var _hoisted_1$18={class:`radial-infos`},_hoisted_2$12={class:`radial-breadcrumbs`},_hoisted_3$11={key:0,class:`radial-categories`},_hoisted_4$8={class:`radial-plate`},_hoisted_5$7={class:`radial-category-label`},_hoisted_6$4={key:0,class:`radial-quick-tabs`},_hoisted_7$4={key:1,class:`radial-description`},sensivity=.5,_sfc_main$22={__name:`Radial`,setup(__props){useUINavScope(`radialMenu`);let infobar=useInfoBar(),controls$1=controls_default(),events$3=useEvents(),radialData=ref({}),temporaryHidden=ref(!1),breadcrumbs=computed(()=>radialData.value&&radialData.value.breadcrumbs&&Array.isArray(radialData.value.breadcrumbs)?radialData.value.breadcrumbs.map(str=>$translate.instant(str)).join(` / `):``),focusedItem=computed(()=>{let items$2=radialData?.value?.items;return items$2&&Array.isArray(items$2)?items$2.find(item=>item.focused):null}),hasLRShoulderButtons=computed(()=>radialData.value&&radialData.value.hasLRShoulderButtons),radialSvg=new RadialSVG({click:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},down:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`click`),Lua_default.core_quickAccess.selectItem(index+1,!0,1)},focus:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`)},contextAction:(item,index)=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.contextAction(index+1,!0,1)}}),radialCont=ref(),requestData=async()=>{radialData.value=await Lua_default.core_quickAccess.getUiData();let items$2=Array.isArray(radialData.value.items)?radialData.value.items:[];for(let item of items$2)item.hotkey=getHotkey$1(item.action);radialSvg.setMenuIcon(radialData.value.menuIcon||`beamNG`),radialSvg.update(items$2)},getHotkey$1=action=>{let viewerObj=controls$1.makeViewerObj({action});return viewerObj?icons[viewerObj.icon].glyph+` `+viewerObj.control.split(/[ -]/).map(s=>s.substring(0,1).toUpperCase()+s.substring(1)).join(``):``},setLevel=level$1=>{Lua_default.ui_audio.playEventSound(`bng_click_hover_generic`,`focus`),Lua_default.core_quickAccess.setEnabled(!0,level$1,!1)},close=()=>{Lua_default.core_quickAccess.setEnabled(!1,``,!1)},back=()=>{radialData.value.backButtonIndex?Lua_default.core_quickAccess.back():close()},switchCategory=left=>{let indexOffset=left?-1:1;for(let i=0;i{let actions=radialData.value.items;for(let i=0;i{if(radialData.value.categories.length>0){switchCategory(evt.detail.name===`tab_l`);return}LRAction(evt.detail.name)},processMouseClick=evt=>{if(!radialSvg.buttons)return;let elm=radialSvg?.buttons?.find(elm$1=>elm$1._focused)||radialSvg?.buttons?.find(elm$1=>elm$1.item.focused);return evt.detail.name===`context`?elm&&elm.contextMenu(evt):elm&&elm.click(evt),elm},isStickActive=(x,y)=>Math.sqrt(x**2+y**2)>sensivity,pointToItem=(x,y)=>{if(!radialSvg.buttons)return;let len=radialSvg.buttons.length,idx=-1;if(radialSvg.setPointer(x,y),x!==0||y!==0){let cursorPos=.5-Math.atan2(y,x)/Math.PI/2;for(let i=0;i=startPos&&cursorPos=startPos||cursorPos-1&&idx{evt.detail.name===`focus_ud`?stickY=evt.detail.value:stickX=evt.detail.value;let stickActiveBefore=stickActive;stickActive=isStickActive(stickX,stickY),stickActive&&pointToItem(stickX,stickY),!stickActive&&stickActiveBefore&&pointToItem(0,0)},dpadX=0,dpadY=0,processDpadInput=evt=>{switch(evt.detail.name){case`focus_l`:dpadX=-evt.detail.value;break;case`focus_r`:dpadX=evt.detail.value;break;case`focus_u`:dpadY=evt.detail.value;break;case`focus_d`:dpadY=-evt.detail.value;break}dpadX=0+ +dpadX,dpadY=0+ +dpadY,pointToItem(dpadX,dpadY)},openFavoriteSelector=()=>{if(radialData.value.pathBeforeCategory===`favorites`){for(let i=0;i{let isOnComponents=event.target.closest(`.radial-categories, .radial-svg, .radial-tab-left, .radial-tab-right`);event.isTrusted&&event.sourceCapabilities?.firesTouchEvents===!1&&!isOnComponents&&(event.button===0?close():event.button===2&&back())};events$3.on(`radialMenuUpdated`,requestData),events$3.on(`RadialTemporaryHide`,hide$2=>{temporaryHidden.value=hide$2}),onBeforeMount(()=>{infobar.clearHints()}),onMounted(()=>{infobar.visible=!0,radialSvg.create(radialCont.value),requestData()});let headingTitle=computed(()=>radialData.value?.breadcrumbs?.[0]?$translate.instant(radialData.value.breadcrumbs[0]):radialData.value?.items?.length?`Radial Menu`:`No Actions Available`),hasCategories=computed(()=>radialData.value?.categories&&(Array.isArray(radialData.value.categories)?radialData.value.categories.length>0:Object.keys(radialData.value.categories).length>0));return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`radial-menu`,{temporaryHidden:temporaryHidden.value}]),"bng-ui-scope":`radialMenu`,onMousedown:handleMouseDown},[createBaseVNode(`div`,_hoisted_1$18,[createVNode(bngCardHeading_default,{class:`radial-title`},{default:withCtx(()=>[createTextVNode(toDisplayString(headingTitle.value),1)]),_:1}),createBaseVNode(`div`,_hoisted_2$12,toDisplayString(breadcrumbs.value),1),hasCategories.value?(openBlock(),createElementBlock(`div`,_hoisted_3$11,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,"ui-event":`tab_l`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),controller:``,onClick:_cache[0]||=$event=>switchCategory(!0)},null,8,[`style`]),createBaseVNode(`div`,_hoisted_4$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(radialData.value.categories,category=>withDirectives((openBlock(),createBlock(unref(bngImageTile_default),{key:category.id,onClick:$event=>setLevel(category.goto),tabindex:`0`,"bng-nav-item":``,class:normalizeClass([`radial-category`,{selected:category.id===radialData.value.selectedCategory}]),icon:unref(icons)[category.icon||`beamNG`]},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_5$7,toDisplayString(unref($translate).instant(category.title)),1)]),_:2},1032,[`onClick`,`class`,`icon`])),[[unref(BngOnUiNav_default),void 0,`ok`,{asMouse:!0,focusRequired:!0}]])),128)),_cache[4]||=createBaseVNode(`div`,{class:`background-plate`},null,-1)]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,"ui-event":`tab_r`,controller:``,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),onClick:_cache[1]||=$event=>switchCategory(!1)},null,8,[`style`])])):createCommentVNode(``,!0)]),hasLRShoulderButtons.value?(openBlock(),createElementBlock(`div`,_hoisted_6$4,[createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-left`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallLeft.glyph}'`}),"ui-event":`tab_l`,controller:``,onClick:_cache[2]||=$event=>LRAction(`tab_l`)},null,8,[`style`]),createVNode(unref(bngBinding_default),{class:`radial-plate radial-tab-right`,style:normalizeStyle({"--rad-tab-icon":`'${unref(icons).arrowSmallRight.glyph}'`}),"ui-event":`tab_r`,controller:``,onClick:_cache[3]||=$event=>LRAction(`tab_r`)},null,8,[`style`])])):createCommentVNode(``,!0),createBaseVNode(`div`,{ref_key:`radialCont`,ref:radialCont,class:`radial-svg`},null,512),focusedItem.value?.desc?(openBlock(),createElementBlock(`div`,_hoisted_7$4,toDisplayString(unref(content_exports).bbcode.parse(unref($translate).contextTranslate(focusedItem.value.desc,!0))),1)):createCommentVNode(``,!0)],34)),[[unref(BngBlur_default),!temporaryHidden.value],[unref(BngOnUiNav_default),openFavoriteSelector,`context`],[unref(BngOnUiNav_default),back,`menu,back`],[unref(BngOnUiNav_default),processTabInput,`tab_l,tab_r`],[unref(BngOnUiNav_default),processStickInput,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{down:!0}],[unref(BngOnUiNav_default),processDpadInput,`focus_l,focus_r,focus_u,focus_d`,{up:!0}],[unref(BngOnUiNav_default),processMouseClick,`ok,context`],[unref(BngUiNavLabel_default),radialData.value.backButtonIndex?`ui.common.back`:`ui.common.close`,`menu,back`],[unref(BngUiNavLabel_default),`Radial menu navigation`,`focus_lr,focus_ud,focus_l,focus_r,focus_u,focus_d`],[unref(BngUiNavLabel_default),`Select`,`ok`],[unref(BngUiNavLabel_default),`Configure Slot`,`context`],[unref(BngUiNavLabel_default),`Switch Category`,`tab_l,tab_r`]])}},Radial_default=__plugin_vue_export_helper_default(_sfc_main$22,[[`__scopeId`,`data-v-9330a4cb`]]),routes_default$13=[{path:`/radial`,name:`radial`,component:Radial_default,meta:{uiApps:{shown:!1}}}],routes_default$14=[{path:`/recovery`,name:`recovery`,component:Recovery_default,props:!0}],isFuelEnergyType=type=>[`gasoline`,`diesel`].includes(type);const useRefuelStore=defineStore(`refuel`,()=>{let{events:events$3}=useBridge(),minSlider=23,maxSlider=80,minEnergy=0,fuelOptions=[{id:1,value:0,name:`FuelType-1`},{id:2,value:1,name:`FuelType-2`},{id:3,value:2,name:`FuelType-3`}],energyTypes=ref([]),fuelTanks=ref([]),overallPrice=ref(0),flowRate=ref(0),currentEnergyType=ref(null),showFuelTypeSettings=ref(!1),showAmountSettings=ref(!1),energyTypesToLocalUnits=ref({}),gasStationName=ref(``),fuelDiscountData=ref({}),isFuelling=computed(()=>flowRate.value>0),currentFuelData=computed(()=>fuelTanks.value.filter(f=>f.energyType===currentEnergyType.value)[0]),currentFuelType=computed(()=>currentEnergyType.value===``?``:isFuelEnergyType(currentEnergyType.value)?`fuel`:`charge`),currentFuelLevel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergy/currentFuelData.value.maxEnergy:0),canRefuel=computed(()=>currentFuelData.value?currentFuelData.value.currentEnergycanRefuel.value===!0?isFuelling.value===!0?`on`:`off`:`disabled`),canPay=computed(()=>currentFuelData.value.price>0),canStartFuelling=computed(()=>isFuelling.value===!1&&canRefuel.value===!0),canStopFuelling=computed(()=>isFuelling.value===!0),minEnergyLabel=computed(()=>`0 `+getUnitLabel(currentEnergyType.value)),maxEnergyLabel=computed(()=>currentFuelData.value?(isFuelEnergyType(currentEnergyType.value)?convertToLocalUnit(currentFuelData.value.maxEnergy,currentEnergyType.value).toFixed(2):`100`)+` `+getUnitLabel(currentEnergyType.value):``);function getUnitLabel(energyType){return isFuelEnergyType(energyType)?getLocalUnitLabel(energyType):`%`}function getLocalUnit(energyType){return energyTypesToLocalUnits.value[energyType]?energyTypesToLocalUnits.value[energyType]:`L`}let unitToLabel={gallonUS:`gal`},factorSIToLocalUnit={gallonUS:.26417};function getLocalUnitLabel(energyType){let localUnit=getLocalUnit(energyType);return localUnit&&unitToLabel[localUnit]?unitToLabel[localUnit]:`L`}function convertToLocalUnit(valueSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?valueSI*(factorSIToLocalUnit[localUnit]||1):valueSI}function convertToPricePerLocalUnit(pricePerSI,energyType){let localUnit=getLocalUnit(energyType);return localUnit?pricePerSI/(factorSIToLocalUnit[localUnit]||1):pricePerSI}function startFuelling(){Lua_default.career_modules_fuel.uiButtonStartFueling(currentEnergyType.value)}function stopFuelling(){Lua_default.career_modules_fuel.uiButtonStopFueling(currentEnergyType.value)}function changeFlowRate(newFlowRate){flowRate.value=newFlowRate,Lua_default.career_modules_fuel.onChangeFlowRate(flowRate.value)}function payPrice(){Lua_default.career_modules_fuel.payPrice()}function requestFuelingData(){Lua_default.career_modules_fuel.requestRefuelingTransactionData(),runInBrowser(()=>getMockedData(`career.initialFuelingData`).then(data=>events$3.emit(`initialFuelingData`,data)))}function cancelTransaction(){console.log(`cancelTransaction`),Lua_default.career_modules_fuel.uiCancelTransaction()}function dispose$2(){events$3.off(`initialFuelingData`),events$3.off(`updateFuelData`)}return events$3.on(`initialFuelingData`,data=>{({fuelData:fuelTanks.value,energyTypes:energyTypes.value}=data),currentEnergyType.value=energyTypes.value[0],energyTypesToLocalUnits.value=data.energyTypesToLocalUnits,factorSIToLocalUnit.value=data.factorSIToLocalUnit,gasStationName.value=data.gasStationName,fuelDiscountData.value=data.fuelDiscountData||{},Lua_default.career_modules_fuel.sendUpdateDataToUI()}),events$3.on(`updateFuelData`,data=>{fuelTanks.value.length!==0&&(fuelTanks.value[0].currentEnergy=data.fuelData[0].currentEnergy,fuelTanks.value[0].fueledEnergy=data.fuelData[0].fueledEnergy,fuelTanks.value[0].price=data.fuelData[0].price,overallPrice.value=data.overallPrice,flowRate.value=data.fuelData[0].fuelingActive===!0?1:0)}),{currentFuelData,currentFuelLevel,currentFuelType,currentEnergyType,nozzleMode,overallPrice,isFuelling,energyTypes,canPay,canStartFuelling,canStopFuelling,fuelDiscountData,showFuelTypeSettings,showAmountSettings,gasStationName,startFuelling,stopFuelling,changeFlowRate,payPrice,requestFuelingData,cancelTransaction,getUnitLabel,convertToPricePerLocalUnit,dispose:dispose$2,minEnergyLabel,maxEnergyLabel,minSlider:23,maxSlider:80,fuelOptions}});var _hoisted_1$17={class:`full`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0`,y:`0`,viewBox:`6 0 280 280`,width:`280`,height:`280`},_hoisted_2$11={id:`glow`,x:`-40%`,y:`-40%`,width:`180%`,height:`180%`},_hoisted_3$10=[`flood-color`],_hoisted_4$7={class:`gauge-label`},_hoisted_5$6={class:`info`},DASH_ARR_LENGTH=455,GAUGE_TYPES=[`refuel`,`recharge`],GAUGE_DEFAULTS={refuel:{cssColour:`var(--bng-orange-b400)`,gradientColour:`255,102,0`,icon:icons.fuelPumpFilling},recharge:{cssColour:`var(--bng-add-blue-600)`,gradientColour:`95,157,249`,icon:icons.charging}},_sfc_main$21={__name:`FuelGauge`,props:{value:{type:Number,default:0},type:{type:String,default:`refuel`,validator:v=>GAUGE_TYPES.includes(v)||v===``},fuelling:{type:Boolean,default:!1},label:String,maxLabel:String,minLabel:String},setup(__props){window.bngVue.isProd;let props=__props,gaugeLevelStyle=computed(()=>({stroke:GAUGE_DEFAULTS[props.type].cssColour,fill:`none`,strokeDasharray:DASH_ARR_LENGTH,strokeDashoffset:DASH_ARR_LENGTH-props.value*DASH_ARR_LENGTH})),gaugeStyle=computed(()=>({background:`radial-gradient(22% 22% at 50% 53%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.76) 0%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0.18) 64.06%, rgba(${GAUGE_DEFAULTS[props.type].gradientColour}, 0) 100%)`}));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass({"gauge-wrapper":!0,[__props.type]:!0})},[createBaseVNode(`div`,{class:normalizeClass({"pulse-container":!0,pulsing:__props.fuelling})},[createBaseVNode(`div`,{class:`pulser`,style:normalizeStyle(gaugeStyle.value)},null,4)],2),(openBlock(),createElementBlock(`svg`,_hoisted_1$17,[createBaseVNode(`defs`,null,[createBaseVNode(`filter`,_hoisted_2$11,[createBaseVNode(`feFlood`,{"flood-color":GAUGE_DEFAULTS[__props.type].cssColour,result:`flood1`},null,8,_hoisted_3$10),_cache[0]||=createStaticVNode(``,4)])]),_cache[1]||=createBaseVNode(`path`,{class:`gauge-back`,d:`M50,210 A110,110 0 1,1 244,210`,style:{fill:`none`}},null,-1),createBaseVNode(`path`,{class:`gauge-level blur`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4),createBaseVNode(`path`,{class:`gauge-level`,d:`M50,210 A110,110 0 1,1 244,210`,style:normalizeStyle(gaugeLevelStyle.value)},null,4)])),createVNode(unref(bngIcon_default),{class:`icon refill-icon`,type:GAUGE_DEFAULTS[__props.type].icon,color:`#fff`},null,8,[`type`]),createBaseVNode(`div`,_hoisted_4$7,[createBaseVNode(`span`,null,toDisplayString(__props.minLabel),1),createBaseVNode(`span`,_hoisted_5$6,toDisplayString(__props.label||`\xA0`),1),createBaseVNode(`span`,null,toDisplayString(__props.maxLabel),1)])],2))}},FuelGauge_default=__plugin_vue_export_helper_default(_sfc_main$21,[[`__scopeId`,`data-v-04de51fb`]]),_hoisted_1$16={class:`fuel-type`},_sfc_main$20={__name:`FuelTypeSettings`,props:{fuelOptions:{type:Array,required:!0}},emits:[`previousClick`,`nextClick`,`fuelTypeSelect`],setup(__props,{emit:__emit}){let emit$1=__emit;return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$16,[createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`previous-btn`,icon:unref(icons).arrowLargeLeft,onClick:_cache[0]||=$event=>emit$1(`previousClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_l`,deviceMask:`xinput`})]),_:1},8,[`accent`,`icon`]),createVNode(unref(bngPillFilters_default),{options:__props.fuelOptions},null,8,[`options`]),createVNode(unref(bngButton_default),{class:`arrow empty`,accent:unref(ACCENTS).text,"data-testid":`next-btn`,iconRight:unref(icons).arrowLargeRight,onClick:_cache[1]||=$event=>emit$1(`nextClick`)},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`tab_r`,deviceMask:`xinput`})]),_:1},8,[`accent`,`iconRight`])]))}},FuelTypeSettings_default=__plugin_vue_export_helper_default(_sfc_main$20,[[`__scopeId`,`data-v-bf968fb2`]]),nozzleModes={on:{color:`var(--bng-orange-b400)`,buttonEnabled:!0},off:{color:`var(--bng-black-o6)`,buttonEnabled:!0},disabled:{color:`var(--bng-black-o2)`,buttonEnabled:!1}},fuellingModes$1={fuel:{nozzleIconType:icons$1.general.fuel_nozzle},charge:{nozzleIconType:icons$1.general.recharge_connector}},_sfc_main$19={__name:`FuelNozzle`,props:{refuelType:{type:String,required:!0},nozzleMode:{type:String,default:`off`}},emits:[`triggerDown`,`triggerUp`],setup(__props,{emit:__emit}){let{showIfController}=storeToRefs(controls_default()),props=__props,emit$1=__emit,nozzleImageURL=computed(()=>`icons/${typeSettings.value.nozzleIconType}.svg`),typeSettings=computed(()=>fuellingModes$1[props.refuelType]),modeSettings=computed(()=>nozzleModes[props.nozzleMode]),nozzleClass=computed(()=>({nozzle:!0,[props.refuelType]:!0}));return(_ctx,_cache)=>(openBlock(),createBlock(unref(bngImageAsset_default),{mask:``,class:normalizeClass(nozzleClass.value),src:nozzleImageURL.value,"bg-color":modeSettings.value.color},{default:withCtx(()=>[createVNode(unref(bngButton_default),{"bng-no-nav":`true`,class:normalizeClass({empty:!0,gamepad:unref(showIfController)}),disabled:!modeSettings.value.buttonEnabled,onMousedown:_cache[0]||=$event=>emit$1(`triggerDown`),onMouseup:_cache[1]||=$event=>emit$1(`triggerUp`),accent:unref(ACCENTS).text},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{action:`fuelVehicle`,deviceMask:`xinput`,disabled:!modeSettings.value.buttonEnabled,accent:unref(ACCENTS).text},null,8,[`disabled`,`accent`]),unref(showIfController)?createCommentVNode(``,!0):(openBlock(),createBlock(unref(bngIcon_default),{key:0,type:unref(icons).plus,title:`Activate`},null,8,[`type`]))]),_:1},8,[`class`,`disabled`,`accent`])]),_:1},8,[`class`,`src`,`bg-color`]))}},FuelNozzle_default=__plugin_vue_export_helper_default(_sfc_main$19,[[`__scopeId`,`data-v-3a31f67d`]]),_hoisted_1$15={class:`cost`},_hoisted_2$10={class:`price`},_hoisted_3$9={class:`per-unit`},_hoisted_4$6={class:`value`},_hoisted_5$5={class:`unit`},_sfc_main$18={__name:`FuelInfo`,props:{totalCost:{type:Number,required:!0},pricePerUnit:{type:Number,required:!0},unitLabel:{type:String,required:!0},fuelDiscountData:{type:Object,required:!1}},setup(__props){let refuelStore=useRefuelStore(),displayPrice=computed(()=>Math.floor(refuelStore.convertToPricePerLocalUnit(props.pricePerUnit,refuelStore.currentEnergyType)*100)+.9),props=__props;return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode(`div`,_hoisted_1$15,[createVNode(unref(bngUnit_default),{money:__props.totalCost},null,8,[`money`]),__props.fuelDiscountData.hasFuelDiscount?(openBlock(),createBlock(insurancePerkIcon_default,{key:0,class:`perk-icon`,perkIconData:__props.fuelDiscountData.perkData},null,8,[`perkIconData`])):createCommentVNode(``,!0)]),createBaseVNode(`div`,_hoisted_2$10,[createBaseVNode(`span`,_hoisted_3$9,[createBaseVNode(`span`,_hoisted_4$6,toDisplayString(displayPrice.value),1),_cache[0]||=createBaseVNode(`span`,{class:`divider`},null,-1),createBaseVNode(`span`,_hoisted_5$5,toDisplayString(unref(refuelStore).getUnitLabel(unref(refuelStore).currentEnergyType)),1)])])],64))}},FuelInfo_default=__plugin_vue_export_helper_default(_sfc_main$18,[[`__scopeId`,`data-v-c4955aba`]]),_hoisted_1$14={class:`amount`},_hoisted_2$9={class:`slider-labels`},_hoisted_3$8={class:`amount-value`},_sfc_main$17={__name:`FuelAmountSettings`,props:{minSlider:{type:Number,default:23},maxSlider:{type:Number,default:80},unitLabel:String},setup(__props){return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$14,[createVNode(unref(bngButton_default),{class:`top-up`,accent:`text`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_u`,deviceMask:`xinput`}),_cache[0]||=createTextVNode(`Top-up`,-1)]),_:1}),createBaseVNode(`div`,_hoisted_2$9,[createBaseVNode(`span`,null,toDisplayString(`${__props.minSlider}${__props.unitLabel}`),1),createBaseVNode(`span`,null,toDisplayString(`${__props.maxSlider}${__props.unitLabel}`),1)]),createVNode(unref(bngSlider_default),{min:__props.minSlider,max:__props.maxSlider,onValueChanged:()=>{}},null,8,[`min`,`max`]),createBaseVNode(`div`,_hoisted_3$8,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_l`,deviceMask:`xinput`})]),_:1},8,[`accent`]),createVNode(unref(bngInput_default),{class:`value`,suffix:`L`,"initial-value":`1234567`}),createVNode(unref(bngButton_default),{accent:unref(ACCENTS).text,class:`empty`},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{class:`controller`,"ui-event":`focus_r`,deviceMask:`xinput`})]),_:1},8,[`accent`])])]))}},FuelAmountSettings_default=__plugin_vue_export_helper_default(_sfc_main$17,[[`__scopeId`,`data-v-9de32e0e`]]),_hoisted_1$13={class:`gauge`},_hoisted_2$8={key:0,class:`settings content`},_hoisted_3$7={class:`status-container`},fuellingModes={fuel:{title:`ui.career.refuelling.modes.fuel.title`,gaugeType:`refuel`,nozzleIconType:icons$1.general.fuel_nozzle,fuellingOngoingLabel:`ui.career.refuelling.modes.fuel.ongoing`,startLabel:`ui.career.refuelling.modes.fuel.start`,unitLabel:`L`},charge:{title:`ui.career.refuelling.modes.charge.title`,gaugeType:`recharge`,nozzleIconType:icons$1.general.recharge_connector,fuellingOngoingLabel:`ui.career.refuelling.modes.charge.ongoing`,startLabel:`ui.career.refuelling.modes.charge.start`,unitLabel:`kWh`}},_sfc_main$16={__name:`RefuelMain`,setup(__props){let{$game}=useLibStore(),refuelStore=useRefuelStore(),mainSettings=computed(()=>fuellingModes[refuelStore.currentFuelType]);onBeforeMount(()=>{refuelStore.requestFuelingData()}),onBeforeUnmount(()=>{refuelStore.cancelTransaction()}),onUnmounted(()=>{refuelStore.$dispose()});let store$1=useTasksStore();provide(`animationSettings`,{animate:!0,animateOnMount:!1,animateOnMountIntervalDelay:.2,animateOnEmptyIntervalDelay:.1,animateOnEmpty:!0,animateNextTask:!0,successCallback:playAudio});function playAudio(){$game.lua.Engine.Audio.playOnce(`AudioGui`,`event:>UI>Career>Checkbox`)}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[unref(refuelStore).currentFuelData?(openBlock(),createBlock(unref(layoutSingle_default),{key:0},{default:withCtx(()=>[createVNode(unref(bngCard_default),{class:`refuel-card`},{buttons:withCtx(()=>[unref(refuelStore).canPay?(openBlock(),createBlock(unref(bngButton_default),{key:0,onClick:_cache[2]||=$event=>unref(refuelStore).payPrice()},{default:withCtx(()=>[..._cache[5]||=[createTextVNode(`Pay`,-1)]]),_:1})):createCommentVNode(``,!0),unref(refuelStore).canStartFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:1,onClick:_cache[3]||=$event=>unref(refuelStore).startFuelling()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(mainSettings.value.startLabel)),1)]),_:1})):unref(refuelStore).canStopFuelling?(openBlock(),createBlock(unref(bngButton_default),{key:2,onClick:_cache[4]||=$event=>unref(refuelStore).stopFuelling()},{default:withCtx(()=>[..._cache[6]||=[createTextVNode(`Stop`,-1)]]),_:1})):createCommentVNode(``,!0)]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),{type:`ribbon`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(unref(refuelStore).gasStationName)),1)]),_:1}),createBaseVNode(`div`,_hoisted_1$13,[createVNode(FuelGauge_default,{class:`main-gauge`,fuelling:unref(refuelStore).isFuelling,type:mainSettings.value.gaugeType,value:unref(refuelStore).currentFuelLevel,label:unref(refuelStore).isFuelling?_ctx.$t(mainSettings.value.fuellingOngoingLabel):``,minLabel:unref(refuelStore).minEnergyLabel,maxLabel:unref(refuelStore).maxEnergyLabel},null,8,[`fuelling`,`type`,`value`,`label`,`minLabel`,`maxLabel`])]),createVNode(FuelNozzle_default,{"refuel-type":unref(refuelStore).currentFuelType,"nozzle-mode":unref(refuelStore).nozzleMode,onTriggerDown:_cache[0]||=$event=>unref(refuelStore).changeFlowRate(1),onTriggerUp:_cache[1]||=$event=>unref(refuelStore).changeFlowRate(0)},null,8,[`refuel-type`,`nozzle-mode`]),createVNode(FuelInfo_default,{"total-cost":unref(refuelStore).overallPrice,"price-per-unit":unref(refuelStore).currentFuelData.pricePerUnit,"unit-label":mainSettings.value.unitLabel,"fuel-discount-data":unref(refuelStore).fuelDiscountData},null,8,[`total-cost`,`price-per-unit`,`unit-label`,`fuel-discount-data`]),unref(refuelStore).showFuelTypeSettings||unref(refuelStore).showAmountSettings?(openBlock(),createElementBlock(`div`,_hoisted_2$8,[unref(refuelStore).showFuelTypeSettings?(openBlock(),createBlock(FuelTypeSettings_default,{key:0,"fuel-options":unref(refuelStore).fuelOptions},null,8,[`fuel-options`])):createCommentVNode(``,!0),unref(refuelStore).showAmountSettings?(openBlock(),createBlock(FuelAmountSettings_default,{key:1,"min-slider":unref(refuelStore).minSlider,"max-slider":unref(refuelStore).maxSlider,"unit-label":mainSettings.value.unitLabel},null,8,[`min-slider`,`max-slider`,`unit-label`])):createCommentVNode(``,!0)])):createCommentVNode(``,!0)]),_:1})]),_:1})):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_3$7,[createVNode(unref(careerStatus_default),{class:`profileStatus`}),createVNode(unref(TaskList_default),{class:`tasklist`,header:unref(store$1).header,tasks:unref(store$1).tasks},null,8,[`header`,`tasks`])])],64))}},RefuelMain_default=__plugin_vue_export_helper_default(_sfc_main$16,[[`__scopeId`,`data-v-d87fd4e5`]]),routes_default$15=[{path:`/refueling`,name:`refueling`,component:RefuelMain_default,meta:{uiApps:{shown:!1}}}],_hoisted_1$12=[`innerHTML`],_sfc_main$15={__name:`ReleaseInfo`,setup(__props){useUINavScope(`releaseInfo`);let settings$1=useSettings(),parseDescription=descKey=>parse$1($translate.instant(descKey)),descriptionHtml=computed(()=>parseDescription(`ui.releaseInfo.description`)),onFinish=async()=>{backToMenu()},backToMenu=()=>window.bngVue.gotoAngularState(`menu.mainmenu`);return onMounted(async()=>{await settings$1.waitForData()}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(WizardView_default),{title:`ui.releaseInfo.title`,preheadings:[`v.${unref(sysInfo_default).versionSimple}`],style:{"--wizard-height":`45rem`},"bng-ui-scope":`releaseInfo`,onWizardFinish:onFinish},{default:withCtx(()=>[createVNode(unref(WizardStep_default),{id:`releaseInfo`,title:`ui.releaseInfo.stepTitle`},{default:withCtx(()=>[createBaseVNode(`div`,{innerHTML:descriptionHtml.value},null,8,_hoisted_1$12)]),_:1})]),_:1},8,[`preheadings`])),[[unref(BngBlur_default)],[unref(BngOnUiNav_default),backToMenu,`menu,back`]])}},ReleaseInfo_default=_sfc_main$15,routes_default$16=[{name:`menu.release-info`,path:`/release-info`,component:ReleaseInfo_default,meta:{infoBar:{visible:!0,showSysInfo:!0},uiApps:{shown:!1}}}],_hoisted_1$11={class:`veh-debug`},_hoisted_2$7={class:`buttons`},_hoisted_3$6={class:`buttons`},_hoisted_4$5={class:`bng-short-select-item`},_hoisted_5$4={class:`label-width`},_hoisted_6$3={key:0},_hoisted_7$3={class:`parts-switch-label`},_hoisted_8$2={class:`control-row`},_hoisted_9$1={class:`control-label`},_hoisted_10={class:`control-row`},_hoisted_11={class:`control-label`},_hoisted_12={key:0},_hoisted_13={class:`control-row`},_hoisted_14={class:`control-label indented`},_hoisted_15={class:`control-group`},_hoisted_16={class:`control-row`},_hoisted_17={class:`control-label indented`},_hoisted_18={class:`control-group`},_hoisted_19={class:`control-row`},_hoisted_20={class:`control-label indented`},_hoisted_21={class:`control-row`},_hoisted_22={class:`control-label indented`},_hoisted_23={class:`control-row`},_hoisted_24={class:`control-label indented`},_hoisted_25={class:`control-group`},_hoisted_26={class:`control-row`},_hoisted_27={class:`control-label indented`},_hoisted_28={class:`control-group`},_hoisted_29={class:`control-row`},_hoisted_30={class:`control-label indented`},_hoisted_31={class:`control-group`},_hoisted_32={class:`control-row`},_hoisted_33={class:`control-label`},_hoisted_34={key:2},_hoisted_35={class:`control-row`},_hoisted_36={class:`control-label indented`},_hoisted_37={class:`control-group`},_hoisted_38={class:`control-row`},_hoisted_39={class:`control-label indented`},_hoisted_40={class:`control-group`},_hoisted_41={class:`control-row`},_hoisted_42={class:`control-label indented`},_hoisted_43={class:`control-row`},_hoisted_44={class:`control-label indented`},_hoisted_45={key:3,class:`control-row`},_hoisted_46={class:`control-label indented`},_hoisted_47={class:`control-group`},_hoisted_48={key:4,class:`control-row`},_hoisted_49={class:`control-label indented`},_hoisted_50={class:`control-row`},_hoisted_51={class:`control-label`},_hoisted_52={key:5},_hoisted_53={class:`control-row`},_hoisted_54={class:`control-label indented`},_hoisted_55={class:`control-group`},_hoisted_56={class:`control-row`},_hoisted_57={class:`control-label indented`},_hoisted_58={class:`control-group`},_hoisted_59={class:`control-row`},_hoisted_60={class:`control-label indented`},_hoisted_61={class:`control-row`},_hoisted_62={class:`control-label indented`},_hoisted_63={class:`control-row`},_hoisted_64={class:`control-label indented`},_hoisted_65={class:`control-group`},_hoisted_66={class:`control-row`},_hoisted_67={class:`control-label indented`},_hoisted_68={class:`control-group`},_hoisted_69={class:`control-row`},_hoisted_70={class:`control-label indented`},_hoisted_71={class:`control-group`},_hoisted_72={class:`control-row`},_hoisted_73={class:`control-label`},_hoisted_74={class:`control-row`},_hoisted_75={class:`control-label indented`},_hoisted_76={class:`control-group`},_hoisted_77={class:`control-row`},_hoisted_78={class:`control-label indented`},_hoisted_79={class:`control-group`},_hoisted_80={class:`control-row`},_hoisted_81={class:`control-label indented`},_hoisted_82={class:`control-row`},_hoisted_83={class:`control-label indented`},_hoisted_84={class:`control-row`},_hoisted_85={class:`control-label indented`},_hoisted_86={class:`control-group`},_hoisted_87={class:`control-row`},_hoisted_88={class:`control-label indented`},_hoisted_89={class:`control-group`},_hoisted_90={class:`control-row`},_hoisted_91={class:`control-label`},_hoisted_92={class:`control-row`},_hoisted_93={class:`control-label indented`},_hoisted_94={class:`control-group`},_hoisted_95={class:`control-row`},_hoisted_96={class:`control-label indented`},_hoisted_97={class:`control-group`},_hoisted_98={class:`control-row`},_hoisted_99={class:`control-label`},_hoisted_100={class:`control-row`},_hoisted_101={class:`control-label`},_hoisted_102={key:10,class:`control-row`},_hoisted_103={class:`control-label indented`},_hoisted_104={class:`control-group`},_hoisted_105={class:`control-row`},_hoisted_106={class:`control-label`},_hoisted_107={key:11,class:`control-row`},_hoisted_108={class:`control-label indented`},_hoisted_109={class:`control-group`},_hoisted_110={class:`control-row`},_hoisted_111={class:`control-label`},_hoisted_112={class:`control-row`},_hoisted_113={class:`control-label`},_hoisted_114={key:12,class:`control-row`},_hoisted_115={class:`control-label indented`},_hoisted_116={class:`control-group`},_hoisted_117={key:13,class:`control-row`},_hoisted_118={class:`control-label`},_hoisted_119={class:`mesh-visibility`},_hoisted_120={class:`control-row`},_hoisted_121={class:`control-label`},_hoisted_122={class:`mesh-buttons`},_hoisted_123={class:`buttons`},_sfc_main$14={__name:`Debug`,setup(__props){useUINavBlocker().blockOnly([`context`]);let{lua,api:api$1}=useBridge(),events$3=useEvents(),state=reactive({}),stateNoReset=reactive({vehicle:{parts:[],partNameToIdx:{},partsSelected:{},partsSelectedIdxs:[]}}),partsState=reactive({partsSorted:[],partsHighlightedIdxs:[]}),partsFiltered=computed(()=>{let res=partsState.partsSorted;return Array.isArray(res)?(partsSelectedSearchTerm.value&&(res=res.filter(part=>part.includes(partsSelectedSearchTerm.value))),res.map(p$1=>{let segments=p$1.split(`/`);return{label:segments[segments.length-1],reversePath:segments.slice(0,-1).reverse().join(`\\`),value:p$1,selected:Array.isArray(partsState.partsHighlightedIdxs)&&partsState.partsHighlightedIdxs.includes(partsState.partsSorted.indexOf(p$1)+1)}})):[]}),shipping=computed(()=>window.beamng&&window.beamng.shipping),geState=reactive({physicsEnabled:!0,debugSpawnEnabled:!1}),partsSelectedSearchTerm=ref(``),disableVehicleButtons=ref(!1),controls$1={vehicle:{buttonGroup_1:[{label:`ui.debug.vehicle.loadDefault`,action:()=>lua.core_vehicles.loadDefault()},{label:`ui.debug.vehicle.spawnNew`,action:()=>lua.core_vehicles.spawnDefault()},{label:`ui.debug.vehicle.removeCurrent`,action:()=>lua.core_vehicles.removeCurrent()},{label:`ui.debug.vehicle.cloneCurrent`,action:()=>lua.core_vehicles.cloneCurrent()},{label:`ui.debug.vehicle.removeAll`,action:()=>lua.core_vehicles.removeAll()},{label:`ui.debug.vehicle.removeOthers`,action:()=>lua.core_vehicles.removeAllExceptCurrent()},{label:`ui.debug.vehicle.resetAll`,action:()=>lua.resetGameplay(-1)},{label:`ui.debug.vehicle.reloadAll`,action:()=>lua.core_vehicle_manager.reloadAllVehicles()}],toggleGroup_1:[{label:`ui.debug.activatePhysics`,key:`physicsEnabled`,onChange:()=>lua.simTimeAuthority.togglePause()},{label:`ui.debug.debugSpawnEnabled`,key:`debugSpawnEnabled`,onChange:()=>lua.core_vehicle_manager.toggleDebug()}]},jbeamvis:{buttonGroup_1:[{label:`ui.debug.vehicle.toggleVis`,action:()=>api$1.activeObjectLua(`bdebug.toggleEnabled()`)},{label:`ui.debug.vehicle.clearSettings`,action:()=>api$1.activeObjectLua(`bdebug.resetModes()`)}],meshVisButtonGroup:[{label:`0%`,action:()=>lua.core_vehicles.setMeshVisibility(0)},{label:`25%`,action:()=>lua.core_vehicles.setMeshVisibility(.25)},{label:`50%`,action:()=>lua.core_vehicles.setMeshVisibility(.5)},{label:`75%`,action:()=>lua.core_vehicles.setMeshVisibility(.75)},{label:`100%`,action:()=>lua.core_vehicles.setMeshVisibility(1)}]},terrain:{buttonGroup_1:[{label:`ui.debug.terrain.groundmodel`,action:()=>api$1.engineLua(`extensions.load("util_groundModelDebug") util_groundModelDebug.openWindow()`)}]}};onMounted(async()=>{geState.physicsEnabled=!await lua.simTimeAuthority.getPause(),geState.debugSpawnEnabled=await lua.core_vehicle_manager.getDebug(),api$1.activeObjectLua(`bdebug.requestState()`),lua.core_gamestate.requestGameState(),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()});let applyState=(notSendBack=!1)=>{notSendBack=!!notSendBack,api$1.activeObjectLua(`bdebug.setState(${api$1.serializeToLua(state)}, ${api$1.serializeToLua(stateNoReset)}, ${notSendBack})`)},partsSelectedChanged=(part,value)=>{Array.isArray(partsState.partsHighlightedIdxs)||(partsState.partsHighlightedIdxs=[]);let idx=partsState.partsSorted.indexOf(part)+1,idxInArray=partsState.partsHighlightedIdxs.indexOf(idx);value&&idxInArray===-1?partsState.partsHighlightedIdxs.push(idx):!value&&idxInArray!==-1&&partsState.partsHighlightedIdxs.splice(idxInArray,1),applyState(!0),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},partsSelectedChecked=()=>partsState.partsHighlightedIdxs.length===partsState.partsSorted.length,partsSelectedIndeterminate=()=>partsState.partsHighlightedIdxs.length!==0&&partsState.partsHighlightedIdxs.length!==partsState.partsSorted.length,partsSelectedClicked=()=>{partsState.partsHighlightedIdxs.length===partsState.partsSorted.length?partsState.partsHighlightedIdxs=[]:partsState.partsHighlightedIdxs=Array.from({length:partsState.partsSorted.length},(_,i)=>i+1),applyState(),lua.extensions.core_vehicle_partmgmt.partsSelectorChanged(partsState)},selectAllParts=computed({get:()=>partsSelectedChecked(),set:()=>partsSelectedClicked()}),beamTextModeItems=computed(()=>state.vehicle?.beamTextModes?state.vehicle.beamTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamTextMode.${mode.name}`):``})):[]),beamVisModeItems=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.beamVisMode.${mode.name}`):``})):[]),currentBeamVisMode=computed(()=>state.vehicle?.beamVisModes?state.vehicle.beamVisModes[state.vehicle.beamVisMode-1]:null),nodeTextModeItems=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeTextMode.${mode.name}`):``})):[]),currentNodeTextMode=computed(()=>state.vehicle?.nodeTextModes?state.vehicle.nodeTextModes[state.vehicle.nodeTextMode-1]:null),nodeVisModeItems=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.nodeVisMode.${mode.name}`):``})):[]),currentNodeVisMode=computed(()=>state.vehicle?.nodeVisModes?state.vehicle.nodeVisModes[state.vehicle.nodeVisMode-1]:null),torsionBarVisModeItems=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.torsionBarVisMode.${mode.name}`):``})):[]),currentTorsionBarVisMode=computed(()=>state.vehicle?.torsionBarVisModes?state.vehicle.torsionBarVisModes[state.vehicle.torsionBarVisMode-1]:null),railsSlideNodesModeItems=computed(()=>state.vehicle?.railsSlideNodesVisModes?state.vehicle.railsSlideNodesVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.railsSlideNodesVisMode.${mode.name}`):``})):[]),cogModeItems=computed(()=>state.vehicle?.cogModes?state.vehicle.cogModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.cogMode.${mode.name}`):``})):[]),collisionTriangleModeItems=computed(()=>state.vehicle?.collisionTriangleVisModes?state.vehicle.collisionTriangleVisModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.collisionTriangleVisMode.${mode.name}`):``})):[]),aeroModeItems=computed(()=>state.vehicle?.aeroModes?state.vehicle.aeroModes.map((mode,index)=>({value:index+1,label:mode.name?$translate.instant(`vehicle.bdebug.aeroMode.${mode.name}`):``})):[]);return events$3.on(`BdebugUpdate`,(debugState,newStateNoReset)=>{Object.assign(state,debugState),Object.assign(stateNoReset,newStateNoReset)}),events$3.on(`PartsSelectorUpdate`,state$1=>{Object.assign(partsState,state$1)}),events$3.on(`VehicleFocusChanged`,()=>{api$1.activeObjectLua(`bdebug.requestState()`),lua.extensions.core_vehicle_partmgmt.sendPartsSelectorStateToUI()}),events$3.on(`physicsStateChanged`,state$1=>geState.physicsEnabled=!!state$1),events$3.on(`debugSpawnChanged`,state$1=>geState.debugSpawnEnabled=!!state$1),events$3.on(`GameStateUpdate`,gamestate=>disableVehicleButtons.value=gamestate.state.toLowerCase().indexOf(`scenario`)>-1),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$11,[createBaseVNode(`h3`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle`)),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.toggleGroup_1,toggle=>(openBlock(),createElementBlock(`div`,{key:toggle.key},[createVNode(unref(bngSwitch_default),{modelValue:geState[toggle.key],"onUpdate:modelValue":$event=>geState[toggle.key]=$event,onValueChanged:$event=>toggle.onChange()},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(toggle.label)),1)]),_:2},1032,[`modelValue`,`onUpdate:modelValue`,`onValueChanged`])]))),128)),createBaseVNode(`div`,_hoisted_2$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.vehicle.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))]),_cache[74]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.vehicle.jbeamVis`)),1),createBaseVNode(`div`,_hoisted_3$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))]),createBaseVNode(`div`,_hoisted_4$5,[createBaseVNode(`span`,_hoisted_5$4,toDisplayString(_ctx.$tt(`ui.debug.vehicle.partsSelected`)),1),createVNode(unref(bngDropdownContainer_default),{class:`bng-select-fullwidth dropdown-width`},{default:withCtx(()=>[createVNode(unref(bngList_default),{layout:unref(LIST_LAYOUTS).LIST,"target-width":31},{default:withCtx(()=>[createVNode(unref(bngInput_default),{modelValue:partsSelectedSearchTerm.value,"onUpdate:modelValue":_cache[0]||=$event=>partsSelectedSearchTerm.value=$event,modelModifiers:{trim:!0},"floating-label":_ctx.$t(`ui.debug.vehicle.partsSelectedSearchText`)},null,8,[`modelValue`,`floating-label`]),partsFiltered.value&&partsFiltered.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(partsFiltered.value,part=>withDirectives((openBlock(),createBlock(unref(bngSwitch_default),{"model-value":part.selected,key:part.value,"label-alignment":unref(LABEL_ALIGNMENTS).START,inline:!1,class:`parts-switch`,onChange:value=>partsSelectedChanged(part.value,value)},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_7$3,[createBaseVNode(`strong`,null,toDisplayString(part.label),1),createTextVNode(` `+toDisplayString(part.reversePath?`\\`+part.reversePath:``),1)])]),_:2},1032,[`model-value`,`label-alignment`,`onChange`])),[[unref(BngTooltip_default),part.label+` \\ `+part.reversePath,`right`]])),128))])):createCommentVNode(``,!0)]),_:1},8,[`layout`])]),_:1}),createVNode(unref(bngSwitch_default),{modelValue:selectAllParts.value,"onUpdate:modelValue":_cache[1]||=$event=>selectAllParts.value=$event,class:normalizeClass({"switch-indeterminate":partsSelectedIndeterminate(),"switch-width":!0}),onOnClicked:partsSelectedClicked},null,8,[`modelValue`,`class`])]),state.vehicle?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`div`,_hoisted_8$2,[createBaseVNode(`span`,_hoisted_9$1,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamTextMode,"onUpdate:modelValue":_cache[2]||=$event=>state.vehicle.beamTextMode=$event,items:beamTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_10,[createBaseVNode(`span`,_hoisted_11,toDisplayString(_ctx.$tt(`ui.debug.vehicle.beamVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.beamVisMode,"onUpdate:modelValue":_cache[3]||=$event=>state.vehicle.beamVisMode=$event,items:beamVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentBeamVisMode.value&¤tBeamVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_12,[createBaseVNode(`div`,_hoisted_13,[createBaseVNode(`span`,_hoisted_14,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_15,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[4]||=$event=>currentBeamVisMode.value.rangeMin=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMin,"onUpdate:modelValue":_cache[5]||=$event=>currentBeamVisMode.value.rangeMin=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[6]||=$event=>currentBeamVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_16,[createBaseVNode(`span`,_hoisted_17,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_18,[createVNode(unref(bngSlider_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[7]||=$event=>currentBeamVisMode.value.rangeMax=$event,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentBeamVisMode.value.rangeMax,"onUpdate:modelValue":_cache[8]||=$event=>currentBeamVisMode.value.rangeMax=$event,type:`number`,min:currentBeamVisMode.value.rangeMinCap,max:currentBeamVisMode.value.rangeMaxCap,step:(currentBeamVisMode.value.rangeMaxCap-currentBeamVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[9]||=$event=>currentBeamVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_19,[createBaseVNode(`span`,_hoisted_20,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[10]||=$event=>currentBeamVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_21,[createBaseVNode(`span`,_hoisted_22,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentBeamVisMode.value.showInfinity,"onUpdate:modelValue":_cache[11]||=$event=>currentBeamVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.beamVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`div`,_hoisted_23,[createBaseVNode(`span`,_hoisted_24,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_25,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.beamVisShowHighlighted,"onUpdate:modelValue":_cache[12]||=$event=>state.vehicle.beamVisShowHighlighted=$event,disabled:state.vehicle.beamVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_26,[createBaseVNode(`span`,_hoisted_27,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_28,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[13]||=$event=>state.vehicle.beamVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisWidthScale,"onUpdate:modelValue":_cache[14]||=$event=>state.vehicle.beamVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_29,[createBaseVNode(`span`,_hoisted_30,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_31,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[15]||=$event=>state.vehicle.beamVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.beamVisAlpha,"onUpdate:modelValue":_cache[16]||=$event=>state.vehicle.beamVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_32,[createBaseVNode(`span`,_hoisted_33,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeText`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeTextMode,"onUpdate:modelValue":_cache[17]||=$event=>state.vehicle.nodeTextMode=$event,items:nodeTextModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeTextMode.value&¤tNodeTextMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_34,[createBaseVNode(`div`,_hoisted_35,[createBaseVNode(`span`,_hoisted_36,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_37,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[18]||=$event=>currentNodeTextMode.value.rangeMin=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMin,"onUpdate:modelValue":_cache[19]||=$event=>currentNodeTextMode.value.rangeMin=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[20]||=$event=>currentNodeTextMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_38,[createBaseVNode(`span`,_hoisted_39,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_40,[createVNode(unref(bngSlider_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[21]||=$event=>currentNodeTextMode.value.rangeMax=$event,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeTextMode.value.rangeMax,"onUpdate:modelValue":_cache[22]||=$event=>currentNodeTextMode.value.rangeMax=$event,type:`number`,min:currentNodeTextMode.value.rangeMinCap,max:currentNodeTextMode.value.rangeMaxCap,step:(currentNodeTextMode.value.rangeMaxCap-currentNodeTextMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[23]||=$event=>currentNodeTextMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_41,[createBaseVNode(`span`,_hoisted_42,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[24]||=$event=>currentNodeTextMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_43,[createBaseVNode(`span`,_hoisted_44,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeTextMode.value.showInfinity,"onUpdate:modelValue":_cache[25]||=$event=>currentNodeTextMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_45,[createBaseVNode(`span`,_hoisted_46,toDisplayString(_ctx.$tt(`ui.debug.vehicle.maxDist`)),1),createBaseVNode(`div`,_hoisted_47,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[26]||=$event=>state.vehicle.nodeTextMaxDist=$event,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeTextMaxDist,"onUpdate:modelValue":_cache[27]||=$event=>state.vehicle.nodeTextMaxDist=$event,type:`number`,min:.1,max:state.vehicle.nodeTextMaxDistCap,step:.1,onValueChanged:applyState},null,8,[`modelValue`,`max`])])])),state.vehicle.nodeTextMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_48,[createBaseVNode(`span`,_hoisted_49,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showWheels`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeTextShowWheels,"onUpdate:modelValue":_cache[28]||=$event=>state.vehicle.nodeTextShowWheels=$event,onValueChanged:applyState},null,8,[`modelValue`])])),createBaseVNode(`div`,_hoisted_50,[createBaseVNode(`span`,_hoisted_51,toDisplayString(_ctx.$tt(`ui.debug.vehicle.nodeVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.nodeVisMode,"onUpdate:modelValue":_cache[29]||=$event=>state.vehicle.nodeVisMode=$event,items:nodeVisModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),currentNodeVisMode.value&¤tNodeVisMode.value.usesRange?(openBlock(),createElementBlock(`div`,_hoisted_52,[createBaseVNode(`div`,_hoisted_53,[createBaseVNode(`span`,_hoisted_54,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_55,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[30]||=$event=>currentNodeVisMode.value.rangeMin=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMin,"onUpdate:modelValue":_cache[31]||=$event=>currentNodeVisMode.value.rangeMin=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[32]||=$event=>currentNodeVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_56,[createBaseVNode(`span`,_hoisted_57,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_58,[createVNode(unref(bngSlider_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[33]||=$event=>currentNodeVisMode.value.rangeMax=$event,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentNodeVisMode.value.rangeMax,"onUpdate:modelValue":_cache[34]||=$event=>currentNodeVisMode.value.rangeMax=$event,type:`number`,min:currentNodeVisMode.value.rangeMinCap,max:currentNodeVisMode.value.rangeMaxCap,step:(currentNodeVisMode.value.rangeMaxCap-currentNodeVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[35]||=$event=>currentNodeVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_59,[createBaseVNode(`span`,_hoisted_60,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[36]||=$event=>currentNodeVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_61,[createBaseVNode(`span`,_hoisted_62,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentNodeVisMode.value.showInfinity,"onUpdate:modelValue":_cache[37]||=$event=>currentNodeVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),state.vehicle.nodeVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:6},[createBaseVNode(`div`,_hoisted_63,[createBaseVNode(`span`,_hoisted_64,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showHighlighted`)),1),createBaseVNode(`div`,_hoisted_65,[createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.nodeVisShowHighlighted,"onUpdate:modelValue":_cache[38]||=$event=>state.vehicle.nodeVisShowHighlighted=$event,disabled:state.vehicle.nodeVisMode===3,onValueChanged:applyState},null,8,[`modelValue`,`disabled`])])]),createBaseVNode(`div`,_hoisted_66,[createBaseVNode(`span`,_hoisted_67,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_68,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[39]||=$event=>state.vehicle.nodeVisWidthScale=$event,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisWidthScale,"onUpdate:modelValue":_cache[40]||=$event=>state.vehicle.nodeVisWidthScale=$event,type:`number`,min:.3,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_69,[createBaseVNode(`span`,_hoisted_70,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_71,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[41]||=$event=>state.vehicle.nodeVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.nodeVisAlpha,"onUpdate:modelValue":_cache[42]||=$event=>state.vehicle.nodeVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_72,[createBaseVNode(`span`,_hoisted_73,toDisplayString(_ctx.$tt(`ui.debug.vehicle.torsionBarVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.torsionBarVisMode,"onUpdate:modelValue":_cache[43]||=$event=>state.vehicle.torsionBarVisMode=$event,items:torsionBarVisModeItems.value,onValueChanged:_cache[44]||=value=>{console.log(`change triggered`,value),applyState()},class:`control-input`},null,8,[`modelValue`,`items`])]),currentTorsionBarVisMode.value?.usesRange?(openBlock(),createElementBlock(Fragment,{key:7},[createBaseVNode(`div`,_hoisted_74,[createBaseVNode(`span`,_hoisted_75,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMin`)),1),createBaseVNode(`div`,_hoisted_76,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[45]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMin,"onUpdate:modelValue":_cache[46]||=$event=>currentTorsionBarVisMode.value.rangeMin=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMinEnabled,"onUpdate:modelValue":_cache[47]||=$event=>currentTorsionBarVisMode.value.rangeMinEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_77,[createBaseVNode(`span`,_hoisted_78,toDisplayString(_ctx.$tt(`ui.debug.vehicle.visRangeMax`)),1),createBaseVNode(`div`,_hoisted_79,[createVNode(unref(bngSlider_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[48]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/100,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngInput_default),{modelValue:currentTorsionBarVisMode.value.rangeMax,"onUpdate:modelValue":_cache[49]||=$event=>currentTorsionBarVisMode.value.rangeMax=$event,type:`number`,min:currentTorsionBarVisMode.value.rangeMinCap,max:currentTorsionBarVisMode.value.rangeMaxCap,step:(currentTorsionBarVisMode.value.rangeMaxCap-currentTorsionBarVisMode.value.rangeMinCap)/1e3,onValueChanged:applyState},null,8,[`modelValue`,`min`,`max`,`step`]),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.rangeMaxEnabled,"onUpdate:modelValue":_cache[50]||=$event=>currentTorsionBarVisMode.value.rangeMaxEnabled=$event,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_80,[createBaseVNode(`span`,_hoisted_81,toDisplayString(_ctx.$tt(`ui.debug.vehicle.useInclusiveRange`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.usesInclusiveRange,"onUpdate:modelValue":_cache[51]||=$event=>currentTorsionBarVisMode.value.usesInclusiveRange=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_82,[createBaseVNode(`span`,_hoisted_83,toDisplayString(_ctx.$tt(`ui.debug.vehicle.showInf`)),1),createVNode(unref(bngSwitch_default),{modelValue:currentTorsionBarVisMode.value.showInfinity,"onUpdate:modelValue":_cache[52]||=$event=>currentTorsionBarVisMode.value.showInfinity=$event,onValueChanged:applyState},null,8,[`modelValue`])])],64)):createCommentVNode(``,!0),state.vehicle.torsionBarVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:8},[createBaseVNode(`div`,_hoisted_84,[createBaseVNode(`span`,_hoisted_85,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_86,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[53]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisWidthScale,"onUpdate:modelValue":_cache[54]||=$event=>state.vehicle.torsionBarVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_87,[createBaseVNode(`span`,_hoisted_88,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_89,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[55]||=$event=>state.vehicle.torsionBarVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.torsionBarVisAlpha,"onUpdate:modelValue":_cache[56]||=$event=>state.vehicle.torsionBarVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_90,[createBaseVNode(`span`,_hoisted_91,toDisplayString(_ctx.$tt(`ui.debug.vehicle.railsSlideNodesVis`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.railsSlideNodesVisMode,"onUpdate:modelValue":_cache[57]||=$event=>state.vehicle.railsSlideNodesVisMode=$event,items:railsSlideNodesModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.railsSlideNodesVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(Fragment,{key:9},[createBaseVNode(`div`,_hoisted_92,[createBaseVNode(`span`,_hoisted_93,toDisplayString(_ctx.$tt(`ui.debug.vehicle.width`)),1),createBaseVNode(`div`,_hoisted_94,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[58]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisWidthScale,"onUpdate:modelValue":_cache[59]||=$event=>state.vehicle.railsSlideNodesVisWidthScale=$event,type:`number`,min:.1,max:5,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_95,[createBaseVNode(`span`,_hoisted_96,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_97,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[60]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.railsSlideNodesVisAlpha,"onUpdate:modelValue":_cache[61]||=$event=>state.vehicle.railsSlideNodesVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])],64)),createBaseVNode(`div`,_hoisted_98,[createBaseVNode(`span`,_hoisted_99,toDisplayString(_ctx.$tt(`ui.debug.vehicle.centerOfGravity`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.cogMode,"onUpdate:modelValue":_cache[62]||=$event=>state.vehicle.cogMode=$event,items:cogModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),createBaseVNode(`div`,_hoisted_100,[createBaseVNode(`span`,_hoisted_101,toDisplayString(_ctx.$tt(`ui.debug.vehicle.collisionTriangle`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.collisionTriangleVisMode,"onUpdate:modelValue":_cache[63]||=$event=>state.vehicle.collisionTriangleVisMode=$event,items:collisionTriangleModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.collisionTriangleVisMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_102,[createBaseVNode(`span`,_hoisted_103,toDisplayString(_ctx.$tt(`ui.debug.vehicle.transparency`)),1),createBaseVNode(`div`,_hoisted_104,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[64]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.collisionTriangleVisAlpha,"onUpdate:modelValue":_cache[65]||=$event=>state.vehicle.collisionTriangleVisAlpha=$event,type:`number`,min:0,max:1,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_105,[createBaseVNode(`span`,_hoisted_106,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamics`)),1),createVNode(unref(bngDropdown_default),{modelValue:state.vehicle.aeroMode,"onUpdate:modelValue":_cache[66]||=$event=>state.vehicle.aeroMode=$event,items:aeroModeItems.value,onValueChanged:applyState,class:`control-input`},null,8,[`modelValue`,`items`])]),state.vehicle.aeroMode===1?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_107,[createBaseVNode(`span`,_hoisted_108,toDisplayString(_ctx.$tt(`ui.debug.vehicle.aerodynamicsScale`)),1),createBaseVNode(`div`,_hoisted_109,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[67]||=$event=>state.vehicle.aerodynamicsScale=$event,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.aerodynamicsScale,"onUpdate:modelValue":_cache[68]||=$event=>state.vehicle.aerodynamicsScale=$event,type:`number`,min:0,max:.2,step:.01,onValueChanged:applyState},null,8,[`modelValue`])])])),createBaseVNode(`div`,_hoisted_110,[createBaseVNode(`span`,_hoisted_111,toDisplayString(_ctx.$tt(`ui.debug.vehicle.tireContactPoint`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.tireContactPoint,"onUpdate:modelValue":_cache[69]||=$event=>state.vehicle.tireContactPoint=$event,onValueChanged:applyState},null,8,[`modelValue`])]),createBaseVNode(`div`,_hoisted_112,[createBaseVNode(`span`,_hoisted_113,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometry`)),1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.steeringGeometry,"onUpdate:modelValue":_cache[70]||=$event=>state.vehicle.steeringGeometry=$event,onValueChanged:applyState},null,8,[`modelValue`])]),state.vehicle.steeringGeometry?(openBlock(),createElementBlock(`div`,_hoisted_114,[createBaseVNode(`span`,_hoisted_115,toDisplayString(_ctx.$tt(`ui.debug.vehicle.steeringGeometryLineLength`)),1),createBaseVNode(`div`,_hoisted_116,[createVNode(unref(bngSlider_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[71]||=$event=>state.vehicle.steeringGeometryLineLength=$event,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`]),createVNode(unref(bngInput_default),{modelValue:state.vehicle.steeringGeometryLineLength,"onUpdate:modelValue":_cache[72]||=$event=>state.vehicle.steeringGeometryLineLength=$event,type:`number`,min:0,max:50,step:.1,onValueChanged:applyState},null,8,[`modelValue`])])])):createCommentVNode(``,!0),shipping.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_117,[createBaseVNode(`span`,_hoisted_118,toDisplayString(_ctx.$tt(`ui.debug.vehicle.wheelThermals`))+` 🐞`,1),createVNode(unref(bngSwitch_default),{modelValue:state.vehicle.wheelThermals,"onUpdate:modelValue":_cache[73]||=$event=>state.vehicle.wheelThermals=$event,onValueChanged:applyState},null,8,[`modelValue`])]))],64)):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_119,[createBaseVNode(`div`,_hoisted_120,[createBaseVNode(`span`,_hoisted_121,toDisplayString(_ctx.$tt(`ui.debug.vehicle.meshVisibility`)),1),createBaseVNode(`div`,_hoisted_122,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.jbeamvis.meshVisButtonGroup,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),disabled:disableVehicleButtons.value,accent:unref(ACCENTS).outlined,class:`mesh-button`},{default:withCtx(()=>[createTextVNode(toDisplayString(btn.label),1)]),_:2},1032,[`onClick`,`disabled`,`accent`]))),128))])])]),_cache[75]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`h4`,null,toDisplayString(_ctx.$tt(`ui.debug.terrain`)),1),createBaseVNode(`div`,_hoisted_123,[(openBlock(!0),createElementBlock(Fragment,null,renderList(controls$1.terrain.buttonGroup_1,btn=>(openBlock(),createBlock(unref(bngButton_default),{key:btn.label,onClick:$event=>btn.action(),accent:unref(ACCENTS).secondary},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$tt(btn.label)),1)]),_:2},1032,[`onClick`,`accent`]))),128))])]))}},Debug_default=__plugin_vue_export_helper_default(_sfc_main$14,[[`__scopeId`,`data-v-8c471ede`]]),_sfc_main$13={__name:`VehicleConfig`,props:{tab:{type:String,default:`parts`,validator:val=>!val||[`parts`,`tuning`,`color`,`save`,`debug`].includes(val)}},setup(__props){let exit=event=>{event.detail.force||window.bngVue.gotoAngularState(`menu.mainmenu`)};function syncWithStates(tab){window.bngVue&&(tab=[`parts`,`tuning`,`color`,`save`,`debug`][tab.index]||`parts`,window.bngVue.gotoAngularState(`menu.vehicleconfig.${tab}`))}return(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`vehcfg`,onDeactivate:exit},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(tabs_default),{class:`bng-tabs`,onChange:syncWithStates},{default:withCtx(()=>[withDirectives(createVNode(unref(tabList_default),null,null,512),[[unref(BngBlur_default)]]),withDirectives(createVNode(Parts_default,{"tab-selected":__props.tab===`parts`,"tab-heading":_ctx.$t(`ui.vehicleconfig.parts`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Tuning_default,{"tab-selected":__props.tab===`tuning`,"tab-heading":_ctx.$t(`ui.vehicleconfig.tuning`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Paint_default,{"tab-selected":__props.tab===`color`,"tab-heading":_ctx.$t(`ui.vehicleconfig.color`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Save_default,{"tab-selected":__props.tab===`save`,"tab-heading":_ctx.$t(`ui.vehicleconfig.save`)+` & `+_ctx.$t(`ui.vehicleconfig.load`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]]),withDirectives(createVNode(Debug_default,{"tab-selected":__props.tab===`debug`,"tab-heading":_ctx.$tt(`ui.debug.vehicle`)},null,8,[`tab-selected`,`tab-heading`]),[[unref(BngBlur_default)]])]),_:1})),[[unref(BngFrustumMover_default),!0,void 0,{left:!0}]])]),_:1})),[[unref(BngScopedNav_default),{activateOnMount:!0,bubbleWhitelistEvents:[`tab_l`,`tab_r`,`menu`]}]])}},VehicleConfig_default=__plugin_vue_export_helper_default(_sfc_main$13,[[`__scopeId`,`data-v-e5f4e51f`]]),_hoisted_1$10={class:`adjustment-container`},_hoisted_2$6={class:`y-controls`},_hoisted_3$5={class:`slider-container`},_hoisted_4$4={class:`value-input`},_hoisted_5$3={class:`x-controls`},_hoisted_6$2={class:`slider-container`},_hoisted_7$2={class:`value-input`},_hoisted_8$1={class:`reset-cont`},MIRROR_RANGE_DEFAULTS={min:-20,max:20,step:.01},_sfc_main$12={__name:`MirrorAdjust`,props:{mirror:Object},setup(__props){let props=__props,uiScopeName=`vehicle-config-mirrors`,uiNavScope$1=useUINavScope(uiScopeName),reactivateUIScope=event=>{(event.type===`deactivate`||event.type===`focusout`)&&uiNavScope$1.set(uiScopeName)},range={x:{min:props.mirror.clampX?props.mirror.clampX[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampX?props.mirror.clampX[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step},y:{min:props.mirror.clampY?props.mirror.clampY[0]:MIRROR_RANGE_DEFAULTS.min,max:props.mirror.clampY?props.mirror.clampY[1]:MIRROR_RANGE_DEFAULTS.max,step:MIRROR_RANGE_DEFAULTS.step}},[inpX,inpY]=[ref(),ref()],isChanged=computed(()=>inpX.value&&inpX.value.dirty||inpY.value&&inpY.value.dirty),mover={x:0,y:0,drift:.2,tmr:null,tmrInterval:100};function move(evt){let val=evt.detail.value>mover.drift?evt.detail.value-mover.drift:evt.detail.value<-mover.drift?evt.detail.value+mover.drift:0;evt.detail.name===`focus_lr`?mover.x=val:evt.detail.name===`focus_ud`&&(mover.y=val)}let precision=10**(MIRROR_RANGE_DEFAULTS.step+`.`).split(/[.,]/)[1].length,clamp$2=(val,axis=`x`)=>Math.round(Math.max(range[axis].min,Math.min(val,range[axis].max))*precision)/precision;function resetValues(){props.mirror.x=inpX.value.currentCleanValue,props.mirror.y=inpY.value.currentCleanValue,onValueChanged()}function onValueChanged(){Lua_default.extensions.core_vehicle_mirror.setAngleOffset(props.mirror.name,-props.mirror.y,-props.mirror.x,!1,!1)}return onMounted(()=>{getUINavServiceInstance().useCrossfire=!1,Lua_default.extensions.core_vehicle_mirror.focusOnMirror(props.mirror.name),mover.tmr=setInterval(()=>{mover.x===0&&mover.y===0||(props.mirror.x=clamp$2(props.mirror.x+mover.x,`x`),props.mirror.y=clamp$2(props.mirror.y+mover.y,`y`),onValueChanged())},mover.tmrInterval)}),onUnmounted(()=>{getUINavServiceInstance().useCrossfire=!0,clearInterval(mover.tmr)}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$10,[createVNode(unref(bngImageTile_default),{class:`mirror-tile`,icon:unref(icons)[__props.mirror.mirrorIcon],label:__props.mirror.description,ratio:`1:1`},null,8,[`icon`,`label`]),createBaseVNode(`div`,_hoisted_2$6,[createBaseVNode(`div`,_hoisted_3$5,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpY`,ref:inpY,class:`slider-y`},range.y,{uiNavFocus:!1,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[0]||=$event=>__props.mirror.y=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_4$4,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_ud`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.y,"onUpdate:modelValue":_cache[1]||=$event=>__props.mirror.y=$event,type:`number`},range.y,{prefix:`Y`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_5$3,[createBaseVNode(`div`,_hoisted_6$2,[createVNode(unref(bngSlider_default),mergeProps({"bng-no-nav":`true`,ref_key:`inpX`,ref:inpX,class:`slider-x`},range.x,{uiNavFocus:!1,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[2]||=$event=>__props.mirror.x=$event,onFocusout:reactivateUIScope,onValueChanged,onDeactivate:reactivateUIScope}),null,16,[`modelValue`])]),createBaseVNode(`div`,_hoisted_7$2,[createVNode(unref(bngBinding_default),{class:`keybinding`,action:`menu_item_focus_lr`,deviceMask:`xinput`,dark:!1}),createVNode(unref(bngInput_default),mergeProps({class:`value`,modelValue:__props.mirror.x,"onUpdate:modelValue":_cache[3]||=$event=>__props.mirror.x=$event,type:`number`},range.x,{prefix:`X`,suffix:`°`}),null,16,[`modelValue`])])]),createBaseVNode(`div`,_hoisted_8$1,[createVNode(unref(bngButton_default),{accent:unref(ACCENTS).attention,disabled:!isChanged.value,onClick:_cache[4]||=$event=>resetValues()},{default:withCtx(()=>[createVNode(unref(bngBinding_default),{controller:``,"ui-event":`action_3`}),createTextVNode(` `+toDisplayString(_ctx.$t(`ui.common.reset`)),1)]),_:1},8,[`accent`,`disabled`])])])),[[unref(BngOnUiNav_default),move,`focus_lr,focus_ud`],[unref(BngOnUiNav_default),resetValues,`action_3`]])}},MirrorAdjust_default=__plugin_vue_export_helper_default(_sfc_main$12,[[`__scopeId`,`data-v-14ab0128`]]),_hoisted_1$9={key:0,class:`content buttons-grid`},_sfc_main$11={__name:`Mirrors`,props:{exitRoute:{type:String,default:`menu.vehicleconfig.tuning`}},setup(__props){useUINavScope(`vehicle-config-mirrors`);let comp=ref(null),{lua,events:events$3}=useBridge(),mirrors=ref([]),selectedMirror=ref(null),props=__props;async function exitAdjustmentMode(){selectedMirror.value?(lua.extensions.core_vehicle_mirror.setAngleOffset(selectedMirror.value.name,-selectedMirror.value.y,-selectedMirror.value.x,!1,!0),selectedMirror.value=null,comp.value=null,await lua.extensions.core_vehicle_mirror.focusOnMirror(!1)):bngVue.gotoAngularState(props.exitRoute)}async function getVehicleMirrors(){let data=await lua.extensions.core_vehicle_mirror.getAnglesOffset();for(let key in mirrors.value.splice(0),data){let position=data[key].position,mirrorIcon=data[key].icon,description=data[key].label;if(position||(/_L$|_L_/.test(key)?(position=`left`,mirrorIcon||=`mirrorLeftDefault`):/_R$|_R_/.test(key)?(position=`right`,mirrorIcon||=`mirrorRightDefault`):position=`mid`),!description)description=$translate.instant(`ui.mirrors.position.`+position),key.endsWith(`_spot`)&&(description+=` (${$translate.instant(`ui.mirrors.spot`)})`);else{let tr=$translate.instant(`ui.mirrors.`+description);tr.startsWith(`ui.mirrors.`)||(description=tr)}mirrors.value.push({name:data[key].name,description,position,x:data[key].angleOffset.x,y:data[key].angleOffset.z,clampX:data[key].clampX,clampY:data[key].clampZ,mirrorIcon:mirrorIcon||`mirrorInteriorMiddle`,row:data[key].row||0})}mirrors.value.sort((a$1,b)=>a$1.row-b.row)}return onMounted(async()=>{await getVehicleMirrors(),events$3.on(`VehicleChange`,getVehicleMirrors),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_lr`),lua.extensions.core_input_bindings.setMenuActionEnabled(!0,`menu_item_focus_ud`)}),onUnmounted(()=>{events$3.off(`VehicleChange`,getVehicleMirrors)}),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(layoutSingle_default),{class:`layout-content-full layout-align-hstart`,"bng-ui-scope":`vehicle-config-mirrors`},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(bngCard_default),{class:`mirrors-card`},{buttons:withCtx(()=>[createVNode(unref(bngButton_default),{onClick:exitAdjustmentMode},{default:withCtx(()=>[selectedMirror.value?(openBlock(),createBlock(unref(bngBinding_default),{key:0,controller:``,"ui-event":`action_2`})):(openBlock(),createBlock(unref(bngBinding_default),{key:1,controller:``,"ui-event":`back`})),createTextVNode(` `+toDisplayString(_ctx.$t(selectedMirror.value?`ui.common.apply`:`ui.common.close`)),1)]),_:1})]),default:withCtx(()=>[createVNode(unref(bngCardHeading_default),null,{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(`ui.mirrors.name`)),1)]),_:1}),selectedMirror.value?(openBlock(),createBlock(MirrorAdjust_default,{key:1,class:`content`,mirror:selectedMirror.value},null,8,[`mirror`])):(openBlock(),createElementBlock(`div`,_hoisted_1$9,[(openBlock(!0),createElementBlock(Fragment,null,renderList(mirrors.value,mirror=>(openBlock(),createBlock(unref(bngImageTile_default),{onClick:$event=>selectedMirror.value=mirror,class:normalizeClass([`mirror-button`,[mirror.position]]),icon:unref(icons)[mirror.mirrorIcon]||unref(icons).placeholder,label:mirror.description,"bng-nav-item":``},null,8,[`onClick`,`class`,`icon`,`label`]))),256))]))]),_:1})),[[unref(BngBlur_default),!0]])]),_:1})),[[unref(BngOnUiNav_default),exitAdjustmentMode,`menu,back`],[unref(BngOnUiNav_default),()=>selectedMirror.value&&exitAdjustmentMode(),`action_2`]])}},Mirrors_default=__plugin_vue_export_helper_default(_sfc_main$11,[[`__scopeId`,`data-v-28f8b633`]]),routes_default$17=[{path:`/vehicle-config`,name:`menu.vehicleconfig`,redirect:`/vehicle-config/parts`,meta:{clickThrough:!0,infoBar:{withAngular:!1,visible:!0,showSysInfo:!1},uiApps:{shown:!0},topBar:{visible:!0}},children:[{path:`parts`,name:`menu.vehicleconfig.parts`,component:VehicleConfig_default,props:{tab:`parts`}},{path:`tuning`,name:`menu.vehicleconfig.tuning`,component:VehicleConfig_default,props:{tab:`tuning`}},{path:`color`,name:`menu.vehicleconfig.color`,component:VehicleConfig_default,props:{tab:`color`},meta:{uiApps:{shown:!1}}},{path:`save`,name:`menu.vehicleconfig.save`,component:VehicleConfig_default,props:{tab:`save`},meta:{uiApps:{shown:!1}}},{path:`debug`,name:`menu.vehicleconfig.debug`,component:VehicleConfig_default,props:{tab:`debug`}}]},{path:`/vehicle-config/tuning/mirrors/:exitRoute?/`,name:`menu.vehicleconfig.tuning.mirrors`,component:Mirrors_default,props:!0},{path:`/vehicle-config/tuning/mirrors-angular`,name:`menu.vehicleconfig.tuning.mirrors.with-angular`,component:Mirrors_default,props:{exitRoute:`menu.vehicleconfigold.tuning`}},{path:`/vehicle-config/tuning/mirrors-garage`,name:`menu.vehicleconfig.tuning.mirrors.in-garage`,component:Mirrors_default,props:{exitRoute:`garagemode.tuning`}}],_hoisted_1$8={key:0,class:`management-details`},_hoisted_2$5={key:0,class:`current-vehicle-info`},_hoisted_3$4={class:`info-row`},_hoisted_4$3={class:`value`},_hoisted_5$2={class:`buttons-section`},_sfc_main$10={__name:`ManagementDetails`,props:{managementDetails:{type:Object,default:null},executeButton:{type:Function,required:!0}},emits:[`button-click`],setup(__props,{emit:__emit}){let props=__props,emit$1=__emit,handleButtonClick=buttonId=>{props.executeButton(buttonId),emit$1(`button-click`,buttonId)};return(_ctx,_cache)=>__props.managementDetails&&__props.managementDetails.buttonInfo&&__props.managementDetails.buttonInfo.length>0?(openBlock(),createElementBlock(`div`,_hoisted_1$8,[__props.managementDetails.details?(openBlock(),createElementBlock(`div`,_hoisted_2$5,[createBaseVNode(`div`,_hoisted_3$4,[_cache[0]||=createBaseVNode(`span`,{class:`label`},`Current Vehicle:`,-1),createBaseVNode(`span`,_hoisted_4$3,toDisplayString(__props.managementDetails.details.currentVehicleName),1)])])):createCommentVNode(``,!0),createBaseVNode(`div`,_hoisted_5$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.managementDetails.buttonInfo,button=>(openBlock(),createElementBlock(`div`,{key:button.buttonId,class:`button-container`},[createVNode(unref(bngButton_default),{accent:button.accent||`secondary`,label:button.label,icon:button.icon,onClick:$event=>handleButtonClick(button.buttonId)},null,8,[`accent`,`label`,`icon`,`onClick`])]))),128))])])):createCommentVNode(``,!0)}},ManagementDetails_default=__plugin_vue_export_helper_default(_sfc_main$10,[[`__scopeId`,`data-v-b0128491`]]),_sfc_main$9={__name:`VehicleSelector`,setup(__props){return(_ctx,_cache)=>(openBlock(),createBlock(GridSelector_default,{backendName:`vehicleSelector`,routePath:`/vehicle-selector`,defaultPath:{keys:[`allModels`]},defaultDetailsMode:`advanced`,tileImagesTopAligned:``},{"item-details":withCtx(({activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod})=>[createVNode(VehicleDetails_default,{activeItem,activeItemDetails,executeButton,toggleFavourite,exploreFolder,goToMod,showHeaderTitle:!0},null,8,[`activeItem`,`activeItemDetails`,`executeButton`,`toggleFavourite`,`exploreFolder`,`goToMod`])]),"management-details":withCtx(({managementDetails,executeButton})=>[createVNode(ManagementDetails_default,{managementDetails,executeButton},null,8,[`managementDetails`,`executeButton`])]),_:1}))}},VehicleSelector_default=_sfc_main$9,routes_default$18=[{name:`menu.vehiclesnew`,path:`/vehicle-selector/:pathMatch(.*)*`,component:VehicleSelector_default,props:!0,meta:{clickThrough:!0,infoBar:{visible:!0,showSysInfo:!1},uiApps:{shown:!1},topBar:{visible:!0}}}],router=createRouter({history:createWebHashHistory(),routes:[...Object.values([routes_default,routes_default$1,routes_default$2,routes_default$3,routes_default$4,routes_default$5,routes_default$6,routes_default$7,routes_default$8,routes_default$9,routes_default$10,routes_default$11,routes_default$12,routes_default$13,routes_default$14,routes_default$15,routes_default$16,routes_default$17,routes_default$18]).flatMap(routes=>routes||[]),{path:`/:catchAll(.*)*`,name:`unknown`,component:NotFound_default}]});router.bngUpdateMeta=to=>{to.meta&&(to.meta.uiApps&&handelUIAppsSettings(to.meta.uiApps),handleInfoBarSettings(to.meta.infoBar||{}),handleTopBarSettings(to))},router.afterEach((to,from)=>{reportState(to.path,!0,from.path),window.bridge.api.engineLua(`extensions.hook("onUiChangedState", "${to.name}", "${from.name}")`),router.bngUpdateMeta(to)});var handelUIAppsSettings=settings$1=>{let appsAPI=useUIApps();settings$1.layout&&appsAPI.setLayout(settings$1.layout),`shown`in settings$1&&appsAPI.setVisible(settings$1.shown)},handleInfoBarSettings=settings$1=>{let infoBar=useInfoBar();infoBar.visible=settings$1.visible,infoBar.showSysInfo=settings$1.showSysInfo,infoBar.withAngular=settings$1.withAngular,settings$1.hints&&(infoBar.clearHints(),infoBar.addHints(settings$1.hints))},handleTopBarSettings=to=>{let topBar=useTopBar(),meta=to.meta.topBar||{};meta.visible?meta.visible&&!topBar.visible&&topBar.show():topBar.hide(),topBar.onUIStateChanged(to)},router_default=router,_hoisted_1$7={key:0,id:`vue-debug`},_hoisted_2$4={class:`heading-wrapper`},_hoisted_3$3={class:`label`},_hoisted_4$2={key:0,class:`route-info`},_hoisted_5$1={class:`main`},_hoisted_6$1={class:`controls`},_hoisted_7$1={key:0},_hoisted_8=[`label`],_hoisted_9=[`value`,`selected`],_sfc_main$8={__name:`VueDebug`,setup(__props){let{lua}=useBridge(),EXTRA_ROUTE,routeGroups=router_default.getRoutes().map(r=>r.name).filter(n=>n!==`routelist`).sort((a$1,b)=>a$1.localeCompare(b)).reduce((res,n)=>{if(!n)return res;let g=n.substring(0,1);return res[g]||(res[g]={name:g.toUpperCase(),routes:[]}),res[g].routes.push(n),res},{}),route=useRoute(),hash=ref(location.hash.split(`#`)[1]),path=computed(()=>route.path),routeName=computed(()=>route.name),showDebug=ref(window._VueDebugState),isOpen=ref(window._VueDebugOpen),showComponents=router_default.hasRoute(`components`),bngVue$1=window.bngVue||{};bngVue$1.debug=(state=!0)=>showDebug.value=window._VueDebugState=state,bngVue$1.reset=()=>bngVue$1.gotoGameState(`menu.mainmenu`);function toggleOpen(){isOpen.value=window._VueDebugOpen=!isOpen.value}function selectRoute(e){e.target.value&&bngVue$1.gotoGameState(e.target.value)}function icons$3(){bngVue$1.gotoGameState(`components/IconBrowser`),toggleOpen()}function colours(){bngVue$1.gotoGameState(`components/Colours`),toggleOpen()}function extra(){bngVue$1.gotoGameState(void 0),toggleOpen()}function components(){bngVue$1.showComponents(),toggleOpen()}function menu(){bngVue$1.reset(),toggleOpen()}function mainmenu(){toggleOpen(),lua.returnToMainMenu()}let closeDebug=e=>{e.stopPropagation(),bngVue$1.debug(!1)};return addEventListener(`hashchange`,e=>{hash.value=e.newURL.split(`#`)[1]}),(_ctx,_cache)=>(openBlock(),createBlock(Teleport,{to:`body`},[showDebug.value?(openBlock(),createElementBlock(`div`,_hoisted_1$7,[createBaseVNode(`div`,{class:`handle`,onClick:toggleOpen},[createBaseVNode(`div`,_hoisted_2$4,[createBaseVNode(`span`,_hoisted_3$3,[_cache[1]||=createBaseVNode(`strong`,null,`Vue`,-1),isOpen.value?createCommentVNode(``,!0):(openBlock(),createElementBlock(`span`,_hoisted_4$2,`: `+toDisplayString(path.value)+` [ `+toDisplayString(routeName.value)+` ]`,1))]),createBaseVNode(`a`,{onClick:closeDebug},`x`)])]),withDirectives(createBaseVNode(`div`,_hoisted_5$1,[createBaseVNode(`div`,null,[createTextVNode(` Current hash: `+toDisplayString(hash.value),1),_cache[2]||=createBaseVNode(`br`,null,null,-1),createTextVNode(` Route name: `+toDisplayString(routeName.value),1)]),_cache[4]||=createBaseVNode(`hr`,null,null,-1),createBaseVNode(`div`,_hoisted_6$1,[unref(showComponents)?(openBlock(),createElementBlock(`div`,_hoisted_7$1,[withDirectives((openBlock(),createElementBlock(`a`,{href:`#`,onClick:menu},[..._cache[3]||=[createTextVNode(`Main Menu`,-1)]])),[[unref(BngDoubleClick_default),mainmenu,void 0,{capture:!0}],[unref(BngTooltip_default),`Doubleclick to unload level`]]),unref(void 0)?(openBlock(),createElementBlock(`a`,{key:0,href:`#`,onClick:extra},`⏩`)):createCommentVNode(``,!0),createBaseVNode(`a`,{href:`#`,onClick:_cache[0]||=$event=>_ctx.$simplemenu.value=!_ctx.$simplemenu.value},toDisplayString(_ctx.$simplemenu.value?`✓`:`☐`)+` SimpleMenu`,1),createBaseVNode(`a`,{href:`#`,onClick:components},`Components`),createBaseVNode(`a`,{href:`#`,onClick:icons$3},`Icons`),createBaseVNode(`a`,{href:`#`,onClick:colours},`Colours`)])):createCommentVNode(``,!0),createBaseVNode(`select`,{multiple:``,onClick:selectRoute},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(routeGroups),group=>(openBlock(),createElementBlock(`optgroup`,{key:group.name,label:group.name},[(openBlock(!0),createElementBlock(Fragment,null,renderList(group.routes,route$1=>(openBlock(),createElementBlock(`option`,{key:route$1,value:route$1,selected:route$1===routeName.value},toDisplayString(route$1),9,_hoisted_9))),128))],8,_hoisted_8))),128))])])],512),[[vShow,isOpen.value]])])):createCommentVNode(``,!0)]))}},VueDebug_default=__plugin_vue_export_helper_default(_sfc_main$8,[[`__scopeId`,`data-v-669cde99`]]),_hoisted_1$6={class:`hint-content`},_hoisted_2$3={key:0,class:`binding-container`},_hoisted_3$2={key:1,class:`text`},_hoisted_4$1={key:1,class:`hint-text`},_sfc_main$7={__name:`Hint`,props:{data:Object},setup(__props){let Controls=controls_default(),props=__props,PROP_DEFAULTS={icon:{color:`white`},binding:{showUnassigned:!0,dark:!1}},hintRef=ref(null),bindingRefs=ref([]),hintContent=computed(()=>{let hints=props.data?[props.data.content].flat():[],res=[],label;for(let hint of hints)typeof hint==`string`?label=hint:(hint.label&&(label=hint.label),res.push({...hint,label:void 0}));return label&&res.push(label),res}),bindingView=computed(()=>{let res=hintContent.value.filter(item=>typeof item!=`string`);for(let item of res)if(item.type===`binding`){if(item.props?.viewerObj){item.viewerObjs=[item.props.viewerObj];continue}let viewerObjs=Controls.makeViewerObj({...PROP_DEFAULTS[item.type],...item.props,actionVariants:!0,useLastDevice:!0});viewerObjs?.variants?item.viewerObjs=viewerObjs.variants:item.viewerObjs=[viewerObjs]}return res}),labelView=computed(()=>hintContent.value.find(item=>typeof item==`string`)||bindingView.value.find(item=>item.label)?.label),bindingDisplayed=computed(()=>!!(bindingRefs.value.some(ref$1=>ref$1.displayed)||bindingView.value.some(item=>item.type===`icon`)||labelView.value));function onClick(evt){if(lastFocused&&document.body.contains(lastFocused)&&!setFocusExternal(lastFocused,!0,!1))try{lastFocused.focus?.()}catch{}props.data.action?.(evt)}let lastFocused;function trackFocus(evt){let target=evt?.detail?.target||evt?.target||document.activeElement;if(!target){lastFocused=null;return}if(target=target.closest(NAVIGABLE_ELEMENTS_SELECTOR),!target){lastFocused=null;return}if(target===lastFocused)return;let button=hintRef.value?.getElement?.();target!==button&&!button.contains(target)&&(lastFocused=target)}return onMounted(()=>window.addEventListener(`uinav-focus`,trackFocus)),onBeforeUnmount(()=>window.removeEventListener(`uinav-focus`,trackFocus)),(_ctx,_cache)=>withDirectives((openBlock(),createBlock(unref(bngButton_default),{ref_key:`hintRef`,ref:hintRef,class:normalizeClass([`hint`,{"flash-on":__props.data.flash}]),accent:unref(ACCENTS).text,disabled:!__props.data.action,onClick:withModifiers(onClick,[`stop`]),"bng-no-nav":``,tabindex:`-1`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$6,[bindingView.value.length>0?(openBlock(),createElementBlock(`div`,_hoisted_2$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(bindingView.value,(item,idx)=>(openBlock(),createElementBlock(`span`,{key:idx,class:`rich`},[item.type===`icon`?(openBlock(),createBlock(unref(bngIcon_default),mergeProps({key:0,class:`icon`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props}),null,16)):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(item.viewerObjs,(viewerObj,index)=>(openBlock(),createBlock(unref(bngBinding_default),mergeProps({key:index,ref_for:!0,ref_key:`bindingRefs`,ref:bindingRefs,class:`binding`},{ref_for:!0},{...PROP_DEFAULTS[item.type],...item.props,viewerObj},{"track-ignore":``}),null,16))),128)),item.hold?(openBlock(),createElementBlock(`span`,_hoisted_3$2,toDisplayString(item.hold?`[hold]`:``),1)):createCommentVNode(``,!0)]))),128))])):createCommentVNode(``,!0),labelView.value?(openBlock(),createElementBlock(`span`,_hoisted_4$1,toDisplayString(_ctx.$tt(labelView.value)),1)):createCommentVNode(``,!0)])]),_:1},8,[`class`,`accent`,`disabled`])),[[vShow,bindingDisplayed.value]])}},Hint_default=__plugin_vue_export_helper_default(_sfc_main$7,[[`__scopeId`,`data-v-29a63ba0`]]),_hoisted_1$5={key:0,class:`info-bar-stats`},_hoisted_2$2={key:0},_hoisted_3$1={key:0,class:`divider`},_hoisted_4={key:0},_hoisted_5={class:`sysinfo`},_hoisted_6={class:`sysinfo`},_hoisted_7={key:1,class:`info-bar-buttons`,"bng-no-child-nav":`true`},_sfc_main$6={__name:`InfoBar`,setup(__props){let{visible,showSysInfo,withAngular,hints}=storeToRefs(useInfoBar()),showBuildInfo=ref(!1),toggleBuildInfo=()=>showBuildInfo.value=!showBuildInfo.value,route=useRoute(),solidBar=computed(()=>route.name===`menu.mainmenu`?!sysInfo_default.mainMenuBackgroundRequired.value:withAngular.value);return(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{class:normalizeClass([`info-bar`,{"info-bar-solid":solidBar.value}]),"bng-no-nav":`true`},[unref(showSysInfo)?(openBlock(),createElementBlock(`div`,_hoisted_1$5,[withDirectives(createVNode(unref(bngIcon_default),{style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(sysInfo_default).online?unref(icons).globeSimplified:unref(icons).globeSimpleNotSign},null,8,[`type`]),[[unref(BngTooltip_default),unref(sysInfo_default).online?`Online`:`Offline`,`top`]]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(sysInfo_default).serviceProviders.value,(info,key)=>(openBlock(),createElementBlock(Fragment,null,[unref(sysInfo_default).serviceProvidersOnline.value[key]?(openBlock(),createElementBlock(`span`,_hoisted_2$2,[createVNode(unref(bngImageAsset_default),{src:`images/mainmenu/${key}icon.png`},null,8,[`src`]),createTextVNode(` `+toDisplayString(info.playerName)+` `,1),info.branch&&info.branch!==`public`?withDirectives((openBlock(),createBlock(unref(bngIcon_default),{key:0,style:{"--bng-icon-size":`1.25em`,padding:`0`},type:unref(icons).branch},null,8,[`type`])),[[unref(BngTooltip_default),`Branch: `+info.branch,`top`]]):createCommentVNode(``,!0),createTextVNode(` `+toDisplayString(info.branch&&info.branch!==`public`?info.branch:``),1)])):createCommentVNode(``,!0)],64))),256)),unref(sysInfo_default).online||unref(sysInfo_default).serviceProvidersOnline.value.any?(openBlock(),createElementBlock(`span`,_hoisted_3$1)):createCommentVNode(``,!0),createBaseVNode(`span`,{onClick:toggleBuildInfo},[showBuildInfo.value?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`span`,_hoisted_5,`Alpha v.`+toDisplayString(unref(sysInfo_default).version),1),createBaseVNode(`span`,_hoisted_6,toDisplayString(unref(sysInfo_default).buildInfo),1)],64)):(openBlock(),createElementBlock(`span`,_hoisted_4,`Alpha v.`+toDisplayString(unref(sysInfo_default).versionSimple),1))])])):createCommentVNode(``,!0),_cache[0]||=createBaseVNode(`div`,{class:`spacer`},null,-1),unref(hints).length?(openBlock(),createElementBlock(`div`,_hoisted_7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hints),item=>(openBlock(),createBlock(Hint_default,{key:item.id,data:item},null,8,[`data`]))),128))])):createCommentVNode(``,!0)],2)),[[vShow,unref(visible)],[unref(BngBlur_default),solidBar.value&&!unref(sysInfo_default).mainMenuBackgroundRequired.value]])}},InfoBar_default=__plugin_vue_export_helper_default(_sfc_main$6,[[`__scopeId`,`data-v-cb5f8971`]]),_hoisted_1$4=[`accent`],_sfc_main$5={__name:`TopBarItem`,props:{icon:{type:String,required:!0},active:{type:Boolean,default:void 0},label:String,iconOnly:Boolean,iconPosition:{type:String,default:`left`},accent:{type:String,default:`default`}},setup(__props){let props=__props,item=ref(null);return watch(()=>props.active,value=>{typeof value==`boolean`&&(value?(item.value.setAttribute(`active`,`true`),item.value.removeAttribute(NO_NAV_ATTR)):(item.value.removeAttribute(`active`),item.value.setAttribute(NO_NAV_ATTR,`true`)))}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,{ref_key:`item`,ref:item,class:normalizeClass([`topbar-item`,{"icon-only":__props.iconOnly}]),accent:__props.accent,"bng-nav-item":``,"bng-no-nav":`true`,tabindex:`-1`},[createVNode(unref(bngIcon_default),{class:`topbar-item-icon`,type:__props.icon},null,8,[`type`]),__props.label&&!__props.iconOnly?(openBlock(),createBlock(unref(textScroller_default),{key:0,class:`topbar-item-text`},{default:withCtx(()=>[createTextVNode(toDisplayString(_ctx.$t(__props.label)),1)]),_:1})):createCommentVNode(``,!0)],10,_hoisted_1$4)),[[unref(BngSoundClass_default),`bng_click_hover_generic`]])}},TopBarItem_default=__plugin_vue_export_helper_default(_sfc_main$5,[[`__scopeId`,`data-v-2c3015cd`]]),_hoisted_1$3={class:`topbar`},_hoisted_2$1={class:`topbar-section topbar-left`},_hoisted_3={class:`topbar-section topbar-center`},_sfc_main$4={__name:`TopBar`,setup(__props,{expose:__expose}){let topBar=useTopBar(),{visible,items:items$2,activeItem,gameState:gameState$1}=storeToRefs(topBar),overflowContainer=ref(null),pauseButtonTarget=ref(null),showTabBindings=ref(!0),showBackBinding=ref(!0),onItemClicked=item=>{activeItem.value!==item.id&&(activeItem.value=item.id,topBar.selectEntry(item.id))},backStack=new Map,customBack=null;function setBack(id,fn){if(!id)throw Error("Usage: TopBar.setBack(id, [fn]), where `id` is your unique id and `fn` is a custom back function that will fire and expected to return `true` or `false` (undefined return means `true`), which will dis-/allow the base back functionality.");typeof fn==`function`?backStack.set(id,fn):backStack.delete(id),customBack=Array.from(backStack.values()).at(-1)||null}let onBack=()=>{let res=customBack?.();res===void 0&&(res=!0),res&&(gameState$1.isInGame?window.bngVue.gotoGameState(`play`):window.globalAngularRootScope?.$broadcast(`MenuToggle`))},onContinue=()=>{window.bngVue.gotoAngularState(`play`)};return watch(()=>activeItem.value,val=>{if(activeItem.value!==null&&items$2.value.length>0){let idx=items$2.value.findIndex(item=>item.id===val);overflowContainer.value.activate(idx)}else overflowContainer.value.deactivate()}),__expose({pauseButtonTarget:computed(()=>visible.value?pauseButtonTarget.value:null),setBack,showTabBindings,showBackBinding}),onMounted(()=>{}),onUnmounted(()=>{}),(_ctx,_cache)=>withDirectives((openBlock(),createElementBlock(`div`,_hoisted_1$3,[createBaseVNode(`div`,_hoisted_2$1,[unref(gameState$1).isInGame?withDirectives((openBlock(),createBlock(unref(bngButton_default),{key:0,"track-ignore":``,accent:`custom`,class:`topbar-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onContinue},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).play},null,8,[`type`]),createVNode(unref(bngBinding_default),{"ui-event":`menu`,controller:``})]),_:1})),[[unref(BngTooltip_default),`Back to gameplay`,`right`]]):createCommentVNode(``,!0),withDirectives((openBlock(),createBlock(unref(bngButton_default),{"track-ignore":``,accent:`custom`,class:`topbar-button back-button`,"bng-no-nav":`true`,tabindex:`-1`,onClick:onBack},{default:withCtx(()=>[createVNode(unref(bngIcon_default),{type:unref(icons).undo},null,8,[`type`]),withDirectives(createVNode(unref(bngBinding_default),{"ui-event":`back`,controller:``},null,512),[[vShow,showBackBinding.value]])]),_:1})),[[unref(BngTooltip_default),`Back one level`,`right`]])]),createBaseVNode(`div`,_hoisted_3,[withDirectives(createVNode(unref(bngOverflowContainer_default),{ref_key:`overflowContainer`,ref:overflowContainer,class:`topbar-overflow-container`,"use-bindings-only":``,"show-bindings":showTabBindings.value},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(items$2),item=>(openBlock(),createBlock(TopBarItem_default,{key:item.id,icon:item.icon,label:item.label,onClick:$event=>onItemClicked(item)},null,8,[`icon`,`label`,`onClick`]))),128))]),_:1},8,[`show-bindings`]),[[vShow,unref(items$2).length>0]])]),createBaseVNode(`div`,{ref_key:`pauseButtonTarget`,ref:pauseButtonTarget,class:`topbar-section topbar-right`},null,512)])),[[vShow,unref(visible)],[unref(BngBlur_default)]])}},TopBar_default=__plugin_vue_export_helper_default(_sfc_main$4,[[`__scopeId`,`data-v-c4d95c66`]]),_sfc_main$3={__name:`Popup`,props:{type:{type:String,default:`default`,validator:val=>[`default`,`activity`].includes(val)}},setup(__props){let props=__props,popups=computed(()=>popupsView[props.type===`default`?`popups`:`activities`]),popupsWrapper=computed(()=>popupsView[props.type===`default`?`popupsWrapper`:`activitiesWrapper`]),wrapper=ref(),innerWrapper=ref(),shown=reactive({wrapper:!1,popups:!1}),tmr;watch(()=>!!popups.value,cur=>{if(cur===shown.wrapper)return;let body=document.body;cur&&popupsWrapper.value.fade?body.classList.add(`popup-all-hide`):body.classList.remove(`popup-all-hide`),tmr&&clearTimeout(tmr),cur?(shown.wrapper=!0,nextTick(()=>{props.type===`default`&&wrapper.value&&typeof wrapper.value.showModal==`function`&&wrapper.value.showModal(),nextTick(()=>shown.popups=!0)}),popupsWrapper.value.fade&&body.classList.add(`popup-show-hide`)):tmr=setTimeout(()=>{tmr=null,!popups.value&&(body.classList.remove(`popup-show-hide`),shown.popups=!1,shown.wrapper=!1,nextTick(()=>priorityFocus()))},200)});function handleUINavEvents(event){console.log(`POPUP handleUINavEvents stopPropagation`,event),event.stopPropagation()}return(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[shown.wrapper?withDirectives((openBlock(),createBlock(resolveDynamicComponent(__props.type===`default`?`dialog`:`div`),{key:0,ref_key:`wrapper`,ref:wrapper,class:normalizeClass([`popup-wrapper`,`popup-type-${__props.type}`])},{default:withCtx(()=>[createVNode(Transition,{name:`popup-background`},{default:withCtx(()=>[shown.popups?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`popup-background`,...popupsWrapper.value.style.map(name=>`background-style-`+name)])},null,2)):createCommentVNode(``,!0)]),_:1}),createVNode(TransitionGroup,{name:`popup-fade`},{default:withCtx(()=>[shown.popups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(popups.value,popup=>(openBlock(),createElementBlock(`div`,{key:popup.id,class:normalizeClass([`popup-container`,...popup.position.map(name=>`content-position-`+name),popup.animated?`popup-animated`:`popup-notanimated`,popup.active?`popup-active`:`popup-inactive`])},[(openBlock(),createBlock(resolveDynamicComponent(popup.component.ref),mergeProps({ref_for:!0},popup.props,{popupActive:popup.active,class:[`popup-content`,popup.active?`popup-active`:`popup-inactive`],onReturn:popup.return}),null,16,[`popupActive`,`class`,`onReturn`]))],2))),128)):createCommentVNode(``,!0)]),_:1}),createBaseVNode(`div`,{ref_key:`innerWrapper`,ref:innerWrapper},null,512)]),_:1},8,[`class`])),[[unref(BngBlur_default),popupsWrapper.value.blur],[unref(BngOnUiNav_default),handleUINavEvents,`back,menu`]]):createCommentVNode(``,!0),(openBlock(),createBlock(Teleport,{to:innerWrapper.value,disabled:!innerWrapper.value},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],8,[`to`,`disabled`]))],64))}},Popup_default=__plugin_vue_export_helper_default(_sfc_main$3,[[`__scopeId`,`data-v-c0bb08d7`]]),_hoisted_1$2={class:`popover-container`},_sfc_main$2={__name:`Popover`,setup(__props){return usePopover(),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1$2))}},Popover_default=__plugin_vue_export_helper_default(_sfc_main$2,[[`__scopeId`,`data-v-86205238`]]),_hoisted_1$1={class:`backgrounds-cache`},_hoisted_2=[`src`],DRIVE=8,TECH=1,_sfc_main$1={__name:`MainBackground`,setup(__props,{expose:__expose}){let bgPathResolve=(product,name,blur$1=!1)=>`images/mainmenu/${product?product+`/`:``}${name}${blur$1?`_blur`:``}.jpg`,_backgrounds={drive:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1)),drive_blur:Array.from({length:DRIVE},(_,i)=>bgPathResolve(`drive`,i+1,!0)),tech:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1)),tech_blur:Array.from({length:TECH},(_,i)=>bgPathResolve(`tech`,i+1,!0)),unofficial:[bgPathResolve(null,`unofficial_version`)],unofficial_blur:[bgPathResolve(null,`unofficial_version`,!0)]},backgroundId=ref(`drive`),backgrounds=computed(()=>({normal:_backgrounds[backgroundId.value],blur:_backgrounds[backgroundId.value+`_blur`]})),carousel=ref();return __expose({carousel:computed(()=>carousel.value),backgrounds:computed(()=>backgrounds.value)}),onMounted(async()=>{let isTech=await Lua_default.extensions.tech_license.isValid();backgroundId.value=isTech?`tech`:`drive`,bngApi.engineLua(`sailingTheHighSeas`,ahoy=>{backgroundId.value=ahoy?`unofficial`:isTech?`tech`:`drive`})}),(_ctx,_cache)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Slideshow_default,{class:`background-image`,ref_key:`carousel`,ref:carousel,images:backgrounds.value.normal,delay:1e4,transition:``,shuffle:``},null,8,[`images`]),(openBlock(!0),createElementBlock(Fragment,null,renderList(backgrounds.value,list=>(openBlock(),createElementBlock(`div`,_hoisted_1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(list,src=>(openBlock(),createElementBlock(`img`,{src:unref(getAssetURL)(src)},null,8,_hoisted_2))),256))]))),256))],64))}},MainBackground_default=__plugin_vue_export_helper_default(_sfc_main$1,[[`__scopeId`,`data-v-6c1f834b`]]),_hoisted_1={id:`vue-app-container`},_sfc_main={__name:`App`,setup(__props){let route=useRoute(),settings$1=useSettings(),bngVue$1=window.bngVue||{},apps=ref([]),appContCnt=ref(0),appTargets=computed(()=>apps.value.reduce((res,{teleport})=>({...res,[teleport]:document.getElementById(teleport.substring(1)),cnt:appContCnt.value}),{}));bngVue$1.updateAppContainer=()=>window.requestAnimationFrame(()=>appContCnt.value=++appContCnt.value%1e5);let contClickThrough=ref(!1);bngVue$1.gotoAngularState=(state=`blank`,params=void 0)=>window.angular&&window.angular.element(document.querySelector(`body`)).controller().changeAngularStateFromVue(state,params),bngVue$1.gotoGameState=(state=`ui-test`,{params=!1,tryAngularJS=!0,blankAngularJS=!0,clickThrough=!1,uiAppsShown=!1}={})=>{let a$1=history.state;if(!router_default.hasRoute(state))window.location.hash=`#/`+state,route&&(handleUiAppsMeta(route,uiAppsShown),router_default.bngUpdateMeta(route)),tryAngularJS&&bngVue$1.gotoAngularState(state,params);else{blankAngularJS&&bngVue$1.gotoAngularState(`blank`);let newroute=router_default.resolve({name:state,params});handleUiAppsMeta(newroute,uiAppsShown),newroute.name===route.name&&router_default.bngUpdateMeta(route),window.location.hash=newroute.href,router_default.replace({name:state,params})}history.replaceState(a$1,``,window.location.toString()),contClickThrough.value=clickThrough};function handleUiAppsMeta(route$1,uiAppsShown){route$1.meta?route$1.meta.uiApps||(route$1.meta.uiApps={}):route$1.meta={uiApps:{}},typeof route$1.meta.uiApps.shown!=`boolean`&&(route$1.meta.uiApps.shown=uiAppsShown)}bngVue$1.getCurrentRoute=()=>router_default.currentRoute.value,bngVue$1.spawnApp=(appName,appId,params=null)=>spawnUiApp(appName,appId,params,apps.value),bngVue$1.destroyApp=appName=>destroyUiApp(appName,apps.value),useFocusManager();let topBar=ref();provide(`setBack`,(id,fn)=>topBar.value?.setBack(id,fn)),provide(`showTopbarTabBindings`,val=>topBar.value&&(topBar.value.showTabBindings=val)),provide(`showTopbarBackBinding`,val=>topBar.value&&(topBar.value.showBackBinding=val));let bgRequired=sysInfo_default.mainMenuBackgroundRequired,mainBackground=ref();return provide(`mainBackground`,computed(()=>mainBackground.value?.carousel)),provide(`mainBackgroundBlur`,computed(()=>mainBackground.value?.backgrounds.blur)),watch([()=>settings$1.values.uiLayoutContentAlignment,()=>settings$1.values.uiLayoutContentWidth],([alignment,width$1])=>{let rootStyle=document.documentElement.style;alignment=LAYOUT_ALIGNMENTS[alignment||`center`],width$1=width$1?`${width$1}px`:`100vw`,window.requestAnimationFrame(()=>{rootStyle.setProperty(`--layout-content-alignment`,alignment),rootStyle.setProperty(`--layout-content-width`,width$1)})},{immediate:!0}),(_ctx,_cache)=>{let _component_router_view=resolveComponent(`router-view`);return openBlock(),createElementBlock(Fragment,null,[unref(bgRequired)?(openBlock(),createBlock(MainBackground_default,{key:0,ref_key:`mainBackground`,ref:mainBackground},null,512)):createCommentVNode(``,!0),unref(route).name===`unknown`?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,{key:1,class:normalizeClass({"vue-app-main":!0,"click-through":contClickThrough.value||unref(route).meta&&unref(route).meta.clickThrough})},[createVNode(TopBar_default,{ref_key:`topBar`,ref:topBar},null,512),createVNode(_component_router_view),createVNode(InfoBar_default)],2)),createVNode(pauseButton_default,{"teleport-to":topBar.value?.pauseButtonTarget},null,8,[`teleport-to`]),unref(route).name===`unknown`?(openBlock(),createBlock(Popup_default,{key:2,type:`activity`})):createCommentVNode(``,!0),createVNode(Popup_default,null,{default:withCtx(()=>[createVNode(Popover_default)]),_:1}),createVNode(LoadingScreen_default),createVNode(VueDebug_default),createBaseVNode(`div`,_hoisted_1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(apps.value,(app$1,index)=>(openBlock(),createElementBlock(Fragment,{key:app$1.appKey},[appTargets.value[app$1.teleport]?(openBlock(),createBlock(Teleport,{key:0,to:app$1.teleport},[(openBlock(),createBlock(resolveDynamicComponent(app$1.comp),mergeProps({ref_for:!0},app$1.props),null,16))],8,[`to`])):createCommentVNode(``,!0)],64))),128))])],64)}}},App_default=__plugin_vue_export_helper_default(_sfc_main,[[`__scopeId`,`data-v-eef28b65`]]);function customDisposePlugin(context){let store$1=context.store,{$dispose,dispose:dispose$2}=store$1;store$1.$dispose=()=>{$dispose(),dispose$2&&typeof dispose$2==`function`&&dispose$2()}}window.watchdogInit=init,window.Vue=vue_esm_bundler_exports;var deps={Emitter:eventemitter3_default,beamng:window.beamng};window.bngApi&&(deps.overrideAPI=window.bngApi),setBridgeDependencies(deps);var bridge=useBridge();window.bridge=bridge,sysInfo_default.init(),initFocusVisible(),bridge.uiNavService=new UINavService(bridge.events),setUINavServiceInstance(bridge.uiNavService),bridge.uiNavService.initialize();var pinia=createPinia().use(()=>({$game:bridge})).use(customDisposePlugin),app=createApp(App_default).use(router_default).use(pinia).use(registerApps,apps_exports);useGameContextStore(),window.bngVue={start:()=>{window.vueGlobalStore||(window.vueGlobalStore=reactive({}));let globals={$game:bridge,$console:logger_default,$logger:logger_default,$simplemenu:ref(!!window.beamng?.simplemenu),$globalStore:window.vueGlobalStore},{i18n,plugin:translationPlugin$1}=initTranslation();app.use(i18n).use(translationPlugin$1());for(let[key,value]of Object.entries(globals))app.config.globalProperties[key]=value,app.provide(key,value);app.mount(`#vue-app`);let controlsStore=controls_default();window.bngVue.controls={getControllers:()=>controlsStore.controllers,getPlayers:()=>controlsStore.players,getCategories:()=>controlsStore.categories,getCategoriesList:()=>controlsStore.categoriesList,findBindingForAction:controlsStore.findBindingForAction,getActionDetails:controlsStore.getActionDetails,getBindingDetails:controlsStore.getBindingDetails,getAllBindingsForAction:controlsStore.getAllBindingsForAction,addNewBinding:controlsStore.addNewBinding,updateBinding:controlsStore.updateBinding,deleteBinding:controlsStore.deleteBinding,deleteBindings:controlsStore.deleteBindings,deviceIcon:controlsStore.deviceIcon,isFFBBound:controlsStore.isFFBBound,isFFBEnabled:controlsStore.isFFBEnabled,isFFBCapable:controlsStore.isFFBCapable,isGamepadAvailable:controlsStore.isGamepadAvailable,captureBinding:controlsStore.captureBinding,makeViewerObj:controlsStore.makeViewerObj,isControllerAvailable:controlsStore.isControllerAvailable,isControllerUsed:controlsStore.isControllerUsed,showIfController:controlsStore.showIfController,focusIfController:controlsStore.focusIfController,refreshData:()=>bridge.lua.extensions.core_input_bindings.notifyUI(`Vue exposed controls service needs the data`)},window.bngVue.uiNavTracker=useUINavTracker(),window.bngVue.topBar=useTopBar()},startTest:()=>{app.mount(`#vue-app`)},isProd:!0,icons},window.beamng||window.bngVue.start({i18n:window.i18n});
    @/lua/ge/extensions/ui/vehicleSelector/tiles.lua
      -- Create tiles instance with vehicle-specific configuration
      tilesInstance = tilesModule.create({
        -- Vehicle-specific item to tile converter
    @/lua/vehicle/controller/wendoverGauges.lua
        if htmlPath then
          htmlTexture.create(gaugesScreenName, htmlPath, width, height, updateFPS, "automatic")
        else
    @/ui/ui-vue/src/modules/radial/radialsvg.js
       * @param {Object} [config] Appearance configuration
       * @param {HTMLElement} [element] Element to draw `` in. Or call `create(element)` anytime later.
       */
        if (element) {
          this.create(element)
        }
       */
      create(element) {
        if (this.parent === element) return
    @/lua/ge/extensions/gameplay/markers/walkingMarker.lua
    
    local function create(...)
      local o = {}
    @/ui/lib/ext/angular/angular.js
    function inherit(parent, extra) {
      return extend(Object.create(parent), extra);
    }
        if (destination === undefined) {
          destination = isArray(source) ? [] : Object.create(getPrototypeOf(source));
          needsRecurse = true;
    function createMap() {
      return Object.create(null);
    }
    
      this.$$registeredAnimations = Object.create(null);
    
              expression[expression.length - 1] : expression).prototype;
            instance = Object.create(controllerPrototype || null);
    
    forEach([LocationHashbangInHtml5Url, LocationHashbangUrl, LocationHtml5Url], function(Location) {
      Location.prototype = Object.create(locationPrototype);
    
    @/lua/ge/extensions/gameplay/playmodeMarkers.lua
      if not markersByClusterId[cluster.id] then
        local marker = cluster.create()
        marker:createObjects()
    @/lua/common/libs/luamqtt/mqtt/client.lua
    -- @treturn client_mt MQTT client instance
    function client.create(...)
    	local cl = setmetatable({}, client_mt)
    @/lua/ge/extensions/editor/raceEditor/pathnodes.lua
          function(data) --redo
            local node = data.self.path.pathnodes:create(nil, data.nodeId or nil)
            data.nodeId = node.id
            if data.index ~= nil then
              local seg = data.self.path.segments:create(nil, data.segId or nil)
              seg:setFrom(data.index)
          function(data) --redo
            local node = data.self.path.pathnodes:create(nil, data.nodeId or nil)
            data.nodeId = node.id
            if data.index ~= nil then
              local seg = data.self.path.segments:create(nil, data.segId or nil)
              seg:setFrom(data.index)
            function(data) -- undo
              local node = self.path.pathnodes:create(nil, data.nodeData.oldId)
              node:onDeserialized(data.nodeData)
        function(data)
          local sp = data.self.path.startPositions:create(nil, data.spid or nil)
          sp:set(data.pos, quatFromDir(data.normal):normalized())
    @/lua/ge/extensions/editor/sitesEditor/sortedListDisplay.lua
          if self.mouseInfo.down and not editor.isAxisGizmoHovered() then
            local elem = self.elementEditor:create(self.mouseInfo._downPos)
            self:selectElement(elem and elem.id)
        if im.Selectable1('Create...', false) then
          local elem = self.elementEditor:create(nil)
          self:selectElement(elem and elem.id)
    @/lua/ge/extensions/gameplay/drift/stuntZones/hitPole.lua
    
      core_jobsystem.create(function(job)
        job.sleep(0.1)  -- since reset a vehicle takes more than one frame, we need a hack. Otherwise the marker will remain at the pre-reset veh's position
    @/ui/lib/ext/resize-observer-polyfill/ResizeObserver.js
            var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
            var rect = Object.create(Constr.prototype);
            // Rectangle's properties are not writable and non-enumerable.
    @/lua/ge/extensions/freeroam/bigMapMode.lua
      if v.bigMap then
        extensions.core_jobsystem.create(
          function (job)
      elseif v.navDestinationForLuaReloads and not career_career.isActive() then
        extensions.core_jobsystem.create(
          function (job)
    @/lua/vehicle/controller/beamNavigator.lua
    
      htmlTexture.create(screenMaterialName, htmlFilePath, textureWidth, textureHeight, textureFPS, "automatic")
      obj:queueGameEngineLua(string.format("extensions.ui_uinavi.requestVehicleDashboardMap(%q, nil, %d)", screenMaterialName, obj:getID()))
    @/lua/common/libs/luamqtt/mqtt/init.lua
    --- Create new MQTT client instance
    -- @param ... Same as for mqtt.client.create(...)
    -- @see mqtt.client.client_mt:__init
    @/lua/ge/extensions/tech/sensors.lua
      }
      local serializedData = string.format("extensions.tech_advancedIMU.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      }
      local serializedData = string.format("extensions.tech_GPS.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      local data = { sensorId = sensorId, GFXUpdateTime = args.GFXUpdateTime, physicsUpdateTime = args.physicsUpdateTime }
      local serializedData = string.format("extensions.tech_powertrainSensor.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      local data = { sensorId = sensorId, GFXUpdateTime = args.GFXUpdateTime, physicsUpdateTime = args.physicsUpdateTime }
      local serializedData = string.format("extensions.tech_idealRADARSensor.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      local data = { sensorId = sensorId, GFXUpdateTime = args.GFXUpdateTime, physicsUpdateTime = args.physicsUpdateTime }
      local serializedData = string.format("extensions.tech_roadsSensor.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      local data = { sensorId = sensorId, GFXUpdateTime = args.GFXUpdateTime }
      local serializedData = string.format("extensions.tech_mesh.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      }
      local serializedData = string.format("extensions.tech_validation.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
      }
      local serializedData = string.format("extensions.tech_tyreBarrier.create(%q)", lpack.encode(data))
      be:queueObjectLua(vid, serializedData)
    @/lua/ge/extensions/ui/liveryEditor/camera.lua
    M.setCameraByLayer = function(layer)
      core_jobsystem.create(setCameraPosRotInJob, nil, layer)
    end
      -- orthographicView = view
      core_jobsystem.create(setCameraRotationInJob, nil, M.orthographicViews[view])
      -- core_jobsystem.create(setCameraRotationInJob, nil, ORTHOGRAPHIC_VIEWS[orthographicView])
      core_jobsystem.create(setCameraRotationInJob, nil, M.orthographicViews[view])
      -- core_jobsystem.create(setCameraRotationInJob, nil, ORTHOGRAPHIC_VIEWS[orthographicView])
      -- resetCursorPosition()
    M.switchToOrbit = function(resetCam)
      core_jobsystem.create(setToOrbitCameraJob, nil, resetCam)
    end
    @/lua/ge/extensions/util/compileMeshes.lua
      --settings.setValue("WinConsoleLogBlacklist", "DA")
      extensions.core_jobsystem.create(work, 1) -- yield every second, good for background tasks
    end
    @/ui/lib/ext/vue3/vue.global.prod.js
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),o=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function r(e){if(T(e)){const t={};for(let n=0;n{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(T(e))for(let n=0;nf(e,t)))}const h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||P(t)?t:String(t),m={},g=[],v=()=>{},y=()=>!1,b=/^on[^a-z]/,_=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,C=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k=Object.prototype.hasOwnProperty,w=(e,t)=>k.call(e,t),T=Array.isArray,N=e=>"[object Map]"===R(e),E=e=>"[object Set]"===R(e),$=e=>e instanceof Date,F=e=>"function"==typeof e,A=e=>"string"==typeof e,M=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,O=e=>I(e)&&F(e.then)&&F(e.catch),B=Object.prototype.toString,R=e=>B.call(e),P=e=>"[object Object]"===R(e),V=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,H=j((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),D=/\B([A-Z])/g,z=j((e=>e.replace(D,"-$1").toLowerCase())),W=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=j((e=>e?`on${W(e)}`:"")),G=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let Y;const ee=Symbol(""),te=Symbol("");function ne(e,t=m){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){se(n);try{return le.push(ie),ie=!0,X.push(n),Y=n,e()}finally{X.pop(),ae(),Y=X[X.length-1]}}};return n.id=re++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function oe(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let re=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach((e=>{(e!==Y||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(c);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&c(e)}));else switch(void 0!==n&&c(i.get(n)),t){case"add":T(e)?V(n)&&c(i.get("length")):(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"delete":T(e)||(c(i.get(ee)),N(e)&&c(i.get(te)));break;case"set":N(e)&&c(i.get(ee))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const fe=t("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(M)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?t?Qe:Ze:t?Je:qe).get(n))return n;const s=T(n);if(!e&&s&&w(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(M(o)?de.has(o):fe(o))return i;if(e||ue(n,0,o),t)return i;if(ct(i)){return!s||!V(o)?i.value:i}return I(i)?e?tt(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=it(this);for(let t=0,r=this.length;t{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ae(),n}}));function _e(e=!1){return function(t,n,o,r){let s=t[n];if(!e&&(o=it(o),s=it(s),!T(t)&&ct(s)&&!ct(o)))return s.value=o,!0;const i=T(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=S({},xe,{get:me,set:_e(!0)}),ke=S({},Se,{get:ve}),we=e=>I(e)?Ye(e):e,Te=e=>I(e)?tt(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function $e(e,t,n=!1,o=!1){const r=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(r,0,t),!n&&ue(r,0,s);const{has:i}=Ee(r),l=o?Ne:n?Te:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function Fe(e,t=!1){const n=this.__v_raw,o=it(n),r=it(e);return e!==r&&!t&&ue(o,0,e),!t&&ue(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ee),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Ee(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function Ie(e,t){t=it(t);const n=it(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=it(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?G(t,i)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Oe(e){const t=it(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=it(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Re(e,t){return function(n,o){const r=this,s=r.__v_raw,i=it(s),l=t?Ne:e?Te:we;return!e&&ue(i,0,ee),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function Pe(e,t,n){return function(...o){const r=this.__v_raw,s=it(r),i=N(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ne:t?Te:we;return!t&&ue(s,0,c?te:ee),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return"delete"!==e&&this}}const Le={get(e){return $e(this,e)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!1)},je={get(e){return $e(this,e,!1,!0)},get size(){return Ae(this)},has:Fe,add:Me,set:Ie,delete:Oe,clear:Be,forEach:Re(!1,!0)},Ue={get(e){return $e(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!1)},He={get(e){return $e(this,e,!0,!0)},get size(){return Ae(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Re(!0,!0)};function De(e,t){const n=t?e?He:je:e?Ue:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(w(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Le[e]=Pe(e,!1,!1),Ue[e]=Pe(e,!0,!1),je[e]=Pe(e,!1,!0),He[e]=Pe(e,!0,!0)}));const ze={get:De(!1,!1)},We={get:De(!1,!0)},Ke={get:De(!0,!1)},Ge={get:De(!0,!0)},qe=new WeakMap,Je=new WeakMap,Ze=new WeakMap,Qe=new WeakMap;function Xe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:nt(e,!1,xe,ze,qe)}function et(e){return nt(e,!1,Ce,We,Je)}function tt(e){return nt(e,!0,Se,Ke,Ze)}function nt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Xe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function st(e){return ot(e)||rt(e)}function it(e){return e&&it(e.__v_raw)||e}const lt=e=>I(e)?Ye(e):e;function ct(e){return Boolean(e&&!0===e.__v_isRef)}function at(e){return pt(e)}class ut{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:lt(e)}get value(){return ue(it(this),0,"value"),this._value}set value(e){G(it(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:lt(e),pe(it(this),"set","value",e))}}function pt(e,t=!1){return ct(e)?e:new ut(e,t)}function ft(e){return ct(e)?e.value:e}const dt={get:(e,t,n)=>ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ct(r)&&!ct(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ht(e){return ot(e)?e:new Proxy(e,dt)}class mt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>ue(this,0,"value")),(()=>pe(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class gt{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 vt(e,t){return ct(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,pe(it(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=it(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),ue(e,0,"value"),e._value}set value(e){this._setter(e)}}const bt=[];function _t(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ct(t)?(t=xt(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function St(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){kt(s,t,n)}return r}function Ct(e,t,n,o){if(F(e)){const r=St(e,t,n,o);return r&&O(r)&&r.catch((e=>{kt(e,t,n)})),r}const r=[];for(let s=0;s>>1;Wt(Nt[e])-1?Nt.splice(t,0,e):Nt.push(e),jt()}}function jt(){wt||Tt||(Tt=!0,Rt=Bt.then(Kt))}function Ut(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),jt()}function Ht(e){Ut(e,It,Mt,Ot)}function Dt(e,t=null){if($t.length){for(Pt=t,Ft=[...new Set($t)],$t.length=0,At=0;AtWt(e)-Wt(t))),Ot=0;Otnull==e.id?1/0:e.id;function Kt(e){Tt=!1,wt=!0,Dt(e),Nt.sort(((e,t)=>Wt(e)-Wt(t)));try{for(Et=0;Ete.trim())):t&&(r=n.map(Z))}let l,c=o[l=K(t)]||o[l=K(H(t))];!c&&s&&(c=o[l=K(z(t))]),c&&Ct(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ct(a,e,6,r)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!F(e)){const o=e=>{const n=qt(e,t,!0);n&&(s=!0,S(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(T(o)?o.forEach((e=>r[e]=null)):S(r,o),e.__emits=r):e.__emits=null}function Jt(e,t){return!(!e||!_(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,z(t))||w(e,t))}let Zt=0;const Qt=e=>Zt+=e;function Xt(e){return e.some((e=>!Ko(e)||e.type!==Vo&&!(e.type===Ro&&!Xt(e.children))))?e:null}let Yt=null,en=null;function tn(e){const t=Yt;return Yt=e,en=e&&e.type.__scopeId||null,t}function nn(e,t=Yt){if(!t)return e;const n=(...n)=>{Zt||Ho(!0);const o=tn(t),r=e(...n);return tn(o),Zt||Do(),r};return n._c=!0,n}function on(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;const g=tn(e);try{let e;if(4&n.shapeFlag){const t=r||o;m=er(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=er(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:sn(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(x)&&(e=ln(e,i)),g=Xo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(v){jo.length=0,kt(v,e,1),m=Qo(Vo)}return tn(g),m}function rn(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||_(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)x(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(a(null,e.ssFallback,t,n,o,null,s,i),hn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Go(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),hn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),hn(p,d))):h&&Go(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Go(f,h))c(h,f,n,o,r,p,s,i,l),hn(p,f);else{const e=t.props&&t.props.onPending;if(F(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=pn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:pn};function pn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}hn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Ht(s),y.effects=[];const u=t.props&&t.props.onResolve;F(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y,i=t.props&&t.props.onFallback;F(i)&&i();const a=h(n),u=()=>{y.isInFallback&&(p(null,e,r,a,o,null,s,l,c),hn(y,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=u),d(n,o,null,!0),y.isInFallback=!0,f||u()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{kt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Tr(e,r),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),an(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function fn(e){if(F(e)&&(e=e()),T(e)){e=rn(e)}return er(e)}function dn(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Ht(e)}function hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,an(o,r))}function mn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(L(i))continue;let l;r&&w(r,l=H(i))?n[l]=s:Jt(e.emitsOptions,i)||(o[i]=s)}if(s){const t=it(n);for(let o=0;o{i=!0;const[n,o]=vn(e,t,!0);S(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=g;if(T(o))for(let l=0;l-1,n[1]=o<0||t-1||w(n,"default"))&&s.push(e)}}}return e.__props=[r,s]}function yn(e){return"$"!==e[0]}function bn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function _n(e,t){return bn(e)===bn(t)}function xn(e,t){return T(t)?t.findIndex((t=>_n(t,e))):F(t)&&_n(t,e)?0:-1}function Sn(e,t,n=_r,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),Sr(n);const r=Ct(t,n,e,o);return Sr(null),ae(),r});return o?r.unshift(s):r.push(s),s}}const Cn=e=>(t,n=_r)=>!wr&&Sn(e,t,n),kn=Cn("bm"),wn=Cn("m"),Tn=Cn("bu"),Nn=Cn("u"),En=Cn("bum"),$n=Cn("um"),Fn=Cn("rtg"),An=Cn("rtc"),Mn=(e,t=_r)=>{Sn("ec",e,t)};function In(e,t){return Rn(e,null,t)}const On={};function Bn(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=m,l=_r){let c,a,u=!1;if(ct(e)?(c=()=>e.value,u=!!e._shallow):ot(e)?(c=()=>e,o=!0):c=T(e)?()=>e.map((e=>ct(e)?e.value:ot(e)?Vn(e):F(e)?St(e,l,2,[l&&l.proxy]):void 0)):F(e)?t?()=>St(e,l,2,[l&&l.proxy]):()=>{if(!l||!l.isUnmounted)return a&&a(),Ct(e,l,3,[p])}:v,t&&o){const e=c;c=()=>Vn(e())}let p=e=>{a=g.options.onStop=()=>{St(e,l,4)}},f=T(e)?[]:On;const d=()=>{if(g.active)if(t){const e=g();(o||u||G(e,f))&&(a&&a(),Ct(t,l,3,[e,f===On?void 0:f,p]),f=e)}else g()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>_o(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){Ut(e,Ft,$t,At)}(d):d()};const g=ne(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return Fr(g,l),t?n?d():f=g():"post"===r?_o(g,l&&l.suspense):g(),()=>{oe(g),l&&C(l.effects,g)}}function Pn(e,t,n){const o=this.proxy;return Rn(A(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Vn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),ct(e))Vn(e.value,t);else if(T(e))for(let n=0;n{Vn(e,t)}));else for(const n in e)Vn(e[n],t);return e}function Ln(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wn((()=>{e.isMounted=!0})),En((()=>{e.isUnmounting=!0})),e}const jn=[Function,Array],Un={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=xr(),o=Ln();let r;return()=>{const s=t.default&&Gn(t.default(),!0);if(!s||!s.length)return;const i=it(e),{mode:l}=i,c=s[0];if(o.isLeaving)return zn(c);const a=Wn(c);if(!a)return zn(c);const u=Dn(a,i,o,n);Kn(a,u);const p=n.subTree,f=p&&Wn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Vo&&(!Go(a,f)||d)){const e=Dn(f,i,o,n);if(Kn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},zn(c);"in-out"===l&&a.type!==Vo&&(e.delayLeave=(e,t,n)=>{Hn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Hn(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 Dn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Hn(n,e),x=(e,t)=>{e&&Ct(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Go(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Dn(e,t,n,o)};return S}function zn(e){if(qn(e))return(e=Xo(e)).children=null,e}function Wn(e){return qn(e)?e.children?e.children[0]:void 0:e}function Kn(e,t){6&e.shapeFlag&&e.component?Kn(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 Gn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let r=0;re.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xr(),o=n.ctx;if(!o.renderer)return t.default;const r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){to(e),u(e,n,l)}function h(e){r.forEach(((t,n)=>{const o=Mr(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&to(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),_o((()=>{s.isDeactivated=!1,s.a&&q(s.a);const t=e.props&&e.props.onVnodeMounted;t&&wo(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),_o((()=>{t.da&&q(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&wo(n,t.parent,e),t.isDeactivated=!0}),l)},Bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,no(n.subTree))};return wn(v),Nn(v),En((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=no(t);if(e.type!==r.type)d(e);else{to(r);const e=r.component.da;e&&_o(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ko(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=no(o);const c=l.type,a=Mr(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Zn(u,a))||p&&a&&Zn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xo(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Kn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,o}}};function Zn(e,t){return T(e)?e.some((e=>Zn(e,t))):A(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Qn(e,t){Yn(e,"a",t)}function Xn(e,t){Yn(e,"da",t)}function Yn(e,t,n=_r){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Sn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)qn(e.parent.vnode)&&eo(o,t,n,e),e=e.parent}}function eo(e,t,n,o){const r=Sn(t,e,o,!0);$n((()=>{C(o[t],r)}),n)}function to(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function no(e){return 128&e.shapeFlag?e.ssContent:e}const oo=e=>"_"===e[0]||"$stable"===e,ro=e=>T(e)?e.map(er):[er(e)],so=(e,t,n)=>nn((e=>ro(t(e))),n),io=(e,t)=>{const n=e._ctx;for(const o in e){if(oo(o))continue;const r=e[o];if(F(r))t[o]=so(0,r,n);else if(null!=r){const e=ro(r);t[o]=()=>e}}},lo=(e,t)=>{const n=ro(t);e.slots.default=()=>n};function co(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&F(e.install)?(s.add(e),e.install(l,...t)):F(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Qo(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let fo=!1;const ho=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,mo=e=>8===e.nodeType;function go(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c,m=!1)=>{const g=mo(n)&&"["===n.data,v=()=>d(n,o,i,l,c,g),{type:y,ref:b,shapeFlag:_}=o,x=n.nodeType;o.el=n;let S=null;switch(y){case Po:3!==x?S=v():(n.data!==o.children&&(fo=!0,n.data=o.children),S=r(n));break;case Vo:S=8!==x||g?v():r(n);break;case Lo:if(1===x){S=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,ho(e),m)},u=o.type.__asyncLoader;u?u().then(a):a(),S=g?h(n):r(n)}else 64&_?S=8!==x?v():o.type.hydrate(n,o,i,l,c,m,e,p):128&_&&(S=o.type.hydrate(n,o,i,l,ho(s(n)),c,m,e,a))}return null!=b&&xo(b,null,l,o),S},u=(e,t,n,r,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:f}=t;if(-1!==a){if(f&&co(t,null,n,"created"),c)if(!l||16&a||32&a)for(const t in c)!L(t)&&_(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&wo(d,n,t),f&&co(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||f)&&dn((()=>{d&&wo(d,n,t),f&&co(t,null,n,"mounted")}),r),16&u&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,s,l);for(;o;){fo=!0;const e=o;o=o.nextSibling,i(e)}}else 8&u&&e.textContent!==t.children&&(fo=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,u=c.length;for(let p=0;p{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const f=s(e),d=p(r(e),t,f,n,o,i,a);return d&&mo(d)&&"]"===d.data?r(t.anchor=d):(fo=!0,l(t.anchor=c("]"),f,d),d)},d=(e,t,o,l,c,a)=>{if(fo=!0,t.el=null,a){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const u=r(e),p=s(e);return i(e),n(null,t,p,u,o,l,ho(p),c),u},h=e=>{let t=0;for(;e;)if((e=r(e))&&mo(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{fo=!1,a(t.firstChild,e,null,null,null),zt(),fo&&console.error("Hydration completed but contains mismatches.")},a]}function vo(e){return F(e)?{setup:e,name:e.name}:e}function yo(e,{vnode:{ref:t,props:n,children:o}}){const r=Qo(e,n,o);return r.ref=t,r}const bo={scheduler:Lt,allowRecurse:!0},_o=dn,xo=(e,t,n,o)=>{if(T(e))return void e.forEach(((e,r)=>xo(e,t&&(T(t)?t[r]:t),n,o)));let r;if(o){if(o.type.__asyncLoader)return;r=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el}else r=null;const{i:s,r:i}=e,l=t&&t.r,c=s.refs===m?s.refs={}:s.refs,a=s.setupState;if(null!=l&&l!==i&&(A(l)?(c[l]=null,w(a,l)&&(a[l]=null)):ct(l)&&(l.value=null)),A(i)){const e=()=>{c[i]=r,w(a,i)&&(a[i]=r)};r?(e.id=-1,_o(e,n)):e()}else if(ct(i)){const e=()=>{i.value=r};r?(e.id=-1,_o(e,n)):e()}else F(i)&&St(i,s,12,[r,c])};function So(e){return ko(e)}function Co(e){return ko(e,go)}function ko(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=v,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!1)=>{e&&!Go(e,t)&&(o=Y(e),K(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case Po:_(e,t,n,o);break;case Vo:x(e,t,n,o);break;case Lo:null==e&&C(t,n,o,i);break;case Ro:M(e,t,n,o,r,s,i,l,c);break;default:1&p?k(e,t,n,o,r,s,i,l,c):6&p?I(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,te)}null!=u&&r&&xo(u,e&&e.ref,s,t)},_=(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&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?T(t,n,o,r,s,i,l,c):$(e,t,r,s,i,l,c)},T=(e,t,o,s,l,c,a,p)=>{let f,d;const{type:m,props:g,shapeFlag:v,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=i(e.type,c,g&&g.is,g),8&v?u(f,e.children):16&v&&E(e.children,f,null,s,l,c&&"foreignObject"!==m,a,p||!!e.dynamicChildren),_&&co(e,null,s,"created"),g){for(const t in g)L(t)||r(f,t,null,g[t],c,e.children,s,l,X);(d=g.onVnodeBeforeMount)&&wo(d,s,e)}N(f,e,e.scopeId,a,s)}_&&co(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(f),n(f,t,o),((d=g&&g.onVnodeMounted)||x||_)&&_o((()=>{d&&wo(d,s,e),x&&y.enter(f),_&&co(e,null,s,"mounted")}),l)},N=(e,t,n,o,r)=>{if(n&&d(e,n),o)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||m,g=t.props||m;let v;if((v=g.onVnodeBeforeUpdate)&&wo(v,n,t,e),d&&co(t,e,n,"beforeUpdate"),p>0){if(16&p)A(a,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&r(a,"class",null,g.class,i),4&p&&r(a,"style",h.style,g.style,i),8&p){const l=t.dynamicProps;for(let t=0;t{v&&wo(v,n,t,e),d&&co(t,e,n,"updated")}),o)},F=(e,t,n,o,r,s,i)=>{for(let l=0;l{if(n!==o){for(const a in o){if(L(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,X)}if(n!==m)for(const s in n)L(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,X)}},M=(e,t,o,r,s,i,c,a,u)=>{const p=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;d>0&&(u=!0),m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),E(t.children,o,f,s,i,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,s,i,c,a),(null!=t.key||s&&t===s.subTree)&&To(e,t,!0)):j(e,t,o,f,s,i,c,a,u)},I=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):B(t,n,o,r,s,i,c):R(e,t,c)},B=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||yr,s={uid:br++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vn(o,r),emitsOptions:qt(o,r),emit:null,emitted:null,propsDefaults:m,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,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=Gt.bind(null,s),s}(e,o,r);if(qn(e)&&(l.ctx.renderer=te),function(e,t=!1){wr=t;const{props:n,children:o}=e.vnode,r=Cr(e);(function(e,t,n,o=!1){const r={},s={};J(s,qo,1),e.propsDefaults=Object.create(null),mn(e,t,r,s),e.props=n?o?r:et(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,J(t,"_",n)):io(t,e.slots={})}else e.slots={},t&&lo(e,t);J(e.slots,qo,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?$r(e):null;_r=e,ce();const r=St(o,e,0,[e.props,n]);if(ae(),_r=null,O(r)){if(t)return r.then((t=>{Tr(e,t)})).catch((t=>{kt(t,e,0)}));e.asyncDep=r}else Tr(e,r)}else Er(e)}(e,t):void 0;wr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=Qo(Vo);x(null,e,t,n)}}else P(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;tEt&&Nt.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,s,i)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,V(e,n,i)):n=a,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&wo(t,c,n,a);const f=on(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),Y(d),e,r,s),n.el=f.el,null===u&&an(e,f.el),l&&_o(l,r),(t=n.props&&n.props.onVnodeUpdated)&&_o((()=>{wo(t,c,n,a)}),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&q(a),(i=c&&c.onVnodeBeforeMount)&&wo(i,p,t);const f=e.subTree=on(e);if(l&&se?se(t.el,f,e,r,null):(b(null,f,n,o,e,r,s),t.el=f.el),u&&_o(u,r),i=c&&c.onVnodeMounted){const e=t;_o((()=>{wo(i,p,e)}),r)}const{a:d}=e;d&&256&t.shapeFlag&&_o(d,r),e.isMounted=!0,t=n=o=null}}),bo)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=it(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;mn(e,t,r,s);for(const s in l)t&&(w(t,s)||(o=z(s))!==s&&w(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=gn(c,t||m,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&w(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let s=!0,i=m;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(S(r,t),n||1!==e||delete r._):(s=!t.$stable,io(t,r)),i=t}else t&&(lo(e,t),i={default:1});if(s)for(const l in r)oo(l)||l in i||delete r[l]})(e,t.children,n),ce(),Dt(void 0,e.update),ae()},j=(e,t,n,o,r,s,i,l,c=!1)=>{const a=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void D(a,f,n,o,r,s,i,l,c);if(256&d)return void U(a,f,n,o,r,s,i,l,c)}8&h?(16&p&&X(a,r,s),f!==a&&u(n,f)):16&p?16&h?D(a,f,n,o,r,s,i,l,c):X(a,r,s,!0):(8&p&&u(n,""),16&h&&E(f,n,o,r,s,i,l,c))},U=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||g).length,u=(t=t||g).length,p=Math.min(a,u);let f;for(f=0;fu?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):g;for(v=k.length-1,a=_-1;a>=0;a--){const e=h+a,p=t[e],f=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Ro){n(i,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),_o((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&xo(l,null,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&wo(h,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):a&&(s!==Ro||p>0&&64&p)?X(a,t,n,!1,!0):(s===Ro&&(128&p||256&p)||!r&&16&u)&&X(c,t,n),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&_o((()=>{h&&wo(h,t,e),d&&co(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ro)return void Z(n,r);if(t===Lo)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Q=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&q(o),r)for(let c=0;c{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),zt(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:B,mc:E,pc:j,pbc:F,n:Y,o:e};let re,se;return t&&([re,se]=t(te)),{render:ee,hydrate:re,createApp:po(ee,re)}}function wo(e,t,n,o=null){Ct(e,t,7,[n,o])}function To(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;se&&(e.disabled||""===e.disabled),Eo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;if(A(n)){if(t){return t(n)}return null}return n};function Fo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||No(u))&&16&c)for(let f=0;f{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=No(e.props),v=m?n:u,y=m?o:d;if(i=i||Eo(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,v,r,s,i,l),To(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||Fo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Fo(t,e,null,a,0)}else m&&Fo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!No(f))&&(s(a),16&l))for(let d=0;d0&&Uo&&Uo.push(s),s}function Ko(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",Jo=({key:e})=>null!=e?e:null,Zo=({ref:e})=>null!=e?A(e)||ct(e)||F(e)?{i:Yt,r:e}:e:null,Qo=function(e,t=null,n=null,o=0,s=null,i=!1){e&&e!==Io||(e=Vo);if(Ko(e)){const o=Xo(e,t,!0);return n&&nr(o,n),o}l=e,F(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(st(t)||qo in t)&&(t=S({},t));let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),I(n)&&(st(n)&&!T(n)&&(n=S({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:F(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&Zo(t),scopeId:en,slotScopeIds:null,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:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};if(nr(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=er(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}zo>0&&!i&&Uo&&(o>0||6&a)&&32!==o&&Uo.push(u);return u};function Xo(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?or(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&r?T(r)?r.concat(Zo(t)):[r,Zo(t)]:Zo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-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&&Xo(e.ssContent),ssFallback:e.ssFallback&&Xo(e.ssFallback),el:e.el,anchor:e.anchor}}function Yo(e=" ",t=0){return Qo(Po,null,e,t)}function er(e){return null==e||"boolean"==typeof e?Qo(Vo):T(e)?Qo(Ro,null,e):"object"==typeof e?null===e.el?e:Xo(e):Qo(Po,null,String(e))}function tr(e){return null===e.el?e:Xo(e)}function nr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Qt(1),nr(e,n()),n._c&&Qt(-1)))}{n=32;const o=t._;o||qo in t?3===o&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else F(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&o?(n=16,t=[Yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function or(...e){const t=S({},e[0]);for(let n=1;n1)return n&&F(t)?t():t}}let ir=!0;function lr(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:C,deactivated:k,beforeUnmount:w,unmounted:N,render:E,renderTracked:$,renderTriggered:A,errorCaptured:M,expose:O}=t,B=e.proxy,R=e.ctx,P=e.appContext.mixins;if(s&&E&&e.render===v&&(e.render=E),s||(ir=!1,cr("beforeCreate","bc",t,e,P),ir=!0,ur(e,P,n,o,r)),l&&lr(e,l,n,o,r,!0),i&&ur(e,i,n,o,r),d)if(T(d))for(let m=0;mpr(e,t,B))),c&&pr(e,c,B)),a)for(const m in a){const e=a[m],t=Or({get:F(e)?e.bind(B,B):F(e.get)?e.get.bind(B,B):v,set:!F(e)&&F(e.set)?e.set.bind(B):v});Object.defineProperty(R,m,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e})}if(p&&o.push(p),!s&&o.length&&o.forEach((e=>{for(const t in e)fr(e[t],R,B,t)})),f&&r.push(f),!s&&r.length&&r.forEach((e=>{const t=F(e)?e.call(B):e;Reflect.ownKeys(t).forEach((e=>{rr(e,t[e])}))})),s&&(h&&S(e.components||(e.components=S({},e.type.components)),h),g&&S(e.directives||(e.directives=S({},e.type.directives)),g)),s||cr("created","c",t,e,P),y&&kn(y.bind(B)),b&&wn(b.bind(B)),_&&Tn(_.bind(B)),x&&Nn(x.bind(B)),C&&Qn(C.bind(B)),k&&Xn(k.bind(B)),M&&Mn(M.bind(B)),$&&An($.bind(B)),A&&Fn(A.bind(B)),w&&En(w.bind(B)),N&&$n(N.bind(B)),T(O)&&!s)if(O.length){const t=e.exposed||(e.exposed=ht({}));O.forEach((e=>{t[e]=vt(B,e)}))}else e.exposed||(e.exposed=m)}function cr(e,t,n,o,r){for(let s=0;s{let t=e;for(let e=0;en[o];if(A(e)){const n=t[e];F(n)&&Bn(r,n)}else if(F(e))Bn(r,e.bind(n));else if(I(e))if(T(e))e.forEach((e=>fr(e,t,n,o)));else{const o=F(e.handler)?e.handler.bind(n):t[e.handler];F(o)&&Bn(r,o,e)}}function dr(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&dr(e,s,n),r&&r.forEach((t=>dr(e,t,n)));for(const i in t)e[i]=o&&w(o,i)?o[i](e[i],t[i],n.proxy,i):t[i]}const hr=e=>e?Cr(e)?e.exposed?e.exposed:e.proxy:hr(e.parent):null,mr=S(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach((t=>dr(i,t,e))),dr(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Lt(e.update),$nextTick:e=>Vt.bind(e.proxy),$watch:e=>Pn.bind(e)}),gr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=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 o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==m&&w(o,t))return i[t]=0,o[t];if(r!==m&&w(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&w(a,t))return i[t]=2,s[t];if(n!==m&&w(n,t))return i[t]=3,n[t];ir&&(i[t]=4)}}const u=mr[t];let p,f;return u?("$attrs"===t&&ue(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==m&&w(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==m&&w(r,t))r[t]=n;else if(o!==m&&w(o,t))o[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==m&&w(e,i)||t!==m&&w(t,i)||(l=s[0])&&w(l,i)||w(o,i)||w(mr,i)||w(r.config.globalProperties,i)}},vr=S({},gr,{get(e,t){if(t!==Symbol.unscopables)return gr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),yr=ao();let br=0;let _r=null;const xr=()=>_r||Yt,Sr=e=>{_r=e};function Cr(e){return 4&e.vnode.shapeFlag}let kr,wr=!1;function Tr(e,t,n){F(t)?e.render=t:I(t)&&(e.setupState=ht(t)),Er(e)}function Nr(e){kr=e}function Er(e,t){const n=e.type;e.render||(kr&&n.template&&!n.render&&(n.render=kr(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,vr))),_r=e,ce(),lr(e,n),ae(),_r=null}function $r(e){const t=t=>{e.exposed=ht(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function Fr(e,t=_r){t&&(t.effects||(t.effects=[])).push(e)}const Ar=/(?:^|[-_])(\w)/g;function Mr(e){return F(e)&&e.displayName||e.name}function Ir(e,t,n=!1){let o=Mr(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(Ar,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function Or(e){const t=function(e){let t,n;return F(e)?(t=e,n=v):(t=e.get,n=e.set),new yt(t,n,F(e)||!e.set)}(e);return Fr(t.effect),t}function Br(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?Ko(t)?Qo(e,null,[t]):Qo(e,t):Qo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ko(n)&&(n=[n]),Qo(e,t,n))}const Rr=Symbol("");const Pr="3.0.11",Vr="http://www.w3.org/2000/svg",Lr="undefined"!=typeof document?document:null;let jr,Ur;const Hr={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?Lr.createElementNS(Vr,e):Lr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Lr.createTextNode(e),createComment:e=>Lr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lr.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=o?Ur||(Ur=Lr.createElementNS(Vr,"svg")):jr||(jr=Lr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Hr.insert(i,t,n),i=r.firstChild;return[s,l]}};const Dr=/\s*!important$/;function zr(e,t,n){if(T(n))n.forEach((n=>zr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Kr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return Kr[t]=o;o=W(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(qr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Jr=!!(e&&Number(e[1])<=53)}let Zr=0;const Qr=Promise.resolve(),Xr=()=>{Zr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function es(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[z(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||qr();(Jr||o>=n.attached-1)&&Ct(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Zr||(Qr.then(Xr),Zr=qr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;const ns=/^on[a-z]/;function os(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{os(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===Ro&&e.children.forEach((e=>os(e,t)))}const rs="transition",ss="animation",is=(e,{slots:t})=>Br(Un,as(e),t);is.displayName="Transition";const ls={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},cs=is.props=S({},Un.props,ls);function as(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:l=`${t}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=e;const h={};for(const S in e)S in ls||(h[S]=e[S]);if(!o)return h;const m=function(e){if(null==e)return null;if(I(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:C,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{fs(e,t?u:l),fs(e,t?a:i),n&&n()},E=(e,t)=>{fs(e,d),fs(e,f),t&&t()},$=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ds((()=>{fs(t,e?c:s),ps(t,e?u:l),r&&r.length>1||ms(t,n,g,i)}))};return S(h,{onBeforeEnter(e){y&&y(e),ps(e,s),ps(e,i)},onBeforeAppear(e){k&&k(e),ps(e,c),ps(e,a)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){const o=()=>E(e,t);ps(e,p),bs(),ps(e,f),ds((()=>{fs(e,p),ps(e,d),x&&x.length>1||ms(e,n,v,o)})),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),C&&C(e)}})}function us(e){return Z(e)}function ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function fs(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 ds(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hs=0;function ms(e,t,n,o){const r=e._endId=++hs,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=gs(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=vs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=vs(l,c);let u=null,p=0,f=0;t===rs?i>0&&(u=rs,p=i,f=s.length):t===ss?a>0&&(u=ss,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?rs:ss:null,f=u?u===rs?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===rs&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vs(e,t){for(;e.lengthys(t)+ys(e[n]))))}function ys(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bs(){return document.body.offsetHeight}const _s=new WeakMap,xs=new WeakMap,Ss={name:"TransitionGroup",props:S({},cs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xr(),o=Ln();let r,s;return Nn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=gs(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Cs),r.forEach(ks);const o=r.filter(ws);bs(),o.forEach((e=>{const n=e.el,o=n.style;ps(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,fs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=it(e),l=as(i),c=i.tag||Ro;r=s,s=t.default?Gn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function Ns(e){e.target.composing=!0}function Es(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const $s={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ts(r);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ns),Yr(e,"compositionend",Es),Yr(e,"change",Es))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Ts(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Fs={created(e,t,n){e._assign=Ts(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Bs(e),o=e.checked,r=e._assign;if(T(t)){const e=d(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(E(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Rs(e,o))}))},mounted:As,beforeUpdate(e,t,n){e._assign=Ts(n),As(e,t,n)}};function As(e,{value:t,oldValue:n},o){e._modelValue=t,T(t)?e.checked=d(t,o.props.value)>-1:E(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=f(t,Rs(e,!0)))}const Ms={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ts(n),Yr(e,"change",(()=>{e._assign(Bs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ts(o),t!==n&&(e.checked=f(t,o.props.value))}},Is={created(e,{value:t,modifiers:{number:n}},o){const r=E(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(Bs(e)):Bs(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Ts(o)},mounted(e,{value:t}){Os(e,t)},beforeUpdate(e,t,n){e._assign=Ts(n)},updated(e,{value:t}){Os(e,t)}};function Os(e,t){const n=e.multiple;if(!n||T(t)||E(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(f(Bs(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Bs(e){return"_value"in e?e._value:e.value}function Rs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ps={created(e,t,n){Vs(e,t,n,null,"created")},mounted(e,t,n){Vs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Vs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Vs(e,t,n,o,"updated")}};function Vs(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=Is;break;case"TEXTAREA":s=$s;break;default:switch(n.props&&n.props.type){case"checkbox":s=Fs;break;case"radio":s=Ms;break;default:s=$s}}const i=s[r];i&&i(e,t,n,o)}const Ls=["ctrl","shift","alt","meta"],js={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ls.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,(()=>{Ds(e,!1)})):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e._vod:"none"}const zs=S({patchProp:(e,t,n,r,s=!1,i,l,c,a)=>{switch(t){case"class":!function(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}}(e,r,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(A(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)zr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&zr(o,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:_(t)?x(t)||es(e,t,0,r,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ns.test(t)&&F(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(ns.test(t)&&A(n))return!1;return t in e}(e,t,r,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(l){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,i,l,c,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Gr,t.slice(6,t.length)):e.setAttributeNS(Gr,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,s))}},forcePatchProp:(e,t)=>"value"===t},Hr);let Ws,Ks=!1;function Gs(){return Ws||(Ws=So(zs))}function qs(){return Ws=Ks?Ws:Co(zs),Ks=!0,Ws}function Js(e){if(A(e)){return document.querySelector(e)}return e}function Zs(e){throw e}function Qs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Xs=Symbol(""),Ys=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi=Symbol(""),_i=Symbol(""),xi=Symbol(""),Si=Symbol(""),Ci=Symbol(""),ki=Symbol(""),wi=Symbol(""),Ti=Symbol(""),Ni=Symbol(""),Ei=Symbol(""),$i={[Xs]:"Fragment",[Ys]:"Teleport",[ei]:"Suspense",[ti]:"KeepAlive",[ni]:"BaseTransition",[oi]:"openBlock",[ri]:"createBlock",[si]:"createVNode",[ii]:"createCommentVNode",[li]:"createTextVNode",[ci]:"createStaticVNode",[ai]:"resolveComponent",[ui]:"resolveDynamicComponent",[pi]:"resolveDirective",[fi]:"withDirectives",[di]:"renderList",[hi]:"renderSlot",[mi]:"createSlots",[gi]:"toDisplayString",[vi]:"mergeProps",[yi]:"toHandlers",[bi]:"camelize",[_i]:"capitalize",[xi]:"toHandlerKey",[Si]:"setBlockTracking",[Ci]:"pushScopeId",[ki]:"popScopeId",[wi]:"withScopeId",[Ti]:"withCtx",[Ni]:"unref",[Ei]:"isRef"};const Fi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ai(e,t,n,o,r,s,i,l=!1,c=!1,a=Fi){return e&&(l?(e.helper(oi),e.helper(ri)):e.helper(si),i&&e.helper(fi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Mi(e,t=Fi){return{type:17,loc:t,elements:e}}function Ii(e,t=Fi){return{type:15,loc:t,properties:e}}function Oi(e,t){return{type:16,loc:Fi,key:A(e)?Bi(e,!0):e,value:t}}function Bi(e,t,n=Fi,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ri(e,t=Fi){return{type:8,loc:t,children:e}}function Pi(e,t=[],n=Fi){return{type:14,loc:n,callee:e,arguments:t}}function Vi(e,t,n=!1,o=!1,r=Fi){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Li(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Fi}}const ji=e=>4===e.type&&e.isStatic,Ui=(e,t)=>e===t||e===z(t);function Hi(e){return Ui(e,"Teleport")?Ys:Ui(e,"Suspense")?ei:Ui(e,"KeepAlive")?ti:Ui(e,"BaseTransition")?ni:void 0}const Di=/^\d|[^\$\w]/,zi=e=>!Di.test(e),Wi=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ki=e=>!!e&&Wi.test(e.trim());function Gi(e,t,n){const o={source:e.source.substr(t,n),start:qi(e.start,e.source,t),end:e.end};return null!=n&&(o.end=qi(e.start,e.source,t+n)),o}function qi(e,t,n=t.length){return Ji(S({},e),t,n)}function Ji(e,t,n=t.length){let o=0,r=-1;for(let s=0;s4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),o=r}else o=Pi(n.helper(vi),[Ii([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const sl=/&(gt|lt|amp|apos|quot);/g,il={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ll={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:y,isPreTag:y,isCustomElement:y,decodeEntities:e=>e.replace(sl,((e,t)=>il[t])),onError:Zs,comments:!1};function cl(e,t={}){const n=function(e,t){const n=S({},ll);for(const o in t)n[o]=t[o]||ll[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Sl(n);return function(e,t=Fi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(al(n,0,[]),Cl(n,o))}function al(e,t,n){const o=kl(n),r=o?o.ns:0,s=[];for(;!$l(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&wl(i,e.options.delimiters[0]))l=bl(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=wl(i,"\x3c!--")?fl(e):wl(i,""===i[2]){Tl(e,3);continue}if(/[a-z]/i.test(i[2])){gl(e,1,o);continue}l=dl(e)}else/[a-z]/i.test(i[1])?l=hl(e,n):"?"===i[1]&&(l=dl(e));if(l||(l=_l(e,t)),T(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Tl(e,s-r+1),r=s+1;Tl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Tl(e,e.source.length);return{type:3,content:n,loc:Cl(e,t)}}function dl(e){const t=Sl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Tl(e,e.source.length)):(o=e.source.slice(n,r),Tl(e,r+1)),{type:3,content:o,loc:Cl(e,t)}}function hl(e,t){const n=e.inPre,o=e.inVPre,r=kl(t),s=gl(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=al(e,c,t);if(t.pop(),s.children=a,Fl(e.source,s.tag))gl(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&wl(e.loc.source,"\x3c!--")}return s.loc=Cl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const ml=t("if,else,else-if,for,slot");function gl(e,t,n){const o=Sl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Tl(e,r[0].length),Nl(e);const l=Sl(e),c=e.source;let a=vl(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,l),e.source=c,a=vl(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;0===e.source.length||(u=wl(e.source,"/>"),Tl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some((e=>7===e.type&&"is"===e.name));f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Hi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some((e=>7===e.type&&ml(e.name)))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:Cl(e,o),codegenNode:void 0}}function vl(e,t){const n=[],o=new Set;for(;e.source.length>0&&!wl(e.source,">")&&!wl(e.source,"/>");){if(wl(e.source,"/")){Tl(e,1),Nl(e);continue}const r=yl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Nl(e)}return n}function yl(e,t){const n=Sl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Tl(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Nl(e),Tl(e,1),Nl(e),r=function(e){const t=Sl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Tl(e,1);const t=e.source.indexOf(o);-1===t?n=xl(e,e.source.length,4):(n=xl(e,t,4),Tl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=xl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Cl(e,t)}}(e));const s=Cl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(wl(o,":")?"bind":wl(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.lastIndexOf(t[2]),c=Cl(e,El(e,n,s),El(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,constType:u?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=qi(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bl(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Sl(e);Tl(e,n.length);const i=Sl(e),l=Sl(e),c=r-n.length,a=e.source.slice(0,c),u=xl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ji(i,a,f);return Ji(l,a,c-(u.length-p.length-f)),Tl(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Cl(e,i,l)},loc:Cl(e,s)}}function _l(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;st&&(o=t)}const r=Sl(e);return{type:2,content:xl(e,o,t),loc:Cl(e,r)}}function xl(e,t,n){const o=e.source.slice(0,t);return Tl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Sl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Cl(e,t,n){return{start:t,end:n=n||Sl(e),source:e.originalSource.slice(t.offset,n.offset)}}function kl(e){return e[e.length-1]}function wl(e,t){return e.startsWith(t)}function Tl(e,t){const{source:n}=e;Ji(e,n,t),e.source=n.slice(t)}function Nl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tl(e,t[0].length)}function El(e,t,n){return qi(t,e.originalSource.slice(t.offset,n),n)}function $l(e,t,n){const o=e.source;switch(t){case 0:if(wl(o,"=0;--e)if(Fl(o,n[e].tag))return!0;break;case 1:case 2:{const e=kl(n);if(e&&Fl(o,e.tag))return!0;break}case 3:if(wl(o,"]]>"))return!0}return!o}function Fl(e,t){return wl(e,"]/.test(e[2+t.length]||">")}function Al(e,t){Il(e,t,Ml(e,e.children[0]))}function Ml(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nl(t)}function Il(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Pl(n);if((!o||512===o||1===o)&&Bl(e,t)>=2){const o=Rl(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ol(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Il(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Il(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n1)for(let r=0;r`_${$i[S.helper(e)]}`,replaceNode(e){S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){const t=e?S.parent.children.indexOf(e):S.currentNode?S.childIndex:-1;e&&e!==S.currentNode?S.childIndex>t&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){S.hoists.push(e);const t=Bi(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fi}}(++S.cached,e,t)};return S}function Ll(e,t){const n=Vl(e,t);jl(e,n),t.hoistStatic&&Al(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Ml(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(si),r.isBlock=!0,n(oi),n(ri))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=Ai(t,n(Xs),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function jl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(el))return;const s=[];for(let i=0;i`_${$i[e]}`,push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+"  ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${$i[e]}: _${$i[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[si,ii,li,ci].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Gl(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map((e=>`${$i[e]}: _${$i[e]}`)).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(zl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(zl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Gl(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function zl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ai:pi);for(let i=0;i3||!1;t.push("["),n&&t.indent(),Kl(e,t,n),n&&t.deindent(),t.push("]")}function Kl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Gl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=A(e.callee)?e.callee:o(e.callee);r&&n(Hl);n(s+"(",e),Kl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c "),(c||l)&&(n("{"),o());i?(c&&n("return "),T(i)?Wl(i,t):Gl(i,t)):l&&Gl(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!zi(n.content);e&&i("("),ql(n,t),e&&i(")")}else i("("),Gl(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Gl(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Gl(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Si)}(-1),`),i());n(`_cache[${e.index}] = `),Gl(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Si)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ql(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Jl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Bi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Xl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Xl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);jl(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Yl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Yl(t,i+e.branches.length-1,n)}}}))));function Xl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Zi(e,"for")?[e]:e.children,userKey:Qi(e,"key")}}function Yl(e,t,n){return e.condition?Li(e.condition,ec(e,t,n),Pi(n.helper(ii),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:o,removeHelper:r}=n,s=Oi("key",Bi(`${t}`,!1,Fi,2)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return ol(e,s,n),e}{let t=64;return Ai(n,o(Xs),Ii([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(r(si),e.isBlock=!0,o(oi),o(ri)),ol(e,s,n),e}}const tc=Ul("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=sc(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:tl(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Pi(o(di),[t.source]),i=Qi(e,"key"),l=i?Oi("key",6===i.type?Bi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.constType>0,a=c?64:i?128:256;return t.codegenNode=Ai(n,o(Xs),void 0,s,a+"",void 0,void 0,!0,!c,e.loc),()=>{let i;const a=tl(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=nl(e)?e:a&&1===e.children.length&&nl(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&ol(i,l,n)):p?i=Ai(n,o(Xs),l?Ii([l]):void 0,e.children,"64",void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&ol(i,l,n),i.isBlock!==!c&&(i.isBlock?(r(oi),r(ri)):r(si)),i.isBlock=!c,i.isBlock?(o(oi),o(ri)):o(si)),s.arguments.push(Vi(lc(t.parseResult),i,!0))}}))}));const nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,rc=/^\(|\)$/g;function sc(e,t){const n=e.loc,o=e.content,r=o.match(nc);if(!r)return;const[,s,i]=r,l={source:ic(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(rc,"").trim();const a=s.indexOf(c),u=c.match(oc);if(u){c=c.replace(oc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ic(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ic(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ic(n,c,a)),l}function ic(e,t,n){return Bi(t,!1,Gi(e,n,t.length))}function lc({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(Bi("_",!1)),o.push(t)),n&&(t||(e||o.push(Bi("_",!1)),o.push(Bi("__",!1))),o.push(n)),o}const cc=Bi("undefined",!1),ac=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Zi(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vi(e,t,!1,!0,t.length?t[0].loc:n);function pc(e,t,n=uc){t.helper(Ti);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>Oi("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Zi(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ji(e)&&(c=!0),s.push(Oi(e||Bi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let g=0;gfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r=bc(o)?Qi(e,"is"):Zi(e,"is");if(r){const e=6===r.type?r.value&&Bi(r.value.content,!0):r.exp;if(e)return Pi(t.helper(ui),[e])}const s=Hi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(ai),t.components.add(o),rl(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=I(s)&&s.callee===ui||s===Ys||s===ei||!r&&("svg"===n||"foreignObject"===n||Qi(e,"key",!0));if(o.length>0){const n=gc(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Mi(o.map((e=>function(e,t){const n=[],o=hc.get(e);o?n.push(t.helperString(o)):(t.helper(pi),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Bi("true",!1,r);n.push(Ii(e.modifiers.map((e=>Oi(e,t))),r))}return Mi(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ti&&(d=!0,f|=1024);if(r&&s!==Ys&&s!==ti){const{slots:n,hasDynamicSlots:o}=pc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ys){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ol(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if(ji(e)){const o=e.content,r=_(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(h=!0),r&&L(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ol(n,t)>0)return;"ref"===o?p=!0:"class"!==o||i?"style"!==o||i?"key"===o||v.includes(o)||v.push(o):d=!0:f=!0}else m=!0};for(let _=0;_1?Pi(t.helper(vi),c,s):c[0]):l.length&&(b=Ii(vc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function vc(e){const t=new Map,n=[];for(let o=0;o{if(nl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s0){const{props:o,directives:s}=gc(e,t,r);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Vi([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Pi(t.helper(hi),i,o)}};const xc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Sc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=Bi(K(H(i.content)),!0,i.loc)}else l=Ri([`${n.helperString(xi)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(xi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Ki(c.content),t=!(e||xc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ri([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[Oi(l,c||Bi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},Cc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(bi)}(${i.content})`:(i.children.unshift(`${n.helperString(bi)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[Oi(i,Bi("",!0,s))]}:{props:[Oi(i,o)]}},kc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e{if(1===e.type&&Zi(e,"once",!0)){if(wc.has(e))return;return wc.add(e),t.helper(Si),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Nc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Ec();const s=o.loc.source;if(!Ki(4===o.type?o.content:s))return Ec();const i=r||Bi("modelValue",!0),l=r?ji(r)?`onUpdate:${r.content}`:Ri(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Ri([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[Oi(i,e.exp),Oi(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zi(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ji(r)?`${r.content}Modifiers`:Ri([r,' + "Modifiers"']):"modelModifiers";a.push(Oi(n,Bi(`{ ${t} }`,!1,e.loc,2)))}return Ec(a)};function Ec(e=[]){return{props:e}}function $c(e,t={}){const n=t.onError||Zs,o="module"===t.mode;!0===t.prefixIdentifiers?n(Qs(45)):o&&n(Qs(46));t.cacheHandlers&&n(Qs(47)),t.scopeId&&!o&&n(Qs(48));const r=A(e)?cl(e,t):e,[s,i]=[[Tc,Ql,tc,_c,mc,ac,kc],{on:Sc,bind:Cc,model:Nc}];return Ll(r,S({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:S({},i,t.directiveTransforms||{})})),Dl(r,S({},t,{prefixIdentifiers:false}))}const Fc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Bc=Symbol(""),Rc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Lc=Symbol("");var jc;let Uc;jc={[Fc]:"vModelRadio",[Ac]:"vModelCheckbox",[Mc]:"vModelText",[Ic]:"vModelSelect",[Oc]:"vModelDynamic",[Bc]:"withModifiers",[Rc]:"withKeys",[Pc]:"vShow",[Vc]:"Transition",[Lc]:"TransitionGroup"},Object.getOwnPropertySymbols(jc).forEach((e=>{$i[e]=jc[e]}));const Hc=t("style,iframe,script,noscript",!0),Dc={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Uc||(Uc=document.createElement("div"))).innerHTML=e,Uc.textContent},isBuiltInComponent:e=>Ui(e,"Transition")?Vc:Ui(e,"TransitionGroup")?Lc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Hc(e))return 2}return 0}},zc=(e,t)=>{const n=l(e);return Bi(JSON.stringify(n),!1,t,3)};const Wc=t("passive,once,capture"),Kc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=t("left,right"),qc=t("onkeyup,onkeydown,onkeypress",!0),Jc=(e,t)=>ji(e)&&"onclick"===e.content.toLowerCase()?Bi(t,!0):4!==e.type?Ri(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Bi("style",!0,t.loc),exp:zc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("innerHTML",!0,r),o||Bi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Oi(Bi("textContent",!0),o?Pi(n.helperString(gi),[o],r):Bi("",!0))]}},model:(e,t,n)=>{const o=Nc(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mc,i=!1;if("input"===r||s){const n=Qi(t,"type");if(n){if(7===n.type)e=Oc;else if(n.value)switch(n.value.content){case"radio":e=Fc;break;case"checkbox":e=Ac;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Oc)}else"select"===r&&(e=Ic);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Sc(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Pc)})};const Yc=Object.create(null);function ea(e,t){if(!A(e)){if(!e.nodeType)return v;e=e.innerHTML}const n=e,o=Yc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return $c(e,S({},Dc,t,{nodeTransforms:[Zc,...Qc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Yc[n]=s}return Nr(ea),e.BaseTransition=Un,e.Comment=Vo,e.Fragment=Ro,e.KeepAlive=Jn,e.Static=Lo,e.Suspense=un,e.Teleport=Ao,e.Text=Po,e.Transition=is,e.TransitionGroup=Ss,e.callWithAsyncErrorHandling=Ct,e.callWithErrorHandling=St,e.camelize=H,e.capitalize=W,e.cloneVNode=Xo,e.compile=ea,e.computed=Or,e.createApp=(...e)=>{const t=Gs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Js(e);if(!o)return;const r=t._component;F(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=Wo,e.createCommentVNode=function(e="",t=!1){return t?(Ho(),Wo(Vo,null,e)):Qo(Vo,null,e)},e.createHydrationRenderer=Co,e.createRenderer=So,e.createSSRApp=(...e)=>{const t=qs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Js(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return vo({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=_r;if(c)return()=>yo(c,e);const t=t=>{a=null,kt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?Qo(o,{error:e}):null)));const l=at(!1),u=at(),f=at(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?yo(c,e):u.value&&o?Qo(o,{error:u.value}):n&&!f.value?Qo(n):void 0}})},e.defineComponent=vo,e.defineEmit=function(){return null},e.defineProps=function(){return null},e.getCurrentInstance=xr,e.getTransitionRawChildren=Gn,e.h=Br,e.handleError=kt,e.hydrate=(...e)=>{qs().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=sr,e.isProxy=st,e.isReactive=ot,e.isReadonly=rt,e.isRef=ct,e.isRuntimeOnly=()=>!kr,e.isVNode=Ko,e.markRaw=function(e){return J(e,"__v_skip",!0),e},e.mergeProps=or,e.nextTick=Vt,e.onActivated=Qn,e.onBeforeMount=kn,e.onBeforeUnmount=En,e.onBeforeUpdate=Tn,e.onDeactivated=Xn,e.onErrorCaptured=Mn,e.onMounted=wn,e.onRenderTracked=An,e.onRenderTriggered=Fn,e.onUnmounted=$n,e.onUpdated=Nn,e.openBlock=Ho,e.popScopeId=function(){en=null},e.provide=rr,e.proxyRefs=ht,e.pushScopeId=function(e){en=e},e.queuePostFlushCb=Ht,e.reactive=Ye,e.readonly=tt,e.ref=at,e.registerRuntimeCompiler=Nr,e.render=(...e)=>{Gs().render(...e)},e.renderList=function(e,t){let n;if(T(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":I(e)?JSON.stringify(e,h,2):String(e),e.toHandlerKey=K,e.toHandlers=function(e){const t={};for(const n in e)t[K(n)]=e[n];return t},e.toRaw=it,e.toRef=vt,e.toRefs=function(e){const t=T(e)?new Array(e.length):{};for(const n in e)t[n]=vt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){pe(it(e),"set","value",void 0)},e.unref=ft,e.useContext=function(){const e=xr();return e.setupContext||(e.setupContext=$r(e))},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=xr();if(!t)return;const n=()=>os(t.subTree,e(t.proxy));wn((()=>In(n,{flush:"post"}))),Nn(n)},e.useSSRContext=()=>{},e.useTransitionState=Ln,e.vModelCheckbox=Fs,e.vModelDynamic=Ps,e.vModelRadio=Ms,e.vModelSelect=Is,e.vModelText=$s,e.vShow=Hs,e.version=Pr,e.warn=function(e,...t){ce();const n=bt.length?bt[bt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)St(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ir(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=` at <${Ir(e.component,e.type,!!e.component&&null==e.component.parent)}`,r=">"+n;return e.props?[o,..._t(e.props),r]:[o+r]}(e))})),t}(r)),console.warn(...n)}ae()},e.watch=Bn,e.watchEffect=In,e.withCtx=nn,e.withDirectives=function(e,t){if(null===Yt)return e;const n=Yt.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rn=>{if(!("key"in n))return;const o=z(n.key);return t.some((e=>e===o||Us[e]===o))?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;enn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
    @/lua/ge/extensions/editor/levelValidator.lua
      end
      extensions.core_jobsystem.create(checkLevel, 0.04)
      checkFinished = 1
    @/inspector/Models/Timeline.js
    
        static create(type)
        {
    @/lua/ge/extensions/util/docCreator.lua
    local function runAsync()
      extensions.core_jobsystem.create(run, 1)
    end
      quitOnDone = true
      extensions.core_jobsystem.create(run, 1)
    end
    @/lua/ge/extensions/editor/rallyEditor/notebookInfo.lua
      if im.Selectable1('New...', self.codriverId == nil) then
        local codriver = self.path.codrivers:create(nil, nil)
        self:selectCodriver(codriver.id)
    @/lua/ge/extensions/ui/gridSelectorUtils/buttonModule.lua
    -- Create a new button management instance
    function M.create()
      local instance = {}
    @/lua/ge/extensions/editor/raceEditor/pacenotes.lua
          function(data) --redo
            local note = data.self.path.pacenotes:create(nil, data.noteId or nil)
            data.noteId = note.id
            function(data) -- undo
              local note = self.path.pacenotes:create(nil, data.noteData.oldId)
              note:onDeserialized(data.noteData)
    @/lua/vehicle/extensions/tech/advancedIMU.lua
    
    local function create(data)
    
    @/lua/ge/extensions/career/modules/playerDriving.lua
        -- need to do this with one frame delay, otherwise the safeTeleport gets confused with two vehicles
        core_jobsystem.create(teleportTrailerJob, 0.1, teleportArgs)
    
    @/ui/lib/ext/resize-observer-polyfill/ResizeObserver.global.js
        var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;
        var rect = Object.create(Constr.prototype);
    
    @/lua/vehicle/controller/vivaceGauges.lua
        if htmlPath then
          htmlTexture.create(gaugesScreenName, htmlPath, width, height, updateFPS, "automatic")
        else
    @/lua/ge/extensions/tech/capturePlayer.lua
      }
      core_jobsystem.create(techCaptureJob, 0.001, args)
    end
    @/lua/ge/extensions/util/compileImposters.lua
    
      currentJob = core_jobsystem.create(work, nil, queue)
    end
    @/ui/lib/ext/chartist.min.js
    
    !function(a,b){"function"==typeof define&&define.amd?define("Chartist",[],function(){return a.Chartist=b()}):"object"==typeof module&&module.exports?module.exports=b():a.Chartist=b()}(this,function(){var a={version:"0.11.0"};return function(a,b,c){"use strict";c.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},c.noop=function(a){return a},c.alphaNumerate=function(a){return String.fromCharCode(97+a%26)},c.extend=function(a){var b,d,e;for(a=a||{},b=1;b":">",'"':""","'":"'"},c.serialize=function(a){return null===a||void 0===a?a:("number"==typeof a?a=""+a:"object"==typeof a&&(a=JSON.stringify({data:a})),Object.keys(c.escapingMap).reduce(function(a,b){return c.replaceAll(a,b,c.escapingMap[b])},a))},c.deserialize=function(a){if("string"!=typeof a)return a;a=Object.keys(c.escapingMap).reduce(function(a,b){return c.replaceAll(a,c.escapingMap[b],b)},a);try{a=JSON.parse(a),a=void 0!==a.data?a.data:a}catch(b){}return a},c.createSvg=function(a,b,d,e){var f;return b=b||"100%",d=d||"100%",Array.prototype.slice.call(a.querySelectorAll("svg")).filter(function(a){return a.getAttributeNS(c.namespaces.xmlns,"ct")}).forEach(function(b){a.removeChild(b)}),f=new c.Svg("svg").attr({width:b,height:d}).addClass(e),f._node.style.width=b,f._node.style.height=d,a.appendChild(f._node),f},c.normalizeData=function(a,b,d){var e,f={raw:a,normalized:{}};return f.normalized.series=c.getDataArray({series:a.series||[]},b,d),e=f.normalized.series.every(function(a){return a instanceof Array})?Math.max.apply(null,f.normalized.series.map(function(a){return a.length})):f.normalized.series.length,f.normalized.labels=(a.labels||[]).slice(),Array.prototype.push.apply(f.normalized.labels,c.times(Math.max(0,e-f.normalized.labels.length)).map(function(){return""})),b&&c.reverseData(f.normalized),f},c.safeHasProperty=function(a,b){return null!==a&&"object"==typeof a&&a.hasOwnProperty(b)},c.isDataHoleValue=function(a){return null===a||void 0===a||"number"==typeof a&&isNaN(a)},c.reverseData=function(a){a.labels.reverse(),a.series.reverse();for(var b=0;bf.high&&(f.high=c),h&&c0?f.low=0:(f.high=1,f.low=0)),f},c.isNumeric=function(a){return null!==a&&isFinite(a)},c.isFalseyButZero=function(a){return!a&&0!==a},c.getNumberOrUndefined=function(a){return c.isNumeric(a)?+a:void 0},c.isMultiValue=function(a){return"object"==typeof a&&("x"in a||"y"in a)},c.getMultiValue=function(a,b){return c.isMultiValue(a)?c.getNumberOrUndefined(a[b||"y"]):c.getNumberOrUndefined(a)},c.rho=function(a){function b(a,c){return a%c===0?c:b(c,a%c)}function c(a){return a*a+1}if(1===a)return a;var d,e=2,f=2;if(a%2===0)return 2;do e=c(e)%a,f=c(c(f))%a,d=b(Math.abs(e-f),a);while(1===d);return d},c.getBounds=function(a,b,d,e){function f(a,b){return a===(a+=b)&&(a*=1+(b>0?o:-o)),a}var g,h,i,j=0,k={high:b.high,low:b.low};k.valueRange=k.high-k.low,k.oom=c.orderOfMagnitude(k.valueRange),k.step=Math.pow(10,k.oom),k.min=Math.floor(k.low/k.step)*k.step,k.max=Math.ceil(k.high/k.step)*k.step,k.range=k.max-k.min,k.numberOfSteps=Math.round(k.range/k.step);var l=c.projectLength(a,k.step,k),m=l=d)k.step=1;else if(e&&n=d)k.step=n;else for(;;){if(m&&c.projectLength(a,k.step,k)<=d)k.step*=2;else{if(m||!(c.projectLength(a,k.step/2,k)>=d))break;if(k.step/=2,e&&k.step%1!==0){k.step*=2;break}}if(j++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var o=2.221e-16;for(k.step=Math.max(k.step,o),h=k.min,i=k.max;h+k.step<=k.low;)h=f(h,k.step);for(;i-k.step>=k.high;)i=f(i,-k.step);k.min=h,k.max=i,k.range=k.max-k.min;var p=[];for(g=k.min;g<=k.max;g=f(g,k.step)){var q=c.roundWithPrecision(g);q!==p[p.length-1]&&p.push(q)}return k.values=p,k},c.polarToCartesian=function(a,b,c,d){var e=(d-90)*Math.PI/180;return{x:a+c*Math.cos(e),y:b+c*Math.sin(e)}},c.createChartRect=function(a,b,d){var e=!(!b.axisX&&!b.axisY),f=e?b.axisY.offset:0,g=e?b.axisX.offset:0,h=a.width()||c.quantity(b.width).value||0,i=a.height()||c.quantity(b.height).value||0,j=c.normalizePadding(b.chartPadding,d);h=Math.max(h,f+j.left+j.right),i=Math.max(i,g+j.top+j.bottom);var k={padding:j,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return e?("start"===b.axisX.position?(k.y2=j.top+g,k.y1=Math.max(i-j.bottom,k.y2+1)):(k.y2=j.top,k.y1=Math.max(i-j.bottom-g,k.y2+1)),"start"===b.axisY.position?(k.x1=j.left+f,k.x2=Math.max(h-j.right,k.x1+1)):(k.x1=j.left,k.x2=Math.max(h-j.right-f,k.x1+1))):(k.x1=j.left,k.x2=Math.max(h-j.right,k.x1+1),k.y2=j.top,k.y1=Math.max(i-j.bottom,k.y2+1)),k},c.createGrid=function(a,b,d,e,f,g,h,i){var j={};j[d.units.pos+"1"]=a,j[d.units.pos+"2"]=a,j[d.counterUnits.pos+"1"]=e,j[d.counterUnits.pos+"2"]=e+f;var k=g.elem("line",j,h.join(" "));i.emit("draw",c.extend({type:"grid",axis:d,index:b,group:g,element:k},j))},c.createGridBackground=function(a,b,c,d){var e=a.elem("rect",{x:b.x1,y:b.y2,width:b.width(),height:b.height()},c,!0);d.emit("draw",{type:"gridBackground",group:a,element:e})},c.createLabel=function(a,d,e,f,g,h,i,j,k,l,m){var n,o={};if(o[g.units.pos]=a+i[g.units.pos],o[g.counterUnits.pos]=i[g.counterUnits.pos],o[g.units.len]=d,o[g.counterUnits.len]=Math.max(0,h-10),l){var p=b.createElement("span");p.className=k.join(" "),p.setAttribute("xmlns",c.namespaces.xhtml),p.innerText=f[e],p.style[g.units.len]=Math.round(o[g.units.len])+"px",p.style[g.counterUnits.len]=Math.round(o[g.counterUnits.len])+"px",n=j.foreignObject(p,c.extend({style:"overflow: visible;"},o))}else n=j.elem("text",o,k.join(" ")).text(f[e]);m.emit("draw",c.extend({type:"label",axis:g,index:e,group:j,element:n,text:f[e]},o))},c.getSeriesOption=function(a,b,c){if(a.name&&b.series&&b.series[a.name]){var d=b.series[a.name];return d.hasOwnProperty(c)?d[c]:b[c]}return b[c]},c.optionsProvider=function(b,d,e){function f(b){var f=h;if(h=c.extend({},j),d)for(i=0;i=2&&a[h]<=a[h-2]&&(g=!0),g&&(f.push({pathCoordinates:[],valueData:[]}),g=!1),f[f.length-1].pathCoordinates.push(a[h],a[h+1]),f[f.length-1].valueData.push(b[h/2]));return f}}(window,document,a),function(a,b,c){"use strict";c.Interpolation={},c.Interpolation.none=function(a){var b={fillHoles:!1};return a=c.extend({},b,a),function(b,d){for(var e=new c.Svg.Path,f=!0,g=0;g1){var i=[];return h.forEach(function(a){i.push(f(a.pathCoordinates,a.valueData))}),c.Svg.Path.join(i)}if(b=h[0].pathCoordinates,g=h[0].valueData,b.length<=4)return c.Interpolation.none()(b,g);for(var j,k=(new c.Svg.Path).move(b[0],b[1],!1,g[0]),l=0,m=b.length;m-2*!j>l;l+=2){var n=[{x:+b[l-2],y:+b[l-1]},{x:+b[l],y:+b[l+1]},{x:+b[l+2],y:+b[l+3]},{x:+b[l+4],y:+b[l+5]}];j?l?m-4===l?n[3]={x:+b[0],y:+b[1]}:m-2===l&&(n[2]={x:+b[0],y:+b[1]},n[3]={x:+b[2],y:+b[3]}):n[0]={x:+b[m-2],y:+b[m-1]}:m-4===l?n[3]=n[2]:l||(n[0]={x:+b[l],y:+b[l+1]}),k.curve(d*(-n[0].x+6*n[1].x+n[2].x)/6+e*n[2].x,d*(-n[0].y+6*n[1].y+n[2].y)/6+e*n[2].y,d*(n[1].x+6*n[2].x-n[3].x)/6+e*n[2].x,d*(n[1].y+6*n[2].y-n[3].y)/6+e*n[2].y,n[2].x,n[2].y,!1,g[(l+2)/2])}return k}return c.Interpolation.none()([])}},c.Interpolation.monotoneCubic=function(a){var b={fillHoles:!1};return a=c.extend({},b,a),function d(b,e){var f=c.splitIntoSegments(b,e,{fillHoles:a.fillHoles,increasingX:!0});if(f.length){if(f.length>1){var g=[];return f.forEach(function(a){g.push(d(a.pathCoordinates,a.valueData))}),c.Svg.Path.join(g)}if(b=f[0].pathCoordinates,e=f[0].valueData,b.length<=4)return c.Interpolation.none()(b,e);var h,i,j=[],k=[],l=b.length/2,m=[],n=[],o=[],p=[];for(h=0;h0!=n[h]>0?m[h]=0:(m[h]=3*(p[h-1]+p[h])/((2*p[h]+p[h-1])/n[h-1]+(p[h]+2*p[h-1])/n[h]),isFinite(m[h])||(m[h]=0));for(i=(new c.Svg.Path).move(j[0],k[0],!1,e[0]),h=0;h1}).map(function(a){var b=a.pathElements[0],c=a.pathElements[a.pathElements.length-1];return a.clone(!0).position(0).remove(1).move(b.x,r).line(b.x,b.y).position(a.pathElements.length+1).line(c.x,r)}).forEach(function(c){var h=i.elem("path",{d:c.stringify()},a.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:b.normalized.series[g],path:c.clone(),series:f,seriesIndex:g,axisX:d,axisY:e,chartRect:j,index:g,group:i,element:h})}.bind(this))}}.bind(this)),this.eventEmitter.emit("created",{bounds:e.bounds,chartRect:j,axisX:d,axisY:e,svg:this.svg,options:a})}function e(a,b,d,e){c.Line["super"].constructor.call(this,a,b,f,c.extend({},f,d),e)}var f={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};c.Line=c.Base.extend({constructor:e,createChart:d})}(window,document,a),function(a,b,c){"use strict";function d(a){var b,d;a.distributeSeries?(b=c.normalizeData(this.data,a.reverseData,a.horizontalBars?"x":"y"),b.normalized.series=b.normalized.series.map(function(a){return[a]})):b=c.normalizeData(this.data,a.reverseData,a.horizontalBars?"x":"y"),this.svg=c.createSvg(this.container,a.width,a.height,a.classNames.chart+(a.horizontalBars?" "+a.classNames.horizontalBars:""));var e=this.svg.elem("g").addClass(a.classNames.gridGroup),g=this.svg.elem("g"),h=this.svg.elem("g").addClass(a.classNames.labelGroup);if(a.stackBars&&0!==b.normalized.series.length){var i=c.serialMap(b.normalized.series,function(){
    return Array.prototype.slice.call(arguments).map(function(a){return a}).reduce(function(a,b){return{x:a.x+(b&&b.x)||0,y:a.y+(b&&b.y)||0}},{x:0,y:0})});d=c.getHighLow([i],a,a.horizontalBars?"x":"y")}else d=c.getHighLow(b.normalized.series,a,a.horizontalBars?"x":"y");d.high=+a.high||(0===a.high?0:d.high),d.low=+a.low||(0===a.low?0:d.low);var j,k,l,m,n,o=c.createChartRect(this.svg,a,f.padding);k=a.distributeSeries&&a.stackBars?b.normalized.labels.slice(0,1):b.normalized.labels,a.horizontalBars?(j=m=void 0===a.axisX.type?new c.AutoScaleAxis(c.Axis.units.x,b.normalized.series,o,c.extend({},a.axisX,{highLow:d,referenceValue:0})):a.axisX.type.call(c,c.Axis.units.x,b.normalized.series,o,c.extend({},a.axisX,{highLow:d,referenceValue:0})),l=n=void 0===a.axisY.type?new c.StepAxis(c.Axis.units.y,b.normalized.series,o,{ticks:k}):a.axisY.type.call(c,c.Axis.units.y,b.normalized.series,o,a.axisY)):(l=m=void 0===a.axisX.type?new c.StepAxis(c.Axis.units.x,b.normalized.series,o,{ticks:k}):a.axisX.type.call(c,c.Axis.units.x,b.normalized.series,o,a.axisX),j=n=void 0===a.axisY.type?new c.AutoScaleAxis(c.Axis.units.y,b.normalized.series,o,c.extend({},a.axisY,{highLow:d,referenceValue:0})):a.axisY.type.call(c,c.Axis.units.y,b.normalized.series,o,c.extend({},a.axisY,{highLow:d,referenceValue:0})));var p=a.horizontalBars?o.x1+j.projectValue(0):o.y1-j.projectValue(0),q=[];l.createGridAndLabels(e,h,this.supportsForeignObject,a,this.eventEmitter),j.createGridAndLabels(e,h,this.supportsForeignObject,a,this.eventEmitter),a.showGridBackground&&c.createGridBackground(e,o,a.classNames.gridBackground,this.eventEmitter),b.raw.series.forEach(function(d,e){var f,h,i=e-(b.raw.series.length-1)/2;f=a.distributeSeries&&!a.stackBars?l.axisLength/b.normalized.series.length/2:a.distributeSeries&&a.stackBars?l.axisLength/2:l.axisLength/b.normalized.series[e].length/2,h=g.elem("g"),h.attr({"ct:series-name":d.name,"ct:meta":c.serialize(d.meta)}),h.addClass([a.classNames.series,d.className||a.classNames.series+"-"+c.alphaNumerate(e)].join(" ")),b.normalized.series[e].forEach(function(g,k){var r,s,t,u;if(u=a.distributeSeries&&!a.stackBars?e:a.distributeSeries&&a.stackBars?0:k,r=a.horizontalBars?{x:o.x1+j.projectValue(g&&g.x?g.x:0,k,b.normalized.series[e]),y:o.y1-l.projectValue(g&&g.y?g.y:0,u,b.normalized.series[e])}:{x:o.x1+l.projectValue(g&&g.x?g.x:0,u,b.normalized.series[e]),y:o.y1-j.projectValue(g&&g.y?g.y:0,k,b.normalized.series[e])},l instanceof c.StepAxis&&(l.options.stretch||(r[l.units.pos]+=f*(a.horizontalBars?-1:1)),r[l.units.pos]+=a.stackBars||a.distributeSeries?0:i*a.seriesBarDistance*(a.horizontalBars?-1:1)),t=q[k]||p,q[k]=t-(p-r[l.counterUnits.pos]),void 0!==g){var v={};v[l.units.pos+"1"]=r[l.units.pos],v[l.units.pos+"2"]=r[l.units.pos],!a.stackBars||"accumulate"!==a.stackMode&&a.stackMode?(v[l.counterUnits.pos+"1"]=p,v[l.counterUnits.pos+"2"]=r[l.counterUnits.pos]):(v[l.counterUnits.pos+"1"]=t,v[l.counterUnits.pos+"2"]=q[k]),v.x1=Math.min(Math.max(v.x1,o.x1),o.x2),v.x2=Math.min(Math.max(v.x2,o.x1),o.x2),v.y1=Math.min(Math.max(v.y1,o.y2),o.y1),v.y2=Math.min(Math.max(v.y2,o.y2),o.y1);var w=c.getMetaData(d,k);s=h.elem("line",v,a.classNames.bar).attr({"ct:value":[g.x,g.y].filter(c.isNumeric).join(","),"ct:meta":c.serialize(w)}),this.eventEmitter.emit("draw",c.extend({type:"bar",value:g,index:k,meta:w,series:d,seriesIndex:e,axisX:m,axisY:n,chartRect:o,group:h,element:s},v))}}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:j.bounds,chartRect:o,axisX:m,axisY:n,svg:this.svg,options:a})}function e(a,b,d,e){c.Bar["super"].constructor.call(this,a,b,f,c.extend({},f,d),e)}var f={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};c.Bar=c.Base.extend({constructor:e,createChart:d})}(window,document,a),function(a,b,c){"use strict";function d(a,b,c){var d=b.x>a.x;return d&&"explode"===c||!d&&"implode"===c?"start":d&&"implode"===c||!d&&"explode"===c?"end":"middle"}function e(a){var b,e,f,h,i,j=c.normalizeData(this.data),k=[],l=a.startAngle;this.svg=c.createSvg(this.container,a.width,a.height,a.donut?a.classNames.chartDonut:a.classNames.chartPie),e=c.createChartRect(this.svg,a,g.padding),f=Math.min(e.width()/2,e.height()/2),i=a.total||j.normalized.series.reduce(function(a,b){return a+b},0);var m=c.quantity(a.donutWidth);"%"===m.unit&&(m.value*=f/100),f-=a.donut&&!a.donutSolid?m.value/2:0,h="outside"===a.labelPosition||a.donut&&!a.donutSolid?f:"center"===a.labelPosition?0:a.donutSolid?f-m.value/2:f/2,h+=a.labelOffset;var n={x:e.x1+e.width()/2,y:e.y2+e.height()/2},o=1===j.raw.series.filter(function(a){return a.hasOwnProperty("value")?0!==a.value:0!==a}).length;j.raw.series.forEach(function(a,b){k[b]=this.svg.elem("g",null,null)}.bind(this)),a.showLabel&&(b=this.svg.elem("g",null,null)),j.raw.series.forEach(function(e,g){if(0!==j.normalized.series[g]||!a.ignoreEmptyValues){k[g].attr({"ct:series-name":e.name}),k[g].addClass([a.classNames.series,e.className||a.classNames.series+"-"+c.alphaNumerate(g)].join(" "));var p=i>0?l+j.normalized.series[g]/i*360:0,q=Math.max(0,l-(0===g||o?0:.2));p-q>=359.99&&(p=q+359.99);var r,s,t,u=c.polarToCartesian(n.x,n.y,f,q),v=c.polarToCartesian(n.x,n.y,f,p),w=new c.Svg.Path(!a.donut||a.donutSolid).move(v.x,v.y).arc(f,f,0,p-l>180,0,u.x,u.y);a.donut?a.donutSolid&&(t=f-m.value,r=c.polarToCartesian(n.x,n.y,t,l-(0===g||o?0:.2)),s=c.polarToCartesian(n.x,n.y,t,p),w.line(r.x,r.y),w.arc(t,t,0,p-l>180,1,s.x,s.y)):w.line(n.x,n.y);var x=a.classNames.slicePie;a.donut&&(x=a.classNames.sliceDonut,a.donutSolid&&(x=a.classNames.sliceDonutSolid));var y=k[g].elem("path",{d:w.stringify()},x);if(y.attr({"ct:value":j.normalized.series[g],"ct:meta":c.serialize(e.meta)}),a.donut&&!a.donutSolid&&(y._node.style.strokeWidth=m.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:j.normalized.series[g],totalDataSum:i,index:g,meta:e.meta,series:e,group:k[g],element:y,path:w.clone(),center:n,radius:f,startAngle:l,endAngle:p}),a.showLabel){var z;z=1===j.raw.series.length?{x:n.x,y:n.y}:c.polarToCartesian(n.x,n.y,h,l+(p-l)/2);var A;A=j.normalized.labels&&!c.isFalseyButZero(j.normalized.labels[g])?j.normalized.labels[g]:j.normalized.series[g];var B=a.labelInterpolationFnc(A,g);if(B||0===B){var C=b.elem("text",{dx:z.x,dy:z.y,"text-anchor":d(n,z,a.labelDirection)},a.classNames.label).text(""+B);this.eventEmitter.emit("draw",{type:"label",index:g,group:b,element:C,text:""+B,x:z.x,y:z.y})}}l=p}}.bind(this)),this.eventEmitter.emit("created",{chartRect:e,svg:this.svg,options:a})}function f(a,b,d,e){c.Pie["super"].constructor.call(this,a,b,g,c.extend({},g,d),e)}var g={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:c.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1};c.Pie=c.Base.extend({constructor:f,createChart:e,determineAnchorPosition:d})}(window,document,a),a});
    
    !function(a,b){"function"==typeof define&&define.amd?define("Chartist",[],function(){return a.Chartist=b()}):"object"==typeof module&&module.exports?module.exports=b():a.Chartist=b()}(this,function(){var a={version:"0.11.0"};return function(a,b,c){"use strict";c.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},c.noop=function(a){return a},c.alphaNumerate=function(a){return String.fromCharCode(97+a%26)},c.extend=function(a){var b,d,e;for(a=a||{},b=1;b":">",'"':""","'":"'"},c.serialize=function(a){return null===a||void 0===a?a:("number"==typeof a?a=""+a:"object"==typeof a&&(a=JSON.stringify({data:a})),Object.keys(c.escapingMap).reduce(function(a,b){return c.replaceAll(a,b,c.escapingMap[b])},a))},c.deserialize=function(a){if("string"!=typeof a)return a;a=Object.keys(c.escapingMap).reduce(function(a,b){return c.replaceAll(a,c.escapingMap[b],b)},a);try{a=JSON.parse(a),a=void 0!==a.data?a.data:a}catch(b){}return a},c.createSvg=function(a,b,d,e){var f;return b=b||"100%",d=d||"100%",Array.prototype.slice.call(a.querySelectorAll("svg")).filter(function(a){return a.getAttributeNS(c.namespaces.xmlns,"ct")}).forEach(function(b){a.removeChild(b)}),f=new c.Svg("svg").attr({width:b,height:d}).addClass(e),f._node.style.width=b,f._node.style.height=d,a.appendChild(f._node),f},c.normalizeData=function(a,b,d){var e,f={raw:a,normalized:{}};return f.normalized.series=c.getDataArray({series:a.series||[]},b,d),e=f.normalized.series.every(function(a){return a instanceof Array})?Math.max.apply(null,f.normalized.series.map(function(a){return a.length})):f.normalized.series.length,f.normalized.labels=(a.labels||[]).slice(),Array.prototype.push.apply(f.normalized.labels,c.times(Math.max(0,e-f.normalized.labels.length)).map(function(){return""})),b&&c.reverseData(f.normalized),f},c.safeHasProperty=function(a,b){return null!==a&&"object"==typeof a&&a.hasOwnProperty(b)},c.isDataHoleValue=function(a){return null===a||void 0===a||"number"==typeof a&&isNaN(a)},c.reverseData=function(a){a.labels.reverse(),a.series.reverse();for(var b=0;bf.high&&(f.high=c),h&&c0?f.low=0:(f.high=1,f.low=0)),f},c.isNumeric=function(a){return null!==a&&isFinite(a)},c.isFalseyButZero=function(a){return!a&&0!==a},c.getNumberOrUndefined=function(a){return c.isNumeric(a)?+a:void 0},c.isMultiValue=function(a){return"object"==typeof a&&("x"in a||"y"in a)},c.getMultiValue=function(a,b){return c.isMultiValue(a)?c.getNumberOrUndefined(a[b||"y"]):c.getNumberOrUndefined(a)},c.rho=function(a){function b(a,c){return a%c===0?c:b(c,a%c)}function c(a){return a*a+1}if(1===a)return a;var d,e=2,f=2;if(a%2===0)return 2;do e=c(e)%a,f=c(c(f))%a,d=b(Math.abs(e-f),a);while(1===d);return d},c.getBounds=function(a,b,d,e){function f(a,b){return a===(a+=b)&&(a*=1+(b>0?o:-o)),a}var g,h,i,j=0,k={high:b.high,low:b.low};k.valueRange=k.high-k.low,k.oom=c.orderOfMagnitude(k.valueRange),k.step=Math.pow(10,k.oom),k.min=Math.floor(k.low/k.step)*k.step,k.max=Math.ceil(k.high/k.step)*k.step,k.range=k.max-k.min,k.numberOfSteps=Math.round(k.range/k.step);var l=c.projectLength(a,k.step,k),m=l=d)k.step=1;else if(e&&n=d)k.step=n;else for(;;){if(m&&c.projectLength(a,k.step,k)<=d)k.step*=2;else{if(m||!(c.projectLength(a,k.step/2,k)>=d))break;if(k.step/=2,e&&k.step%1!==0){k.step*=2;break}}if(j++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var o=2.221e-16;for(k.step=Math.max(k.step,o),h=k.min,i=k.max;h+k.step<=k.low;)h=f(h,k.step);for(;i-k.step>=k.high;)i=f(i,-k.step);k.min=h,k.max=i,k.range=k.max-k.min;var p=[];for(g=k.min;g<=k.max;g=f(g,k.step)){var q=c.roundWithPrecision(g);q!==p[p.length-1]&&p.push(q)}return k.values=p,k},c.polarToCartesian=function(a,b,c,d){var e=(d-90)*Math.PI/180;return{x:a+c*Math.cos(e),y:b+c*Math.sin(e)}},c.createChartRect=function(a,b,d){var e=!(!b.axisX&&!b.axisY),f=e?b.axisY.offset:0,g=e?b.axisX.offset:0,h=a.width()||c.quantity(b.width).value||0,i=a.height()||c.quantity(b.height).value||0,j=c.normalizePadding(b.chartPadding,d);h=Math.max(h,f+j.left+j.right),i=Math.max(i,g+j.top+j.bottom);var k={padding:j,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return e?("start"===b.axisX.position?(k.y2=j.top+g,k.y1=Math.max(i-j.bottom,k.y2+1)):(k.y2=j.top,k.y1=Math.max(i-j.bottom-g,k.y2+1)),"start"===b.axisY.position?(k.x1=j.left+f,k.x2=Math.max(h-j.right,k.x1+1)):(k.x1=j.left,k.x2=Math.max(h-j.right-f,k.x1+1))):(k.x1=j.left,k.x2=Math.max(h-j.right,k.x1+1),k.y2=j.top,k.y1=Math.max(i-j.bottom,k.y2+1)),k},c.createGrid=function(a,b,d,e,f,g,h,i){var j={};j[d.units.pos+"1"]=a,j[d.units.pos+"2"]=a,j[d.counterUnits.pos+"1"]=e,j[d.counterUnits.pos+"2"]=e+f;var k=g.elem("line",j,h.join(" "));i.emit("draw",c.extend({type:"grid",axis:d,index:b,group:g,element:k},j))},c.createGridBackground=function(a,b,c,d){var e=a.elem("rect",{x:b.x1,y:b.y2,width:b.width(),height:b.height()},c,!0);d.emit("draw",{type:"gridBackground",group:a,element:e})},c.createLabel=function(a,d,e,f,g,h,i,j,k,l,m){var n,o={};if(o[g.units.pos]=a+i[g.units.pos],o[g.counterUnits.pos]=i[g.counterUnits.pos],o[g.units.len]=d,o[g.counterUnits.len]=Math.max(0,h-10),l){var p=b.createElement("span");p.className=k.join(" "),p.setAttribute("xmlns",c.namespaces.xhtml),p.innerText=f[e],p.style[g.units.len]=Math.round(o[g.units.len])+"px",p.style[g.counterUnits.len]=Math.round(o[g.counterUnits.len])+"px",n=j.foreignObject(p,c.extend({style:"overflow: visible;"},o))}else n=j.elem("text",o,k.join(" ")).text(f[e]);m.emit("draw",c.extend({type:"label",axis:g,index:e,group:j,element:n,text:f[e]},o))},c.getSeriesOption=function(a,b,c){if(a.name&&b.series&&b.series[a.name]){var d=b.series[a.name];return d.hasOwnProperty(c)?d[c]:b[c]}return b[c]},c.optionsProvider=function(b,d,e){function f(b){var f=h;if(h=c.extend({},j),d)for(i=0;i=2&&a[h]<=a[h-2]&&(g=!0),g&&(f.push({pathCoordinates:[],valueData:[]}),g=!1),f[f.length-1].pathCoordinates.push(a[h],a[h+1]),f[f.length-1].valueData.push(b[h/2]));return f}}(window,document,a),function(a,b,c){"use strict";c.Interpolation={},c.Interpolation.none=function(a){var b={fillHoles:!1};return a=c.extend({},b,a),function(b,d){for(var e=new c.Svg.Path,f=!0,g=0;g1){var i=[];return h.forEach(function(a){i.push(f(a.pathCoordinates,a.valueData))}),c.Svg.Path.join(i)}if(b=h[0].pathCoordinates,g=h[0].valueData,b.length<=4)return c.Interpolation.none()(b,g);for(var j,k=(new c.Svg.Path).move(b[0],b[1],!1,g[0]),l=0,m=b.length;m-2*!j>l;l+=2){var n=[{x:+b[l-2],y:+b[l-1]},{x:+b[l],y:+b[l+1]},{x:+b[l+2],y:+b[l+3]},{x:+b[l+4],y:+b[l+5]}];j?l?m-4===l?n[3]={x:+b[0],y:+b[1]}:m-2===l&&(n[2]={x:+b[0],y:+b[1]},n[3]={x:+b[2],y:+b[3]}):n[0]={x:+b[m-2],y:+b[m-1]}:m-4===l?n[3]=n[2]:l||(n[0]={x:+b[l],y:+b[l+1]}),k.curve(d*(-n[0].x+6*n[1].x+n[2].x)/6+e*n[2].x,d*(-n[0].y+6*n[1].y+n[2].y)/6+e*n[2].y,d*(n[1].x+6*n[2].x-n[3].x)/6+e*n[2].x,d*(n[1].y+6*n[2].y-n[3].y)/6+e*n[2].y,n[2].x,n[2].y,!1,g[(l+2)/2])}return k}return c.Interpolation.none()([])}},c.Interpolation.monotoneCubic=function(a){var b={fillHoles:!1};return a=c.extend({},b,a),function d(b,e){var f=c.splitIntoSegments(b,e,{fillHoles:a.fillHoles,increasingX:!0});if(f.length){if(f.length>1){var g=[];return f.forEach(function(a){g.push(d(a.pathCoordinates,a.valueData))}),c.Svg.Path.join(g)}if(b=f[0].pathCoordinates,e=f[0].valueData,b.length<=4)return c.Interpolation.none()(b,e);var h,i,j=[],k=[],l=b.length/2,m=[],n=[],o=[],p=[];for(h=0;h0!=n[h]>0?m[h]=0:(m[h]=3*(p[h-1]+p[h])/((2*p[h]+p[h-1])/n[h-1]+(p[h]+2*p[h-1])/n[h]),isFinite(m[h])||(m[h]=0));for(i=(new c.Svg.Path).move(j[0],k[0],!1,e[0]),h=0;h1}).map(function(a){var b=a.pathElements[0],c=a.pathElements[a.pathElements.length-1];return a.clone(!0).position(0).remove(1).move(b.x,r).line(b.x,b.y).position(a.pathElements.length+1).line(c.x,r)}).forEach(function(c){var h=i.elem("path",{d:c.stringify()},a.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:b.normalized.series[g],path:c.clone(),series:f,seriesIndex:g,axisX:d,axisY:e,chartRect:j,index:g,group:i,element:h})}.bind(this))}}.bind(this)),this.eventEmitter.emit("created",{bounds:e.bounds,chartRect:j,axisX:d,axisY:e,svg:this.svg,options:a})}function e(a,b,d,e){c.Line["super"].constructor.call(this,a,b,f,c.extend({},f,d),e)}var f={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};c.Line=c.Base.extend({constructor:e,createChart:d})}(window,document,a),function(a,b,c){"use strict";function d(a){var b,d;a.distributeSeries?(b=c.normalizeData(this.data,a.reverseData,a.horizontalBars?"x":"y"),b.normalized.series=b.normalized.series.map(function(a){return[a]})):b=c.normalizeData(this.data,a.reverseData,a.horizontalBars?"x":"y"),this.svg=c.createSvg(this.container,a.width,a.height,a.classNames.chart+(a.horizontalBars?" "+a.classNames.horizontalBars:""));var e=this.svg.elem("g").addClass(a.classNames.gridGroup),g=this.svg.elem("g"),h=this.svg.elem("g").addClass(a.classNames.labelGroup);if(a.stackBars&&0!==b.normalized.series.length){var i=c.serialMap(b.normalized.series,function(){
    return Array.prototype.slice.call(arguments).map(function(a){return a}).reduce(function(a,b){return{x:a.x+(b&&b.x)||0,y:a.y+(b&&b.y)||0}},{x:0,y:0})});d=c.getHighLow([i],a,a.horizontalBars?"x":"y")}else d=c.getHighLow(b.normalized.series,a,a.horizontalBars?"x":"y");d.high=+a.high||(0===a.high?0:d.high),d.low=+a.low||(0===a.low?0:d.low);var j,k,l,m,n,o=c.createChartRect(this.svg,a,f.padding);k=a.distributeSeries&&a.stackBars?b.normalized.labels.slice(0,1):b.normalized.labels,a.horizontalBars?(j=m=void 0===a.axisX.type?new c.AutoScaleAxis(c.Axis.units.x,b.normalized.series,o,c.extend({},a.axisX,{highLow:d,referenceValue:0})):a.axisX.type.call(c,c.Axis.units.x,b.normalized.series,o,c.extend({},a.axisX,{highLow:d,referenceValue:0})),l=n=void 0===a.axisY.type?new c.StepAxis(c.Axis.units.y,b.normalized.series,o,{ticks:k}):a.axisY.type.call(c,c.Axis.units.y,b.normalized.series,o,a.axisY)):(l=m=void 0===a.axisX.type?new c.StepAxis(c.Axis.units.x,b.normalized.series,o,{ticks:k}):a.axisX.type.call(c,c.Axis.units.x,b.normalized.series,o,a.axisX),j=n=void 0===a.axisY.type?new c.AutoScaleAxis(c.Axis.units.y,b.normalized.series,o,c.extend({},a.axisY,{highLow:d,referenceValue:0})):a.axisY.type.call(c,c.Axis.units.y,b.normalized.series,o,c.extend({},a.axisY,{highLow:d,referenceValue:0})));var p=a.horizontalBars?o.x1+j.projectValue(0):o.y1-j.projectValue(0),q=[];l.createGridAndLabels(e,h,this.supportsForeignObject,a,this.eventEmitter),j.createGridAndLabels(e,h,this.supportsForeignObject,a,this.eventEmitter),a.showGridBackground&&c.createGridBackground(e,o,a.classNames.gridBackground,this.eventEmitter),b.raw.series.forEach(function(d,e){var f,h,i=e-(b.raw.series.length-1)/2;f=a.distributeSeries&&!a.stackBars?l.axisLength/b.normalized.series.length/2:a.distributeSeries&&a.stackBars?l.axisLength/2:l.axisLength/b.normalized.series[e].length/2,h=g.elem("g"),h.attr({"ct:series-name":d.name,"ct:meta":c.serialize(d.meta)}),h.addClass([a.classNames.series,d.className||a.classNames.series+"-"+c.alphaNumerate(e)].join(" ")),b.normalized.series[e].forEach(function(g,k){var r,s,t,u;if(u=a.distributeSeries&&!a.stackBars?e:a.distributeSeries&&a.stackBars?0:k,r=a.horizontalBars?{x:o.x1+j.projectValue(g&&g.x?g.x:0,k,b.normalized.series[e]),y:o.y1-l.projectValue(g&&g.y?g.y:0,u,b.normalized.series[e])}:{x:o.x1+l.projectValue(g&&g.x?g.x:0,u,b.normalized.series[e]),y:o.y1-j.projectValue(g&&g.y?g.y:0,k,b.normalized.series[e])},l instanceof c.StepAxis&&(l.options.stretch||(r[l.units.pos]+=f*(a.horizontalBars?-1:1)),r[l.units.pos]+=a.stackBars||a.distributeSeries?0:i*a.seriesBarDistance*(a.horizontalBars?-1:1)),t=q[k]||p,q[k]=t-(p-r[l.counterUnits.pos]),void 0!==g){var v={};v[l.units.pos+"1"]=r[l.units.pos],v[l.units.pos+"2"]=r[l.units.pos],!a.stackBars||"accumulate"!==a.stackMode&&a.stackMode?(v[l.counterUnits.pos+"1"]=p,v[l.counterUnits.pos+"2"]=r[l.counterUnits.pos]):(v[l.counterUnits.pos+"1"]=t,v[l.counterUnits.pos+"2"]=q[k]),v.x1=Math.min(Math.max(v.x1,o.x1),o.x2),v.x2=Math.min(Math.max(v.x2,o.x1),o.x2),v.y1=Math.min(Math.max(v.y1,o.y2),o.y1),v.y2=Math.min(Math.max(v.y2,o.y2),o.y1);var w=c.getMetaData(d,k);s=h.elem("line",v,a.classNames.bar).attr({"ct:value":[g.x,g.y].filter(c.isNumeric).join(","),"ct:meta":c.serialize(w)}),this.eventEmitter.emit("draw",c.extend({type:"bar",value:g,index:k,meta:w,series:d,seriesIndex:e,axisX:m,axisY:n,chartRect:o,group:h,element:s},v))}}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:j.bounds,chartRect:o,axisX:m,axisY:n,svg:this.svg,options:a})}function e(a,b,d,e){c.Bar["super"].constructor.call(this,a,b,f,c.extend({},f,d),e)}var f={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:c.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};c.Bar=c.Base.extend({constructor:e,createChart:d})}(window,document,a),function(a,b,c){"use strict";function d(a,b,c){var d=b.x>a.x;return d&&"explode"===c||!d&&"implode"===c?"start":d&&"implode"===c||!d&&"explode"===c?"end":"middle"}function e(a){var b,e,f,h,i,j=c.normalizeData(this.data),k=[],l=a.startAngle;this.svg=c.createSvg(this.container,a.width,a.height,a.donut?a.classNames.chartDonut:a.classNames.chartPie),e=c.createChartRect(this.svg,a,g.padding),f=Math.min(e.width()/2,e.height()/2),i=a.total||j.normalized.series.reduce(function(a,b){return a+b},0);var m=c.quantity(a.donutWidth);"%"===m.unit&&(m.value*=f/100),f-=a.donut&&!a.donutSolid?m.value/2:0,h="outside"===a.labelPosition||a.donut&&!a.donutSolid?f:"center"===a.labelPosition?0:a.donutSolid?f-m.value/2:f/2,h+=a.labelOffset;var n={x:e.x1+e.width()/2,y:e.y2+e.height()/2},o=1===j.raw.series.filter(function(a){return a.hasOwnProperty("value")?0!==a.value:0!==a}).length;j.raw.series.forEach(function(a,b){k[b]=this.svg.elem("g",null,null)}.bind(this)),a.showLabel&&(b=this.svg.elem("g",null,null)),j.raw.series.forEach(function(e,g){if(0!==j.normalized.series[g]||!a.ignoreEmptyValues){k[g].attr({"ct:series-name":e.name}),k[g].addClass([a.classNames.series,e.className||a.classNames.series+"-"+c.alphaNumerate(g)].join(" "));var p=i>0?l+j.normalized.series[g]/i*360:0,q=Math.max(0,l-(0===g||o?0:.2));p-q>=359.99&&(p=q+359.99);var r,s,t,u=c.polarToCartesian(n.x,n.y,f,q),v=c.polarToCartesian(n.x,n.y,f,p),w=new c.Svg.Path(!a.donut||a.donutSolid).move(v.x,v.y).arc(f,f,0,p-l>180,0,u.x,u.y);a.donut?a.donutSolid&&(t=f-m.value,r=c.polarToCartesian(n.x,n.y,t,l-(0===g||o?0:.2)),s=c.polarToCartesian(n.x,n.y,t,p),w.line(r.x,r.y),w.arc(t,t,0,p-l>180,1,s.x,s.y)):w.line(n.x,n.y);var x=a.classNames.slicePie;a.donut&&(x=a.classNames.sliceDonut,a.donutSolid&&(x=a.classNames.sliceDonutSolid));var y=k[g].elem("path",{d:w.stringify()},x);if(y.attr({"ct:value":j.normalized.series[g],"ct:meta":c.serialize(e.meta)}),a.donut&&!a.donutSolid&&(y._node.style.strokeWidth=m.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:j.normalized.series[g],totalDataSum:i,index:g,meta:e.meta,series:e,group:k[g],element:y,path:w.clone(),center:n,radius:f,startAngle:l,endAngle:p}),a.showLabel){var z;z=1===j.raw.series.length?{x:n.x,y:n.y}:c.polarToCartesian(n.x,n.y,h,l+(p-l)/2);var A;A=j.normalized.labels&&!c.isFalseyButZero(j.normalized.labels[g])?j.normalized.labels[g]:j.normalized.series[g];var B=a.labelInterpolationFnc(A,g);if(B||0===B){var C=b.elem("text",{dx:z.x,dy:z.y,"text-anchor":d(n,z,a.labelDirection)},a.classNames.label).text(""+B);this.eventEmitter.emit("draw",{type:"label",index:g,group:b,element:C,text:""+B,x:z.x,y:z.y})}}l=p}}.bind(this)),this.eventEmitter.emit("created",{chartRect:e,svg:this.svg,options:a})}function f(a,b,d,e){c.Pie["super"].constructor.call(this,a,b,g,c.extend({},g,d),e)}var g={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:c.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1};c.Pie=c.Base.extend({constructor:f,createChart:e,determineAnchorPosition:d})}(window,document,a),a});
    @/lua/vehicle/extensions/tech/powertrainSensor.lua
    
    local function create(data)
    
    @/inspector/Views/ScopeChainDetailsSidebarPanel.js
    
            this._codeMirror = WI.CodeMirrorEditor.create(editorElement, {
                lineWrapping: true,
    @/lua/ge/extensions/flowgraph/manager.lua
      for _, m in ipairs({'missionReplay', 'drift', 'vehicle', 'level', 'prefab', 'timer', 'button', 'action', 'camera', 'file', 'traffic', 'mission', 'foreach', 'thread', 'ui', 'aiRecording'}) do
        self.modules[m] = require('/lua/ge/extensions/flowgraph/modules/' .. m .. 'Module').create(self)
      end
    @/lua/ge/extensions/editor/raceEditor/segments.lua
          function(data)
            local seg = data.self.path.segments:create(nil, data.segId or nil)
            data.segId = seg.id
              function(data)
                local seg = data.self.path.segments:create(nil, data.old.oldId or nil)
                seg:onDeserialized(data.old)
    @/lua/vehicle/extensions/tech/roadsSensor.lua
    
    local function create(data)
    
    @/lua/ge/extensions/gameplay/sites/parkingSpot.lua
          local rot = quatFromEuler(0, 0, self.multiSpotData.spotRotation) * self.rotOrig
          local newSpot = parkingSpotList:create(self.name .. "." .. (i + 1))
          newSpot:set(pos, rot, self.scl)
    @/lua/vehicle/htmlTexture.lua
    -- only for the own vehicle
    local function create(webViewTag, uri, width, height, fps, usagemode)
      --print('create(' .. tostring(webViewTag) .. ',' .. tostring(uri) .. ',' .. tostring(width) .. ',' .. tostring(height) .. ',' .. tostring(fps) .. ',' .. tostring(usagemode) .. ')')
    local function create(webViewTag, uri, width, height, fps, usagemode)
      --print('create(' .. tostring(webViewTag) .. ',' .. tostring(uri) .. ',' .. tostring(width) .. ',' .. tostring(height) .. ',' .. tostring(fps) .. ',' .. tostring(usagemode) .. ')')
      local usageModeID = 0
    @/lua/common/utils/pixellib.lua
    
    local function create()
      local newInstance = {}
    M.test = function()
      local pb = create()
      pb:init(250, 250)
    @/lua/ge/extensions/editor/resourceChecker/resourceUtil.lua
    local function verifyVersion(convertdata)
      verifyVersionworkJob = extensions.core_jobsystem.create(verifyVersionwork, 1, convertdata)
    end
    local function verifyDuplicate(convertdata, skipCommon)
      verifyDuplicateworkJob = extensions.core_jobsystem.create(verifyDuplicatework, 1, convertdata, skipCommon)
    end
    local function fixPID(convertdata, skipCommon)
      fixPIDworkJob = extensions.core_jobsystem.create(fixPIDwork, 1, convertdata, skipCommon)
    end
    local function checkMatTex(convertdata)
      checkMatTexworkJob = extensions.core_jobsystem.create(checkMatTexwork, 1, convertdata)
    end
    local function checkTex(convertdata)
      checkTexworkJob = extensions.core_jobsystem.create(checkTexwork, 1, convertdata)
    end
    local function checkmissingMats(convertdata)
      checkmissingMatsworkJob = extensions.core_jobsystem.create(checkmissingMatswork, 1, convertdata)
    end
    local function checkStatic()
      checkStaticworkJob = extensions.core_jobsystem.create(checkStaticwork, 1)
    end
    local function checkForest()
      checkForestworkJob = extensions.core_jobsystem.create(checkForestwork, 1)
    end
    local function checkTerrains()
      checkTerrainsworkJob = extensions.core_jobsystem.create(checkTerrainswork, 1)
    end
    local function checkUnusedMats(levelname, removal)
      checkUnusedMatsworkJob = extensions.core_jobsystem.create(checkUnusedMatswork, 1, levelname, removal)
    end
    local function checkUsedMats(levelname, removal)
      checkUsedMatsworkJob = extensions.core_jobsystem.create(checkUsedMatswork, 1, levelname)
    end
    local function checkColData(levelname, removal)
      checkColDataworkJob = extensions.core_jobsystem.create(checkColDatawork, 1, levelname)
    end
    local function checkUnusedModels(levelname, removal)
      checkUnusedModelsworkJob = extensions.core_jobsystem.create(checkUnusedModelswork, 1, levelname, removal)
    end
    local function unusedTextures(levelname, removal)
      unusedTexturesworkJob = extensions.core_jobsystem.create(unusedTextureswork, 1, levelname, removal)
    end
    local function removeUnused(levelname, item, selected)
      removeUnusedworkJob = extensions.core_jobsystem.create(removeUnusedwork, 1, levelname, item, selected)
    end
    local function duplicateData(material)
      duplicateDataworkJob = extensions.core_jobsystem.create(duplicateDatawork, 1, material)
    end
    local function removeDummy(convertdata, skipCommon)
      removeDummyworkJob = extensions.core_jobsystem.create(removeDummywork, 1, convertdata, skipCommon)
    end
    local function textureExporter(convertdata, exportpath)
      textureExporterworkJob = extensions.core_jobsystem.create(textureExporterwork, 1, convertdata, exportpath)
    end
    local function assetStats(levelname)
      assetStatsworkJob = extensions.core_jobsystem.create(assetStatswork, 1, levelname)
    end
    @/lua/vehicle/extensions/tech/idealRADARSensor.lua
    
    local function create(data)
    
    @/lua/ge/extensions/editor/raceEditor.lua
                if pn.hasNormal and (pn.recovery == -1 or newPath.startPositions.objects[pn.recovery].missing) then
                  local sp = newPath.startPositions:create()
                  sp:set(pn.pos, quatFromDir(pn.normal):normalized())
    
                  local spr = newPath.startPositions:create()
                  spr:set(pn.pos, quatFromDir(pn.normal*-1):normalized())
    @/lua/ge/extensions/gameplay/markers/missionMarker.lua
    local function dateSort(a,b) return tonumber(a.data.date) > tonumber(b.data.date) end
    local function create(...)
      local o = {}
    @/lua/vehicle/controller/etkGauges.lua
        if htmlPath then
          htmlTexture.create(gaugesScreenName, htmlPath, width, height, updateFPS, "automatic")
        else
    @/lua/ge/extensions/gameplay/garageMode.lua
    local function setCamera(preset)
      core_jobsystem.create(setCameraInJob, nil, preset)
    end
    local function testVehicle()
      core_jobsystem.create(startTestWorkitem)
    end
    @/lua/ge/extensions/career/modules/vehiclePerformance.lua
        cancelTestRequested = nil
        core_jobsystem.create(function(job)
          util_stepHandler.startStepSequence(resetSequence, function()
        if data.triggerName == "dragEndCamTrigger" then
          core_jobsystem.create(function(job)
            job.sleep(0.1)
      if not testInProgress then return end
      core_jobsystem.create(function(job)
        job.sleep(1) -- let staging lights appear for one second before switching to launch camera
    @/inspector/Base/Utilities.js
        {
            let keys = Object.create(null);
            for (var i = 0; i < this.length; ++i)
    @/ui/ui-vue/src/utils/index.js
    
    export const _enum = obj => Object.freeze(Object.assign(Object.create(null), obj))
    @/lua/ge/extensions/gameplay/markers/inspectVehicleMarker.lua
    
    local function create(...)
      local o = {}
    @/lua/ge/extensions/flowgraph/graph.lua
    
      local node = lookup[nodeType].create(self.mgr, self, forceId, ...)
      node.nodeType = nodeType
    @/inspector/Protocol/Connection.js
            for (let [domain, agent] of Object.entries(InspectorBackend._agents)) {
                let clone = Object.create(agent);
                clone.connection = this;
            for (let [domain, agent] of Object.entries(InspectorBackend._agents)) {
                let clone = Object.create(agent);
                clone.connection = this;
    @/lua/ge/extensions/ui/vehicleSelector/vehicleOperations.lua
    -- Create button management instance
    local buttonInstance = buttonModule.create()
    
    @/lua/ge/extensions/career/modules/inspectVehicle.lua
    
      core_jobsystem.create(function(job)
        job.sleep(0.1)
    local function startInspection(vehicleInfo, teleportToVehicle)
      core_jobsystem.create(function(job)
        if testDriveInfo then
    local function repairVehicle()
      core_jobsystem.create(function(job)
        ui_fadeScreen.start(1)
    @/lua/ge/extensions/editor/sitesEditor/zones.lua
    local function createRedo(data)
      local zone = data.list:create()
      if data.id and data.list.objects[data.id] and not data.list.objects[data.id].missing then
    
    function C:create()
      editor.history:commitAction("Create Zone",
    @/lua/ge/extensions/gameplay/markers/gasStationMarker.lua
    
    local function create(...)
      local o = {}
    @/lua/common/libs/copas/copas/http.lua
        -- create socket with user connect function
        local c = socket.try(reqt:create())   -- method call, passing reqt table as self!
        local h = base.setmetatable({ c = c }, metat)
    @/lua/common/libs/luasec/ssl.lua
       -- Create the context
       ctx, msg = context.create(cfg.protocol)
       if not ctx then return nil, msg end
       end
       local s, msg = core.create(ctx)
       if s then
    @/lua/console/bananabench-async.lua
        print('starting coroutine ...')
        co = coroutine.create(benchPhysics)
    end
    @/ui/ui-vue/devutils/lint-plugin-beamng/rules/vue-template-operators.js
      },
      create(context) {
        function hasComparisonOperator(expr) {
    @/lua/ge/extensions/editor/materialEditor.lua
    
      core_jobsystem.create(mapTagsJob, 1)
    end
    
      core_jobsystem.create(mapTagsJob, 1)
    end
        im.NextColumn()
        inputText(nil, "materialTag", 0, true, nil, function() core_jobsystem.create(mapTagsJob, 1) end)
        im.NextColumn()
        im.NextColumn()
        inputText(nil, "materialTag", 1, true, nil, function() core_jobsystem.create(mapTagsJob, 1) end)
        im.NextColumn()
        im.NextColumn()
        inputText(nil, "materialTag", 2, true, nil, function() core_jobsystem.create(mapTagsJob, 1) end)
        im.NextColumn()
        editor.logInfo("Gathering tags from materials...")
        core_jobsystem.create(mapTagsJob, 1)
      end
      if editor and editor.isWindowVisible and editor.active and editor.isWindowVisible(toolWindowName) == true and oid ~= nid then
        core_jobsystem.create(mapTagsJob, 1)
        getMaterials()
      editor.hideWindow(materialsByTagsWindowName)
      core_jobsystem.create(mapTagsJob, 1)
    end
    @/lua/ge/extensions/career/modules/delivery/vehicleTasks.lua
        local message = string.format("Delivery %s abandoned. \n %0.2f$ penalty. " .. (taskData.offer.organization and "\n%d reputation lost." or ""), taskData.offer.name, -fine.money, taskData.offer.organization and -fine[taskData.offer.organization .. "Reputation"] or 0)
        core_jobsystem.create(showMessageJob, nil, message, "delivery", "local_shipping")
      end
    @/lua/common/libs/luasocket/socket/smtp.lua
        -- create and return message source
        local co = coroutine.create(function() send_message(mesgt) end)
        return function()
    @/lua/ge/extensions/gameplay/markers/parkingMarker.lua
    
    local function create(...)
      local o = {}
    @/inspector/Controllers/BreakpointPopoverController.js
    
            this._conditionCodeMirror = WI.CodeMirrorEditor.create(conditionEditorElement, {
                extraKeys: {Tab: false},
    @/lua/ge/extensions/ui/freeroamSelector/general.lua
    -- Create display data instance for gameplay selector
    local displayDataInstance = displayDataModule.create("/settings/freeroamSelectorData.json", defaultDisplayDataOptions, updateDisplayData, backendName, targetVersion)
    M.displayDataInstance = displayDataInstance
    -- Initialize filter module
    local filter = filterModule.create(createGameplayFilters, commonFilters, rangeFilters, dictFilters, backendName, gameplayPassesFilters)
    
    
    local buttonInstance = require("ge/extensions/ui/gridSelectorUtils/buttonModule").create()
    -- Details
    @/inspector/Protocol/InspectorBackend.js
            var agent = this._agentForDomain(domainName);
            agent.addCommand(InspectorBackend.Command.create(agent, qualifiedName, callSignature, replySignature));
        }
    @/inspector/External/Esprima/esprima.js
            function __() { this.constructor = d; }
            d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
        };
                    if (Object.create && Object.defineProperty) {
                        error = Object.create(base);
                        Object.defineProperty(error, 'column', { value: column });
    @/lua/ge/extensions/core/jobsystem.lua
    
    extensions.core_jobsystem.create(workItem, 1, ) -- maxdt in seconds: 1 second is good for background tasks
    ====
        fct = fct,
        t = coroutine.create(fct),
        maxdt = maxdt or 0.01,
        end
        create(fct, maxdt, unpack({...}))
      end
    @/inspector/Views/DashboardContainerView.js
            // No existing content view found, make a new one.
            dashboardView = WI.DashboardView.create(representedObject);
    
    @/inspector/Views/ConsolePrompt.js
    
            this._codeMirror = WI.CodeMirrorEditor.create(this.element, {
                lineWrapping: true,
    @/inspector/Views/BreakpointActionView.js
    
                this._codeMirror = WI.CodeMirrorEditor.create(editorElement, {
                    lineWrapping: true,
    @/inspector/Models/TimelineRecording.js
            for (let type of WI.TimelineManager.availableTimelineTypes()) {
                let timeline = WI.Timeline.create(type);
                this._timelines.set(type, timeline);
    @/lua/ge/extensions/career/modules/marketplace.lua
      guihooks.trigger('negotiationData', getNegotiationState())
      core_jobsystem.create(function(job)
        -- Use advanced patience calculation
    @/lua/ge/extensions/career/modules/inventory.lua
          -- The teleport to garage needs to happen with one frame delay because that's when the OOBBs get updated
          extensions.core_jobsystem.create(
            function (job)
    @/lua/ge/extensions/editor/api/dynamicDecals.lua
      if not decalProjection then return end
      core_jobsystem.create(setVehicleMaterialJob, 1)
    end
    @/lua/ge/extensions/render/renderViews.lua
    
      core_jobsystem.create(saveToFileJob, nil, renderView, options.filename, options.screenshotDelay, callback)
    end
    @/inspector/Views/CodeMirrorEditor.js
    {
        static create(element, options)
        {
    @/ui/lib/ext/angular/angular-animate.js
    function computeCssStyles($window, element, properties) {
      var styles = Object.create(null);
      var detectedStyles = $window.getComputedStyle(element) || {};
    function createLocalCacheLookup() {
      var cache = Object.create(null);
      return {
        flush: function() {
          cache = Object.create(null);
        },
        var keys = classString.split(ONE_SPACE);
        var map = Object.create(null);
    
    
        var callbackRegistry = Object.create(null);
    
    @/lua/console/bananabench-xml.lua
    
    function XML.create()
      local xml = {}
    local function xh(name, attribs)
        local t = XML.create()
        t.name = name
    @/lua/ge/extensions/freeroam/freeroamConfigurator.lua
    local placeholderPreview = "/ui/modules/gameContext/noPreview.jpg"
    local buttonModule = require("ge/extensions/ui/gridSelectorUtils/buttonModule").create()
    
    @/lua/ge/extensions/gameplay/taxi.lua
    local function activateMergeBlinkers(veh)
      core_jobsystem.create(function(job)
        activateSignal(veh, false)
      if value then
        core_jobsystem.create(function(job)
          previousCameraName = core_camera.getActiveCamName()
      if skipWait == nil then skipWait = false end
      core_jobsystem.create(function(job)
        freeroam_bigMapMode.exitBigMap(false, true, true)
      if newId == currentTaxiId then
        core_jobsystem.create(function(job)
          job.sleep(delayToOpenBigMap)
      if currentStep == steps.taxiDriving then
        core_jobsystem.create(function(job)
          ui_fadeScreen.start(fadeToBlackDuration)
    @/lua/ge/extensions/editor/sitesEditor/locations.lua
    local function createRedo(data)
      local loc = data.list:create()
      loc:set(data.pos, 3)
    
    function C:create(pos)
      editor.history:commitAction("Create Location",
    @/lua/ge/extensions/gameplay/race/path.lua
        if not nodeToId[cp] then
          local pn = path.pathnodes:create(cp)
          local info = extensions.scenario_scenarios.getScenario().nodes[cp]
      for i = 1, #order-1 do
        local seg = path.segments:create("Seg " .. i.."/"..(i+1))
        seg:setFrom(nodeToId[order[i]])
          if name == "" or name == nil then name = cp:getInternalName() end
          local pn = path.pathnodes:create(name)
          local rot = nil
      for i = 1, #order-1 do
        local seg = path.segments:create("Seg " .. i.."/"..(i+1))
        seg:setFrom(nodeToId[order[i]:getID()])
          if not nodeToId[cp] then
            local pn = path.pathnodes:create(cp)
            local wp = scenetree.findObject(cp)
        if not nodeToId[idx] then
          local pn = path.pathnodes:create(cp)
          local wp = scenetree.findObject(cp)
      for i = 1, #order-1 do
        local seg = path.segments:create("Seg " .. i.."/"..(i+1))
        seg:setFrom(nodeToId[order[i]])
          pos:set(pos.x, pos.y, pos.z)
          local sp = path.startPositions:create(spInfo[2])
          sp.pos = pos
      for i = 1, #self.pathnodes.sorted-1 do
        local seg = self.segments:create("Segment " .. i.."->"..(i+1))
        seg:setFrom(self.pathnodes.sorted[i].id)
    @/inspector/Views/TextEditor.js
    
            this._codeMirror = WI.CodeMirrorEditor.create(this.element, {
                readOnly: true,
    @/lua/ge/extensions/career/modules/testDrive.lua
      delay = delay or 0
      core_jobsystem.create(rtMessageJob, 1, message, delay)
    end
    
      core_jobsystem.create(endTestDriveJob, 1)
      career_career.setAutosaveEnabled(true)
    
      core_jobsystem.create(function(job)
        setActive(false)
    @/lua/ge/extensions/util/screenshotCreator.lua
      -- main thing
      workerCoroutine = coroutine.create(function()
        log('I', '', "Starting thumbnail work coroutine")
    @/lua/ge/extensions/ui/gridSelectorUtils/tilesModule.lua
    -- Constructor function
    function M.create(config)
      local instance = {}
    @/lua/ge/extensions/career/modules/vehicleShopping.lua
      local vehicleInfo = getVehicleInfoByShopId(shopId)
      core_jobsystem.create(startInspectionWorkitem, nil, vehicleInfo)
    end
      local vehicleInfo = getVehicleInfoByShopId(shopId)
      core_jobsystem.create(startInspectionWorkitem, nil, vehicleInfo, true)
    end
    @/lua/ge/extensions/editor/dynamicDecals/camera.lua
    local function setCamera(val)
      core_jobsystem.create(setCameraInJob, nil, val)
    end
    @/lua/common/libs/lua-websockets/websocket/server_copas.lua
            for client in pairs(clients) do
              coroutine.resume(coroutine.create(function ()
                client:close()
    @/lua/ge/extensions/util/saveDynamicData.lua
      log("I", logTag, "START WORK")
      testJob = extensions.core_jobsystem.create(_workMain)
    end
    @/lua/vehicle/extensions/tech/mesh.lua
    
    local function create(data)
      local decodedData = lpack.decode(data)
    @/lua/ge/extensions/core/multiSpawn.lua
      if not spawnOptions.instant then
        extensions.core_jobsystem.create(workSpawnVehicles, 0.5, spawnData, spawnOptions)
      else
      if not instant then
        extensions.core_jobsystem.create(workPlaceVehicles, 1, vehIds, transformData, options)
      else
    @/lua/ge/extensions/gameplay/drift/stuntZones/nearPole.lua
    
      core_jobsystem.create(function(job)
        job.sleep(0.1)  -- since reset a vehicle takes more than one frame, we need a hack. Otherwise the marker will remain at the pre-reset veh's position
    @/lua/ge/extensions/editor/flowgraph/nodePreview.lua
            self.lastHoverPath = self.hover.path
            self.hoverInstance = self.hover.create(self.mgr, self.dummyGraph)
          end
          end
            --self.hoverInstance = self.hover.create(self.mgr, self.hover)
          --print("Made Graph...")
    @/lua/ge/extensions/util/calibrateESC.lua
      log("I", logTag, "START WORK")
      testJob = extensions.core_jobsystem.create(_workMain)
    end
    @/inspector/Views/AuditTestCaseContentView.js
                    } else if (typeof domNode === "string") {
                        let codeMirror = WI.CodeMirrorEditor.create(dataElement.appendChild(document.createElement("code")), {
                            mode: "css",
    @/lua/ge/extensions/gameplay/markers/crawlMarker.lua
    
    local function create(...)
      local o = {}
    @/lua/vehicle/controller/gauges/genericGauges.lua
        if htmlPath then
          --htmlTexture.create(gaugesScreenName, htmlPath, width, height, updateFPS, "automatic")
          gaugeHTMLTexture = htmlTexture.new(gaugesScreenName, htmlPath, width, height, updateFPS)
    @/lua/ge/extensions/editor/crawlEditor/waypoints.lua
        function(data)
          local node = data.self.path.pathnodes:create(nil, data.nodeId or nil)
          data.nodeId = node.id
          if data.index ~= nil then
            local seg = data.self.path.segments:create(nil, data.segId or nil)
            seg:setFrom(data.index)
      if im.Button("Add Pathnode") then
        local newPathnode = trail.path.pathnodes:create()
        newPathnode:setManual(core_camera.getPosition(), 5.0, nil)
    @/lua/ge/extensions/gameplay/discover/discover_037.lua
              -- Create a job to remove the planet after 1 second
              core_jobsystem.create(function(job, dtTable)
                be:queueAllObjectLua(command)
    @/lua/vehicle/extensions/tech/GPS.lua
    
    local function create(data)
    
    @/lua/ge/extensions/ui/vehicleSelector/general.lua
    -- Create display data instance for vehicle selector
    local displayDataInstance = displayDataModule.create("/settings/vehicleSelectorData.json", defaultDisplayDataOptions, updateDisplayData, backendName, 10)
    
    -- Create filter instance for vehicle selector
    local filterInstance = filterModule.create(createVehicleFilters, commonFilters, rangeFilters, dictFilters, backendName, vehiclePassesFilters)
    
    @/ui/ui-vue/devutils/lint-plugin-beamng/rules/lua-signatures.js
    
      create(context) {
        return {
    @/lua/ge/extensions/gameplay/util/sortedList.lua
    
    function C:create(name, forceId)
      local obj = self.objectConstructor(self.parent, name, forceId)
      for _, d in ipairs(data or {}) do
        local o = self:create(d.name)
        o:onDeserialized(d, oldIdMap)
    @/lua/ge/extensions/ui/gameplaySelector/general.lua
    -- Create display data instance for gameplay selector
    local displayDataInstance = displayDataModule.create("/settings/gameplaySelectorData.json", defaultDisplayDataOptions, updateDisplayData, backendName, targetVersion)
    M.displayDataInstance = displayDataInstance
    -- Initialize filter module
    local filter = filterModule.create(createGameplayFilters, commonFilters, rangeFilters, {}, backendName, gameplayPassesFilters)
    
    
    local buttonInstance = require("ge/extensions/ui/gridSelectorUtils/buttonModule").create()
    -- Details
    @/lua/ge/extensions/core/hotlapping.lua
      if editMode and not pathData.config.closed then -- if path was edited, ensures that the config is a closed loop
        local seg = pathData.segments:create()
        local firstId = (pathData.startNode and pathData.startNode > 0) and pathData.startNode or pathData.pathnodes.sorted[1].id
    
      local pn = pathData.pathnodes:create()
      pn.pos:set(cpPos)
      if checkPointId and not pathData.pathnodes.objects[checkPointId].missing then -- creates a segment
        local seg = pathData.segments:create()
        seg:setFrom(checkPointId)
    @/lua/common/timeEvents.lua
    
    local events = require('timeEvents').create()
    
    
    function M.create()
      local data = {}
    @/lua/ge/extensions/gameplay/rally/notebook/path.lua
    
      self.codrivers:create() -- add default
    
      for _,pn in ipairs(pacenotes) do
        local newPn = self.pacenotes:create()
        newPn:onDeserialized(pn, {})
        if corner.direction ~= "" then
          local pn = self.pacenotes:create()
    
          -- Create waypoints
          local wp_cs = pn.pacenoteWaypoints:create('corner start', vec3(corner.pos))
          local wp_ce = pn.pacenoteWaypoints:create('corner end', vec3(corner.posEnd))
          local wp_cs = pn.pacenoteWaypoints:create('corner start', vec3(corner.pos))
          local wp_ce = pn.pacenoteWaypoints:create('corner end', vec3(corner.posEnd))